Function at 0x4180c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d1731
mov eax, dword fs:[0]
push eax
mov eax, 0x2258
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x2254], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ea93c]
xor eax, esp
push eax
lea eax, [esp + 0x226c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp byte [esi], bl
jne 0x418383
push 0xa400
mov byte [esi], 1
mov dword [esi + 0x204], ebx
call fcn.004c0acd
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x2274], ebx
cmp eax, ebx
je 0x418139
mov ecx, eax
call fcn.004163c0
jmp 0x41813b
xor eax, eax
mov dword [esp + 0x2274], 0xffffffff
mov ecx, dword [esi + 0x204]
push 4
mov dword [esi + ecx*4 + 4], eax
call fcn.004c0acd
add esp, 4
cmp eax, ebx
je 0x418166
mov dword [eax], 0x4d6c08
jmp 0x418168
xor eax, eax
mov edx, dword [esi + 0x204]
mov dword [esi + edx*4 + 0x104], eax
mov ebp, 1
add dword [esi + 0x204], ebp
push 0x30
call fcn.004c0acd
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x2274], ebp
cmp eax, ebx
je 0x4181a4
mov ecx, eax
call fcn.004165c0
mov edi, eax
jmp 0x4181a6
xor edi, edi
mov dword [esp + 0x2274], 0xffffffff
mov eax, dword [esi + 0x204]
push 8
mov dword [esi + eax*4 + 4], edi
call fcn.004c0acd
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x2274], 2
cmp eax, ebx
je 0x4181e3
mov dword [eax], 0x4d6da8
mov dword [eax + 4], edi
jmp 0x4181e5
xor eax, eax
mov dword [esp + 0x2274], 0xffffffff
mov ecx, dword [esi + 0x204]
push 0x800
lea edx, [esp + 0x26c]
push edx
mov dword [esi + ecx*4 + 0x104], eax
add dword [esi + 0x204], ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x800
push str.Formats.fmt
lea eax, [esp + 0x270]
push eax
call fcn.0045fad0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x26c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
sete al
cmp al, bl
jne 0x41837c
xor eax, eax
jmp 0x418260
movzx ecx, word [esp + eax + 0x268]
mov word [esp + eax + 0x1268], cx
add eax, 2
cmp cx, bx
jne 0x418260
push 0x800
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1270]
push ecx
call fcn.0045fad0
push 0x1200
call fcn.004c0acd
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x2274], 3
cmp eax, ebx
je 0x4182e1
mov dword [eax], 0x4d6a88
mov byte [esp + 0x2274], 4
xor edx, edx
mov dword [eax], 0x4d6c3c
mov word [eax + 4], dx
mov dword [eax + 0x1004], ebx
mov dword [eax + 0x11fc], ebx
mov byte [esp + 0x2274], 3
mov edi, eax
jmp 0x4182e3
xor edi, edi
mov dword [esp + 0x2274], 0xffffffff
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x126c]
push ecx
mov ecx, edi
call fcn.00417f40
cmp al, bl
je 0x41835a
push 8
call fcn.004c0acd
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x2274], 5
cmp eax, ebx
je 0x41832e
mov dword [eax], 0x4d6bd4
mov dword [eax + 4], edi
jmp 0x418330
xor eax, eax
mov dword [esp + 0x2274], 0xffffffff
mov edx, dword [esi + 0x204]
mov dword [esi + edx*4 + 4], edi
mov ecx, dword [esi + 0x204]
mov dword [esi + ecx*4 + 0x104], eax
inc dword [esi + 0x204]
jmp 0x418368
cmp edi, ebx
je 0x418368
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
lea ecx, [esp + 0x18]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x418251
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x226c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2254]
xor ecx, esp
call fcn.004bfc52
add esp, 0x2264
ret