Function at 0x424f20
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fd58
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x4620f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c4], ecx
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
cmp dword [edi + 0x14], 8
jb 0x424f67
mov eax, dword [edi]
jmp 0x424f69
mov eax, edi
lea ecx, [ebp - 0x2c0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x42514b
cmp word [ebp - 0x8c], 0
jne 0x424f8e
xor ecx, ecx
jmp 0x424fa6
lea ecx, [ebp - 0x8c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424f97
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
push dword [esi + 0x10]
push 0
call fcn.00403ca0
test eax, eax
jne 0x42514b
cmp word [ebp - 0x294], ax
jne 0x424fcf
xor ecx, ecx
jmp 0x424fef
lea ecx, [ebp - 0x294]
lea edx, [ecx + 2]
jmp 0x424fe0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424fe0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x294]
mov ecx, esi
push eax
push dword [esi + 0x10]
push 0
call fcn.00403ca0
test eax, eax
je 0x42514b
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x70]
call fcn.00401480
mov esi, eax
mov eax, dword [ebp - 0x2c4]
mov ecx, eax
mov dword [ebp - 4], 0
mov edx, dword [eax]
call dword [edx + 0x34]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401480
push esi
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.0041bcb0
add esp, 0xc
cmp dword [ebp - 0x44], 8
jb 0x42505c
push dword [ebp - 0x58]
call fcn.00404a15
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x5c], 8
mov byte [ebp - 4], 4
jb 0x425085
push dword [ebp - 0x70]
call fcn.00404a15
add esp, 4
mov ecx, dword [ebp - 0x2c4]
xor eax, eax
mov word [ebp - 0x70], ax
push 0x46343c
mov dword [ebp - 0x5c], 7
mov eax, dword [ecx]
mov dword [ebp - 0x60], 0
call dword [eax + 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00402b10
add esp, 0xc
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp dword [edi + 0x14], 8
mov esi, eax
jb 0x4250de
mov edi, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x4250e6
mov ebx, dword [ebx]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push ebx
call edi
or esi, eax
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call edi
or eax, esi
setne bl
cmp dword [ebp - 0x14], 8
jb 0x425122
push dword [ebp - 0x28]
call fcn.00404a15
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x425147
push dword [ebp - 0x40]
call fcn.00404a15
add esp, 4
mov al, bl
jmp 0x42514d
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004051a4
mov esp, ebp
pop ebp
ret 0xc