Function at 0x464ff0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1b
push 0
push 0
dec ecx
jne 0x464ff8
push ecx
push ebx
xor eax, eax
push ebp
push 0x465739
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2f4]
call fcn.0045eac4
test eax, eax
je 0x4656f1
xor eax, eax
push ebp
push 0x4656ea
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2f4]
mov eax, dword [eax + 0x22c]
call fcn.0045b3e4
dec eax
test eax, eax
jl 0x46515b
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2f4]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 4]
call fcn.0045b414
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov edx, 3
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0xc], 0
je 0x46514f
mov eax, dword [ebp - 0xc]
mov edx, 0x465750
call fcn.00404680
je 0x46514f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040ca00
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
call fcn.0040431c
mov eax, dword [ebp - 0xc]
call fcn.00464174
mov eax, dword [ebp - 0xc]
call fcn.00463d04
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x46514f
lea eax, [ebp - 0x2c]
mov ecx, 0x46575c
mov edx, dword [ebp - 0xc]
call fcn.00404588
mov eax, dword [ebp - 0x2c]
call fcn.00408894
test al, al
je 0x46514f
lea eax, [ebp - 0x30]
mov ecx, 0x46575c
mov edx, dword [ebp - 0xc]
call fcn.00404588
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x46514f
cmp dword [ebp - 0x18], 0
jne 0x465139
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jmp 0x46514f
mov ecx, 0x465790
mov dl, 1
mov eax, dword [0x407628]
call fcn.0040bea0
call fcn.00403ce4
inc dword [ebp - 4]
dec dword [ebp - 0x20]
jne 0x465066
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2f4]
call fcn.0045eac4
cmp eax, dword [ebp - 0x18]
je 0x4656dc
cmp dword [ebp - 0x18], 0
je 0x4653e0
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov edx, 3
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0xc]
call fcn.0040ca00
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x4657b0
call fcn.00409520
mov eax, dword [ebp - 0x38]
mov edx, 0x4657d4
call fcn.00464d18
pop ecx
lea eax, [ebp - 0x44]
mov ecx, 0x46575c
mov edx, dword [ebp - 0xc]
call fcn.00404588
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4653c0
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x50]
call fcn.004622c4
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.0040ca00
push dword [ebp - 0x4c]
push dword [ebp - 0xc]
lea ecx, [ebp - 0x54]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x54]
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.004045fc
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x1c]
call fcn.00408c50
cmp dword [ebp - 0x1c], 0
je 0x46525c
mov eax, dword [ebp - 0x1c]
call fcn.004088c8
lea ecx, [ebp - 0x58]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x58]
call fcn.00408894
test al, al
je 0x4653b4
lea ecx, [ebp - 0x60]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0xc]
call fcn.00404588
mov eax, dword [ebp - 0x5c]
call fcn.00404734
push eax
lea ecx, [ebp - 0x64]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x64]
call fcn.00404734
push eax
call sub.kernel32.dll_MoveFileA
test eax, eax
jne 0x4653b4
mov eax, dword [ebp - 4]
dec eax
test eax, eax
jl 0x46532e
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x68]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x68]
call fcn.00404734
push eax
lea ecx, [ebp - 0x70]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0xc]
call fcn.00404588
mov eax, dword [ebp - 0x6c]
call fcn.00404734
push eax
call sub.kernel32.dll_MoveFileA
inc dword [ebp - 8]
dec dword [ebp - 0x24]
jne 0x4652df
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x88]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea ecx, [ebp - 0x90]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 0xc]
call fcn.00404588
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0xb
lea edx, [ebp - 0x84]
mov ecx, 1
mov eax, 0x4657e4
call fcn.00409520
mov ecx, dword [ebp - 0x74]
mov dl, 1
mov eax, dword [0x407628]
call fcn.0040bea0
call fcn.00403ce4
inc dword [ebp - 4]
dec dword [ebp - 0x20]
jne 0x465209
lea eax, [ebp - 0x94]
mov ecx, 0x46575c
mov edx, dword [ebp - 0xc]
call fcn.00404588
mov eax, dword [ebp - 0x94]
mov dl, 1
call fcn.00463bf8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2f4]
call fcn.0045eac4
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xc]
mov edx, 3
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0xc], 0
je 0x4656dc
mov eax, dword [ebp - 0xc]
mov edx, 0x465750
call fcn.00404680
je 0x4656dc
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0xc]
call fcn.0040ca00
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0xc]
call fcn.0040431c
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x465810
call fcn.00409520
mov eax, dword [ebp - 0x9c]
mov edx, 0x4657d4
call fcn.00464d18
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push eax
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00464da4
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4656b8
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0xa4]
call fcn.004622c4
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.0040ca00
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xa8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xa8]
pop eax
call fcn.00404544
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x1c]
call fcn.00408c50
cmp dword [ebp - 0x1c], 0
je 0x465507
mov eax, dword [ebp - 0x1c]
call fcn.004088c8
lea ecx, [ebp - 0xac]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xac]
call fcn.00408894
test al, al
je 0x46554b
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xb0]
mov dl, 1
call fcn.00463bf8
lea ecx, [ebp - 0xb4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xb4]
call fcn.00404734
push eax
lea ecx, [ebp - 0xbc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0xb8]
mov edx, dword [ebp - 0xc]
call fcn.00404588
mov eax, dword [ebp - 0xb8]
call fcn.00404734
push eax
call sub.kernel32.dll_MoveFileA
test eax, eax
jne 0x4656ac
mov eax, dword [ebp - 4]
dec eax
test eax, eax
jl 0x465620
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 0
lea ecx, [ebp - 0xc4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0xc0]
mov edx, dword [ebp - 0xc]
call fcn.00404588
mov eax, dword [ebp - 0xc0]
call fcn.00404734
push eax
lea ecx, [ebp - 0xc8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xc8]
call fcn.00404734
push eax
call sub.kernel32.dll_MoveFileA
inc dword [ebp - 8]
dec dword [ebp - 0x24]
jne 0x4655bf
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xd4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
mov edx, dword [ebp - 0xc]
call fcn.00404588
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea ecx, [ebp - 0xd8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0xb
lea edx, [ebp - 0x84]
mov ecx, 1
mov eax, 0x46583c
call fcn.00409520
mov ecx, dword [ebp - 0xcc]
mov dl, 1
mov eax, dword [0x407628]
call fcn.0040bea0
call fcn.00403ce4
inc dword [ebp - 4]
dec dword [ebp - 0x20]
jne 0x4654a8
lea eax, [ebp - 0xdc]
mov ecx, 0x46575c
mov edx, dword [ebp - 0xc]
call fcn.00404588
mov edx, dword [ebp - 0xdc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4656f1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465740
lea eax, [ebp - 0xdc]
mov edx, 0x16
call fcn.004042a8
lea eax, [ebp - 0x74]
mov edx, 0xd
call fcn.004042a8
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.004042a8
lea eax, [ebp - 0x1c]
call fcn.00404284
lea eax, [ebp - 0xc]
call fcn.00404284
ret