Function at 0x485430
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a400c
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x639354]
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 edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x270], esi
mov dword [ebp - 4], esi
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4856b3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 1
test edi, edi
je 0x4854d1
test edi, 0xffff0000
jne 0x4854b4
movzx eax, di
lea ecx, [ebp - 0x264]
push eax
call fcn.00429d90
jmp 0x4854e0
mov ecx, edi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4854c0
sub ecx, edx
sar ecx, 1
jmp 0x4854d3
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x264]
call fcn.0042a060
push 0x5b9864
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00429810
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x26c]
test eax, eax
cmovne esi, eax
or ebx, 0xffffffff
mov dword [ebp - 0x270], esi
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x485539
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xffffffff
je 0x48562d
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x485550
test byte [ebp - 0x260], 0x10
je 0x485617
push 0x5b9808
lea eax, [ebp - 0x234]
push eax
call edi
test eax, eax
je 0x485617
push 0x5b980c
lea eax, [ebp - 0x234]
push eax
call edi
test eax, eax
je 0x485617
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.00429810
push 0x5b9804
push eax
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 3
push eax
call fcn.00429810
push dword [ebp + 0xc]
mov byte [ebp - 4], 4
push dword [eax]
call fcn.00485430
mov edx, dword [ebp - 0x26c]
add esp, 0x20
mov dword [ebp - 0x278], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4855ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x274]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48560e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x278], 0
je 0x485637
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x485550
mov dword [ebp - 0x268], 1
mov edi, dword [ebp - 0x264]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x485669
cmp dword [ebp + 0xc], ebx
je 0x485669
cmp eax, 2
je 0x485669
cmp eax, 3
je 0x485669
push 4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x485681
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x485691
cmp esi, 0xffffffff
je 0x485691
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x268]
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.0055c3a9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b60
int3