Function at 0x416be0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ad6a1
mov eax, dword fs:[0]
push eax
sub esp, 0x94c
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x948], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x960]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp byte [esi], bl
jne 0x416ec9
push 0x3ac8
mov byte [esi], 1
mov dword [esi + 0x204], ebx
call fcn.0049e9f4
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x968], ebx
cmp eax, ebx
je 0x416c55
mov ecx, eax
call fcn.00411a10
jmp 0x416c57
xor eax, eax
mov dword [esp + 0x968], 0xffffffff
mov ecx, dword [esi + 0x204]
push 4
mov dword [esi + ecx*4 + 4], eax
call fcn.0049e9f4
add esp, 4
cmp eax, ebx
je 0x416c82
mov dword [eax], 0x4b1ab4
jmp 0x416c84
xor eax, eax
mov edx, dword [esi + 0x204]
mov dword [esi + edx*4 + 0x104], eax
mov ebp, 1
add dword [esi + 0x204], ebp
push 0x28
call fcn.0049e9f4
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x968], ebp
cmp eax, ebx
je 0x416cc0
mov ecx, eax
call fcn.00411fd0
mov edi, eax
jmp 0x416cc2
xor edi, edi
mov dword [esp + 0x968], 0xffffffff
mov eax, dword [esi + 0x204]
push 8
mov dword [esi + eax*4 + 4], edi
call fcn.0049e9f4
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x968], 2
cmp eax, ebx
je 0x416cff
mov dword [eax], 0x4b1b04
mov dword [eax + 4], edi
jmp 0x416d01
xor eax, eax
mov dword [esp + 0x968], 0xffffffff
mov ecx, dword [esi + 0x204]
push 0x400
lea edx, [esp + 0x160]
push edx
mov dword [esi + ecx*4 + 0x104], eax
add dword [esi + 0x204], ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x15c]
push eax
call fcn.0044db30
mov ecx, dword [str.Formats.fmt]
mov dword [eax], ecx
mov edx, dword [0x4b1c14]
mov dword [eax + 4], edx
mov ecx, dword [0x4b1c18]
mov dword [eax + 8], ecx
mov dx, word [0x4b1c1c]
mov word [eax + 0xc], dx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x160]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, eax
cmp ecx, 0xffffffff
sete al
mov dword [esp + 0x14], ecx
cmp al, bl
jne 0x416ec2
lea esp, [esp]
xor eax, eax
jmp 0x416da0
mov cl, byte [esp + eax + 0x15c]
mov byte [esp + eax + 0x55c], cl
add eax, ebp
cmp cl, bl
jne 0x416da0
lea edx, [esp + 0x55c]
push edx
lea edi, [esp + 0x4c]
call fcn.0044db30
mov cl, byte [edi]
mov byte [eax], cl
add edi, ebp
add eax, ebp
cmp cl, bl
jne 0x416dc5
push 0x4b4
call fcn.0049e9f4
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x968], 3
cmp eax, ebx
je 0x416e20
mov dword [eax], 0x4b18ec
mov byte [esp + 0x968], 4
mov dword [eax], 0x4b1ae8
mov byte [eax + 4], bl
mov dword [eax + 0x404], ebx
mov dword [eax + 0x4b0], ebx
mov byte [esp + 0x968], 3
mov edi, eax
jmp 0x416e22
xor edi, edi
mov dword [esp + 0x968], 0xffffffff
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x560]
push ecx
mov ecx, edi
call fcn.004160f0
test al, al
je 0x416e99
push 8
call fcn.0049e9f4
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x968], 5
cmp eax, ebx
je 0x416e6d
mov dword [eax], 0x4b1a80
mov dword [eax + 4], edi
jmp 0x416e6f
xor eax, eax
mov dword [esp + 0x968], 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
add dword [esi + 0x204], ebp
jmp 0x416ea6
cmp edi, ebx
je 0x416ea6
mov edx, dword [edi]
mov eax, dword [edx]
push ebp
mov ecx, edi
call eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x416d90
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x960]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x948]
xor ecx, esp
call fcn.0049dea6
add esp, 0x958
ret