Function at 0x404cb8
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x73c
mov dword [ebp - 0x73c], 0
pushal
mov dword [ebp - 0x2c], 0x420108
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0x41e228
mov dword [ebp - 8], 0x43a3e1
mov dword [ebp - 0x10], 0
mov dword [0x4197be], 0
push 0
push 0x186a0
push 0x420108
call fcn.0040171c
push 0
push 0x1000
push 0x43a3e1
call fcn.0040171c
push 0
push 0x1000
push 0x41b104
call fcn.0040171c
push 0
push 0x400
lea edx, [ebp - 0x42c]
push edx
call fcn.0040171c
push 0x1c
call fcn.0040206c
mov dword [ebp - 0x20], eax
test eax, eax
je 0x404e4f
mov dword [ebp - 0x1c], 0x1c
push 0
push 5
push 2
push 1
lea edx, [ebp - 0x1c]
push edx
push dword [ebp - 0x20]
push 0
call fcn.004049a9
cmp eax, 0x7a
jne 0x404e4f
push dword [ebp - 0x20]
call fcn.00402089
push dword [ebp - 0x1c]
call fcn.0040206c
test eax, eax
je 0x404e4f
mov dword [ebp - 0x20], eax
mov esi, eax
push 0
push 5
push 2
push 1
lea edx, [ebp - 0x1c]
push edx
push dword [ebp - 0x20]
push 0
call fcn.004049a9
cmp eax, 0
jne 0x404e4f
lodsd eax, dword [esi]
mov ecx, eax
lea edi, [ebp - 0x530]
push eax
push edi
call fcn.00401789
push 0
push edi
push 0x406657
call fcn.0040267f
push ecx
mov eax, dword [esi + 0x14]
push eax
push 0
push 0x410
call dword [sym.imp.kernel32.dll_OpenProcess]
test eax, eax
je 0x404e46
mov dword [ebp - 0x18], eax
push 0x104
push edi
push 0
push eax
push 2
call fcn.0040498a
push eax
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_CloseHandle]
pop eax
test eax, eax
je 0x404e46
push edi
push 0x420108
call fcn.0040163b
je 0x404e46
push edi
lea edx, [ebp - 0x42c]
push edx
call fcn.0040163b
je 0x404e46
push 0
push edi
push 0x406665
call fcn.0040267f
push edi
push dword [ebp - 0x2c]
call fcn.004015e9
push edi
call fcn.00401769
inc eax
add dword [ebp - 0x2c], eax
add esi, 0x18
pop ecx
dec ecx
jecxz 0x404e4f
jmp 0x404dd2
cmp dword [ebp - 0x20], 0
je 0x404e5d
push dword [ebp - 0x20]
call fcn.00402089
mov ecx, dword [ebp - 0x2c]
sub ecx, 0x420108
lea esi, [ebp - 0x530]
cmp dword [0x438938], 9
jne 0x404f30
push ecx
push 0x420108
push esi
call fcn.0040242a
dec eax
jne 0x404f30
push dword [ebp - 0x24]
push esi
call fcn.00404ae8
cmp eax, 1
jne 0x404f30
mov edx, 1
mov dword [ebp - 0xc], 0x41b104
mov ecx, dword [0x419e7a]
mov esi, 0x41e228
mov dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
push edx
push esi
call fcn.00404ba7
cmp eax, 1
jne 0x404f10
push esi
push 0x41b104
call fcn.00403355
cmp eax, 1
je 0x404f10
push esi
push 0x406766
call fcn.00402029
push esi
call fcn.0040470b
cmp eax, 1
je 0x404efb
mov byte [0x4065db], 0
jmp 0x404f10
push esi
push dword [ebp - 0xc]
call fcn.004033b7
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jae 0x404f30
inc dword [ebp - 4]
push esi
call fcn.00401769
lea esi, [esi + eax + 1]
loop 0x404ebc
jmp 0x404f30
popal
cmp dword [ebp - 0x10], 0
je 0x404fd2
call fcn.00402f86
call fcn.00402f69
cmp byte [0x4065db], 0
je 0x404fc8
push 0xb000
push 0x40e7b4
lea edx, [ebp - 0x634]
push edx
call fcn.0040242a
test eax, eax
je 0x404fc8
lea edx, [ebp - 0x634]
push edx
lea edx, [ebp - 0x738]
push edx
call fcn.004015e9
mov eax, 0x5c
push eax
lea edx, [ebp - 0x634]
push edx
call fcn.0040155c
test eax, eax
je 0x404fba
inc eax
mov dword [eax], 0x7543764e
mov dword [eax + 4], 0x78652e61
mov dword [eax + 8], 0x65
lea edx, [ebp - 0x634]
push edx
lea edx, [ebp - 0x738]
push edx
call dword [sym.imp.kernel32.dll_MoveFileA]
push 0
lea edx, [ebp - 0x634]
push edx
call fcn.00404fda
mov dword [ebp - 0x73c], 1
mov eax, dword [ebp - 0x73c]
leave
ret