Function at 0x471230
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf624
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x52bdd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x190], ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x160]
push 0x140
push 0
push eax
mov dword [ebp - 0x174], esi
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x18c]
push str.C:ymwM8YdataRUNREC
call dword [sym.imp.mfc120.dll_Ordinal_310]
push str.CND.cbd
push eax
lea eax, [ebp - 0x180]
mov dword [ebp - 4], 0
push eax
call fcn.00411be0
add esp, 0xc
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x180]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x16c], edi
cmp edi, 0xffffffff
je 0x471578
xor ecx, ecx
mov dword [ebp - 0x168], 0
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc120.dll_Ordinal_265
xor esi, esi
mov dword [ebp - 0x164], eax
add esp, 4
cmp dword [ebp - 0x174], esi
jle 0x47134a
mov edi, eax
push 0x10
call sub.mfc120.dll_Ordinal_265
mov dword [edi + esi*4], eax
add esp, 4
inc esi
xorps xmm0, xmm0
movdqu xmmword [eax], xmm0
cmp esi, dword [ebp - 0x174]
jl 0x471321
mov edi, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x164]
lea esi, [eax - 4]
lea ecx, [ecx]
test byte [ebp - 0x160], 0x10
jne 0x47137e
inc dword [ebp - 0x168]
lea ecx, [ebp - 0x134]
mov edx, dword [esi + 4]
add esi, 4
jmp 0x471370
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x471370
lea eax, [ebp - 0x160]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x471350
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x168]
xor edi, edi
xorps xmm0, xmm0
mov dword [ebp - 0x170], edi
movdqu xmmword [ebp - 0x20], xmm0
lea ecx, [eax - 1]
mov dword [ebp - 0x17c], ecx
test ecx, ecx
jle 0x4714f0
mov edx, dword [ebp - 0x164]
mov ecx, 4
sub ecx, edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x188], ecx
jmp 0x4713e0
mov esi, 1
mov ecx, edi
mov dword [ebp - 0x16c], ecx
cmp eax, esi
jle 0x47147b
lea ecx, [edi*4]
mov edi, dword [ebp - 0x188]
add edi, dword [ebp - 0x178]
mov dword [ebp - 0x184], ecx
mov edi, edi
mov eax, dword [edi + edx]
mov ecx, dword [ecx + edx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x471436
test dl, dl
je 0x471432
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x471436
add ecx, 2
add eax, 2
test dl, dl
jne 0x471416
xor eax, eax
jmp 0x47143b
sbb eax, eax
or eax, 1
test eax, eax
jns 0x471457
mov eax, dword [ebp - 0x170]
mov ecx, edi
add eax, esi
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x16c], eax
jmp 0x47145d
mov ecx, dword [ebp - 0x184]
mov edx, dword [ebp - 0x164]
inc esi
add edi, 4
cmp esi, dword [ebp - 0x168]
jl 0x471410
mov edi, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x16c]
mov edx, dword [edx + ecx*4]
lea esi, [ebp - 0x20]
mov ecx, edx
sub esi, edx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x471485
mov esi, dword [ebp - 0x178]
mov ecx, dword [esi]
lea ebx, [ebx]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x4714a0
mov edx, dword [esi]
lea ecx, [ebp - 0x20]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x4714b3
mov eax, dword [ebp - 0x168]
inc edi
mov edx, dword [ebp - 0x164]
dec eax
add esi, 4
mov dword [ebp - 0x170], edi
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x178], esi
cmp edi, dword [ebp - 0x17c]
jl 0x4713e0
xor edi, edi
cmp dword [ebp + 0xc], edi
jle 0x471556
mov esi, dword [ebp - 0x190]
add esi, 0x190
mov eax, dword [ebp - 0x164]
mov ecx, esi
push dword [eax + edi*4]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
push 0
push 0x2e
mov ecx, esi
call dword [sym.imp.mfc120.dll_Ordinal_4612]
push eax
lea eax, [ebp - 0x17c]
mov ecx, esi
push eax
call dword [sym.imp.mfc120.dll_Ordinal_8204]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc120.dll_Ordinal_1041]
inc edi
add esi, 4
cmp edi, dword [ebp + 0xc]
jl 0x471503
mov edi, dword [ebp - 0x174]
xor esi, esi
test edi, edi
jle 0x471578
mov eax, dword [ebp - 0x164]
push dword [eax + esi*4]
call sub.mfc120.dll_Ordinal_266
inc esi
add esp, 4
cmp esi, edi
jl 0x471562
lea ecx, [ebp - 0x180]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6016
mov esp, ebp
pop ebp
ret 8