Function at 0x460b6c
Capabilities:
Check if file exists
Copy file
Enumerate files on windows
Enumerate files recursively
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c2c41
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x4f51d0]
xor eax, esp
mov dword [esp + 0x340], eax
push ebx
push esi
push edi
mov eax, dword [0x4f51d0]
xor eax, esp
push eax
lea eax, [esp + 0x358]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push eax
lea esi, [esp + 0xac]
call fcn.00404bde
and dword [esp + 0x360], 0
push edi
lea esi, [esp + 0xc8]
call fcn.00404bde
and dword [esp + 0x14], 0
xor ebx, ebx
inc ebx
mov byte [esp + 0x360], bl
cmp dword [esp + 0xdc], 8
mov eax, dword [esp + 0xc8]
jae 0x460bfb
lea eax, [esp + 0xc8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x460c28
cmp dword [esp + 0xdc], 8
mov ebx, dword [esp + 0xc8]
jae 0x460c20
lea ebx, [esp + 0xc8]
call fcn.0045fdff
xor ebx, ebx
inc ebx
cmp dword [esp + 0xc0], 8
mov eax, dword [esp + 0xac]
jae 0x460c40
lea eax, [esp + 0xac]
push eax
call esi
test eax, eax
je 0x460fbe
lea eax, [esp + 0xa8]
push eax
lea esi, [esp + 0xe4]
call fcn.00404bde
push 0x4e0fa8
mov ecx, esi
mov byte [esp + 0x364], 2
call fcn.00405298
cmp dword [esp + 0xf8], 8
mov eax, dword [esp + 0xe4]
jae 0x460c8b
lea eax, [esp + 0xe4]
lea ecx, [esp + 0xfc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x460cf7
xor esi, esi
push esi
push ebx
lea ecx, [esp + 0xe8]
call fcn.00405380
push 0
push ebx
lea ecx, [esp + 0xcc]
call fcn.00405380
push 0
push ebx
lea ecx, [esp + 0xb0]
call fcn.00405380
mov eax, esi
mov ecx, dword [esp + 0x358]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x340]
xor ecx, esp
call fcn.0048c64c
mov esp, ebp
pop ebp
ret
mov edi, 0x4d8dcc
lea eax, [esp + 0xc4]
push eax
lea esi, [esp + 0x90]
call fcn.00404bde
push edi
mov ecx, esi
mov byte [esp + 0x364], 3
call fcn.00405298
lea eax, [esp + 0x128]
push eax
mov ecx, esi
call fcn.00405298
test byte [esp + 0xfc], 0x10
je 0x460dfe
cmp word [esp + 0x128], 0x2e
je 0x460f6e
cmp dword [esp + 0xa4], 8
mov eax, dword [esp + 0x90]
jae 0x460d64
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x460d9b
lea esi, [esp + 0x8c]
call fcn.00460af3
cmp dword [esp + 0xa4], 8
mov ebx, dword [esp + 0x90]
jae 0x460d93
lea ebx, [esp + 0x90]
call fcn.0045fdff
xor ebx, ebx
inc ebx
push edi
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00464b6a
lea ecx, [esp + 0x134]
push ecx
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x378], 4
call fcn.00464b6a
push dword [ebp + 0x10]
lea ecx, [esp + 0xa8]
push ecx
push eax
mov byte [esp + 0x384], 5
call fcn.00460b6c
add esp, 0x24
push 0
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], eax
call fcn.00405380
lea ecx, [esp + 0x38]
jmp 0x460f5e
cmp dword [ebp + 0x10], 0
mov eax, dword [esp + 0x90]
je 0x460eca
cmp dword [esp + 0xa4], 8
jae 0x460e20
lea eax, [esp + 0x90]
push eax
lea esi, [esp + 0x20]
call fcn.00404bbf
push edi
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x36c], 6
call fcn.00464b6a
lea ecx, [esp + 0x134]
push ecx
push eax
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x378], 7
call fcn.00464b6a
add esp, 0x18
mov byte [esp + 0x360], 8
cmp dword [eax + 0x18], 8
jb 0x460e79
mov eax, dword [eax + 4]
jmp 0x460e7c
add eax, 4
push eax
lea esi, [esp + 0x3c]
call fcn.00404bbf
lea edx, [esp + 0x1c]
mov ecx, esi
mov byte [esp + 0x360], 9
call fcn.00460fc7
xor esi, esi
push esi
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], eax
call fcn.00405380
push esi
push ebx
lea ecx, [esp + 0x78]
call fcn.00405380
push esi
push ebx
lea ecx, [esp + 0x5c]
call fcn.00405380
push esi
lea ecx, [esp + 0x20]
jmp 0x460f60
cmp dword [esp + 0xa4], 8
jae 0x460edb
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x460f6e
push edi
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00464b6a
lea ecx, [esp + 0x134]
push ecx
push eax
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x378], 0xa
call fcn.00464b6a
mov ecx, dword [esp + 0xa8]
add esp, 0x18
cmp dword [esp + 0xa4], 8
jae 0x460f33
lea ecx, [esp + 0x90]
cmp dword [eax + 0x18], 8
jb 0x460f3e
mov eax, dword [eax + 4]
jmp 0x460f41
add eax, 4
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push ebx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], eax
call fcn.00405380
lea ecx, [esp + 0x70]
push 0
push ebx
mov byte [esp + 0x368], 3
call fcn.00405380
lea eax, [esp + 0xfc]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0
lea ecx, [esp + 0x90]
push ebx
test eax, eax
je 0x460fa0
mov byte [esp + 0x368], 2
call fcn.00405380
jmp 0x460cfc
call fcn.00405380
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push ebx
lea ecx, [esp + 0xe8]
call fcn.00405380
mov esi, dword [esp + 0x14]
jmp 0x460cb3