Function at 0x4067b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a620c
mov eax, dword fs:[0]
push eax
sub esp, 0x5d0
mov eax, dword [0x4d6750]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x5d4], edi
mov esi, dword [ebp + 8]
mov edx, esi
push ecx
lea ecx, [ebp - 0x348]
call fcn.00402fa0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x406802
mov eax, dword [eax]
lea ecx, [ebp - 0x5cc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x406819
xor bl, bl
jmp 0x406838
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x5b0], 0
jne 0x406836
cmp dword [ebp - 0x5ac], 0
jne 0x406836
xor bl, bl
jmp 0x406838
mov bl, 1
cmp dword [ebp - 0x334], 8
jb 0x40684f
push dword [ebp - 0x348]
call fcn.00488361
add esp, 4
test bl, bl
jne 0x40685a
xor al, al
jmp 0x406beb
push 0x4b3104
push esi
call fcn.00488d83
add esp, 8
mov dword [ebp - 0x5d8], eax
test eax, eax
je 0x406853
push eax
call fcn.0048965b
add esp, 4
test eax, eax
jne 0x406bdb
push 0x103
lea eax, [ebp - 0x11b]
mov byte [ebp - 0x11c], 0
push 0
push eax
call fcn.0048d420
add esp, 0xc
lea eax, [ebp - 0x11c]
push dword [ebp - 0x5d8]
push 0x104
push eax
call fcn.00489681
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jl 0x406bc5
mov dword [ebp - 0x350], 0xf
mov dword [ebp - 0x354], 0
mov byte [ebp - 0x364], 0
mov dword [ebp - 4], 0
cmp byte [ebp - 0x11c], 0
jne 0x4068ff
xor ecx, ecx
jmp 0x406911
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406908
sub ecx, edx
push ecx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x364]
call fcn.00401d20
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x344]
push 0
push 0x4b2e3e
mov dword [ebp - 0x330], 0xf
mov dword [ebp - 0x334], 0
mov byte [ebp - 0x344], 0
call fcn.00401d20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x37c]
push 1
push 0x4b312c
mov dword [ebp - 0x368], 0xf
mov dword [ebp - 0x36c], 0
mov byte [ebp - 0x37c], 0
call fcn.00401d20
push ecx
lea eax, [ebp - 0x344]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x37c]
push eax
lea ecx, [ebp - 0x364]
call fcn.00409360
cmp dword [ebp - 0x368], 0x10
jb 0x4069be
push dword [ebp - 0x37c]
call fcn.00488361
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x330], 0x10
mov dword [ebp - 0x368], 0xf
mov dword [ebp - 0x36c], 0
mov byte [ebp - 0x37c], 0
jb 0x4069f4
push dword [ebp - 0x344]
call fcn.00488361
add esp, 4
push 1
push 0
lea eax, [ebp - 0x5d0]
mov byte [ebp - 0x5d0], 0x7c
push eax
lea ecx, [ebp - 0x364]
call fcn.00408bf0
mov esi, eax
cmp esi, 0xffffffff
jne 0x406a3b
mov dword [ebp - 4], eax
cmp dword [ebp - 0x350], 0x10
jb 0x406bc5
push dword [ebp - 0x364]
call fcn.00488361
add esp, 4
jmp 0x406bc5
push 0x103
lea eax, [ebp - 0x223]
mov byte [ebp - 0x224], 0
push 0
push eax
call fcn.0048d420
add esp, 0xc
mov byte [ebp - 0x32c], 0
lea eax, [ebp - 0x32b]
push 0x103
push 0
push eax
call fcn.0048d420
add esp, 0xc
lea eax, [ebp - 0x344]
lea ecx, [ebp - 0x364]
push esi
push 0
push eax
call fcn.00408a70
cmp dword [eax + 0x14], 0x10
jb 0x406a92
mov eax, dword [eax]
push eax
add edi, 0x74
lea eax, [ebp - 0x224]
push edi
push str._s_s
push 0x104
push eax
call fcn.00488e61
add esp, 0x14
cmp dword [ebp - 0x330], 0x10
jb 0x406ac7
push dword [ebp - 0x344]
call fcn.00488361
add esp, 4
push ecx
lea edx, [ebp - 0x224]
lea ecx, [ebp - 0x348]
call fcn.00402fa0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x406ae4
mov eax, dword [eax]
lea ecx, [ebp - 0x5cc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x406afb
xor bl, bl
jmp 0x406b1a
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x5b0], 0
jne 0x406b18
cmp dword [ebp - 0x5ac], 0
jne 0x406b18
xor bl, bl
jmp 0x406b1a
mov bl, 1
cmp dword [ebp - 0x334], 8
jb 0x406b31
push dword [ebp - 0x348]
call fcn.00488361
add esp, 4
test bl, bl
je 0x406ba1
push dword [ebp - 0x354]
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x344]
push eax
lea ecx, [ebp - 0x364]
call fcn.00408a70
cmp dword [eax + 0x14], 0x10
jb 0x406b59
mov eax, dword [eax]
push eax
push edi
push str._s_s
lea eax, [ebp - 0x32c]
push 0x104
push eax
call fcn.00488e61
add esp, 0x14
cmp dword [ebp - 0x330], 0x10
jb 0x406b8b
push dword [ebp - 0x344]
call fcn.00488361
add esp, 4
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00489ad6
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x350], 0x10
jb 0x406bbf
push dword [ebp - 0x364]
call fcn.00488361
add esp, 4
mov edi, dword [ebp - 0x5d4]
push dword [ebp - 0x5d8]
call fcn.0048965b
add esp, 4
test eax, eax
je 0x406883
push dword [ebp - 0x5d8]
call fcn.00488f02
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00488366
mov esp, ebp
pop ebp
ret 4