Function at 0x421160
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479060
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x493f58]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x2a0], eax
xor ebx, ebx
push 0xffffffffffffffff
mov dword [ebp - 4], 1
xor ecx, ecx
push ebx
lea edx, [ebp + 8]
mov word [ebp - 0x2c], cx
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x29c], ebx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.00405470
mov byte [ebp - 4], 2
call fcn.00448240
mov edx, dword [ebp + 0x24]
mov esi, eax
mov eax, dword [ebp + 0x38]
mov ecx, edx
cmp eax, 8
jae 0x4211e0
lea ecx, [ebp + 0x24]
mov edi, dword [ebp + 0x34]
lea ecx, [ecx + edi*2]
mov edi, 8
cmp eax, edi
mov eax, edx
jae 0x4211f4
lea eax, [ebp + 0x24]
cmp eax, ecx
je 0x421225
lea ecx, [ebp - 0x2c]
call fcn.004482e0
mov edi, eax
push esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x24]
push ecx
call fcn.00409ef0
add esp, 0xc
cmp edi, ebx
je 0x421220
push edi
lea ecx, [ebp - 0x2c]
call fcn.00447bb0
mov edi, 8
mov edx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x421230
lea edx, [ebp - 0x2c]
xor eax, eax
mov word [ebp - 0x48], ax
mov eax, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x421245
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00406a30
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x42126d
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x298]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x2a4], esi
cmp esi, 0xffffffff
je 0x42134e
lea esp, [esp]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x18], edi
jae 0x42129e
lea eax, [ebp - 0x2c]
xor edx, edx
mov word [eax], dx
call fcn.00448240
cmp dword [ebp + 0x18], ebx
je 0x421302
mov eax, dword [ebp + 0x1c]
cmp eax, edi
mov edi, dword [ebp + 8]
mov ebx, edi
jae 0x4212bc
lea ebx, [ebp + 8]
cmp eax, 8
jae 0x4212c4
lea edi, [ebp + 8]
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov ecx, edx
cmp esi, 8
jae 0x4212d4
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
lea ecx, [ecx + eax*2]
cmp esi, 8
jae 0x4212e2
lea edx, [ebp - 0x2c]
lea eax, [edx + eax*2]
mov edx, dword [ebp + 0x18]
lea edx, [ebx + edx*2]
push edx
push edi
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405570
mov esi, dword [ebp - 0x2a4]
xor ebx, ebx
lea edi, [ebx + 8]
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004484b0
mov ecx, dword [ebp - 0x298]
shr ecx, 4
test cl, 1
jne 0x421338
mov edi, dword [ebp - 0x2a0]
inc dword [ebp - 0x29c]
lea ecx, [ebp - 0x2c]
call fcn.00418170
mov edi, 8
lea edx, [ebp - 0x298]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x421290
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x34], edi
jb 0x421366
mov eax, dword [ebp - 0x48]
push eax
call fcn.0044bc75
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], edi
jb 0x421388
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0044bc75
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp + 0x1c], edi
jb 0x4213a5
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044bc75
add esp, 4
xor edx, edx
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], ebx
mov word [ebp + 8], dx
cmp dword [ebp + 0x38], edi
jb 0x4213c2
mov eax, dword [ebp + 0x24]
push eax
call fcn.0044bc75
add esp, 4
mov eax, dword [ebp - 0x29c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044bab6
mov esp, ebp
pop ebp
ret