Function at 0x45d260
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0xa84
mov eax, dword [0x4f00a8]
xor eax, esp
mov dword [esp + 0xa80], eax
mov eax, dword [esp + 0xa8c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa94]
mov ebx, ecx
mov ecx, dword [esi + 0x3c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
add ecx, 0x418
push ecx
lea edx, [esp + 0x47c]
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
call edi
lea eax, [esp + 0x478]
push eax
call fcn.00476ff0
add esp, 4
lea ecx, [esp + 0x478]
push ecx
lea edx, [esp + 0x88c]
push edx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4ca154
lea eax, [esp + 0x88c]
push eax
call ebp
mov ecx, dword [esi + 0x3c]
call fcn.0046e1f0
push eax
lea ecx, [esp + 0x684]
push ecx
call edi
mov ecx, dword [esi + 0x3c]
call fcn.0042e270
push eax
lea edx, [esp + 0x684]
push edx
call ebp
push 0x4ca150
lea eax, [esp + 0x684]
push eax
call ebp
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x88c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x45d529
push 0x4c4dcc
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x45d417
push 0x4c4dc4
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x45d417
test byte [esp + 0x20], 0x10
lea edx, [esp + 0x478]
lea eax, [esp + 0x270]
push edx
push eax
je 0x45d3c4
call edi
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x274]
push edx
call ebp
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x274]
push ecx
lea edx, [esp + 0x688]
push edx
lea eax, [esp + 0x58]
push eax
push esi
mov ecx, ebx
call fcn.0045c0e0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
call fcn.00476890
jmp 0x45d417
call edi
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x274]
push edx
call ebp
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x45d3e3
mov eax, dword [esp + 0x40]
jmp 0x45d3f3
mov edx, dword [esp + 0x40]
xor eax, eax
xor ebx, ebx
or eax, edx
or ecx, ebx
mov ebx, dword [esp + 0x18]
push ecx
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x27c]
push ecx
lea edx, [esp + 0x690]
push edx
lea eax, [esp + 0x60]
push eax
push esi
mov ecx, ebx
call fcn.0045bbf0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x45d529
nop
push 0x4c4dcc
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x45d511
push 0x4c4dc4
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x45d511
test byte [esp + 0x20], 0x10
lea edx, [esp + 0x478]
lea eax, [esp + 0x270]
push edx
push eax
je 0x45d4be
call edi
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x274]
push edx
call ebp
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x274]
push ecx
lea edx, [esp + 0x688]
push edx
lea eax, [esp + 0x58]
push eax
push esi
mov ecx, ebx
call fcn.0045c0e0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
call fcn.00476890
jmp 0x45d511
call edi
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x274]
push edx
call ebp
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x45d4dd
mov eax, dword [esp + 0x40]
jmp 0x45d4ed
mov edx, dword [esp + 0x40]
xor eax, eax
xor ebx, ebx
or eax, edx
or ecx, ebx
mov ebx, dword [esp + 0x18]
push ecx
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x27c]
push ecx
lea edx, [esp + 0x690]
push edx
lea eax, [esp + 0x60]
push eax
push esi
mov ecx, ebx
call fcn.0045bbf0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45d430
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0xa90]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004911aa
add esp, 0xa84
ret 8