Function at 0x415e50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b4711
mov eax, dword fs:[0]
push eax
mov eax, 0x1258
call fcn.004a4490
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x1254], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ca3b0]
xor eax, esp
push eax
lea eax, [esp + 0x126c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp byte [esi], bl
jne 0x416135
push 0x5358
mov byte [esi], 1
mov dword [esi + 0x204], ebx
call fcn.004a4a54
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x1274], ebx
cmp eax, ebx
je 0x415ec9
mov ecx, eax
call fcn.004142c0
jmp 0x415ecb
xor eax, eax
mov dword [esp + 0x1274], 0xffffffff
mov ecx, dword [esi + 0x204]
push 4
mov dword [esi + ecx*4 + 4], eax
call fcn.004a4a54
add esp, 4
cmp eax, ebx
je 0x415ef6
mov dword [eax], 0x4b8bf8
jmp 0x415ef8
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.004a4a54
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x1274], ebp
cmp eax, ebx
je 0x415f34
mov ecx, eax
call fcn.00414570
mov edi, eax
jmp 0x415f36
xor edi, edi
mov dword [esp + 0x1274], 0xffffffff
mov eax, dword [esi + 0x204]
push 8
mov dword [esi + eax*4 + 4], edi
call fcn.004a4a54
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x1274], 2
cmp eax, ebx
je 0x415f73
mov dword [eax], 0x4b8c9c
mov dword [eax + 4], edi
jmp 0x415f75
xor eax, eax
mov dword [esp + 0x1274], 0xffffffff
mov ecx, dword [esi + 0x204]
push 0x400
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]
lea eax, [esp + 0x268]
push eax
mov edi, str.Formats.fmt
call fcn.004515b0
lea esp, [esp]
movzx ecx, word [edi]
mov word [eax], cx
add edi, 2
add eax, 2
cmp cx, bx
jne 0x415fc0
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 0x41612e
xor eax, eax
jmp 0x416000
movzx ecx, word [esp + eax + 0x268]
mov word [esp + eax + 0xa68], cx
add eax, 2
cmp cx, bx
jne 0x416000
lea eax, [esp + 0xa68]
push eax
lea edi, [esp + 0x48]
call fcn.004515b0
lea esp, [esp]
movzx ecx, word [edi]
mov word [eax], cx
add edi, 2
add eax, 2
cmp cx, bx
jne 0x416030
push 0xa00
call fcn.004a4a54
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x1274], 3
cmp eax, ebx
je 0x416093
mov dword [eax], 0x4b89cc
mov byte [esp + 0x1274], 4
xor ecx, ecx
mov dword [eax], 0x4b8c2c
mov word [eax + 4], cx
mov dword [eax + 0x804], ebx
mov dword [eax + 0x9fc], ebx
mov byte [esp + 0x1274], 3
mov edi, eax
jmp 0x416095
xor edi, edi
mov dword [esp + 0x1274], 0xffffffff
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xa6c]
push eax
mov ecx, edi
call fcn.00415ce0
cmp al, bl
je 0x41610c
push 8
call fcn.004a4a54
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x1274], 5
cmp eax, ebx
je 0x4160e0
mov dword [eax], 0x4b8bc4
mov dword [eax + 4], edi
jmp 0x4160e2
xor eax, eax
mov dword [esp + 0x1274], 0xffffffff
mov ecx, dword [esi + 0x204]
mov dword [esi + ecx*4 + 4], edi
mov edx, dword [esi + 0x204]
mov dword [esi + edx*4 + 0x104], eax
inc dword [esi + 0x204]
jmp 0x41611a
cmp edi, ebx
je 0x41611a
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x415ff4
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x126c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1254]
xor ecx, esp
call fcn.004a3c63
add esp, 0x1264
ret