Function at 0x414bd9
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b099
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x5a0440]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x1dc], esi
mov dword [ebp - 0x1d8], ecx
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x1d0]
xor ebx, ebx
mov dword [ebp - 0x1e0], ebx
mov ecx, esi
push eax
mov byte [ebp - 0x1d0], 0x5c
call fcn.00415809
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], ebx
mov byte [ebp - 0x74], bl
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 0x10]
dec ecx
cmp eax, ecx
je 0x414c5d
push 1
push 0x587d74
lea ecx, [ebp - 0x74]
call fcn.0040b459
push 3
push 0x589e80
lea ecx, [ebp - 0x74]
call fcn.0040b459
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.00415e89
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1cc]
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1d4], eax
cmp eax, 0xffffffff
je 0x414f2e
test byte [ebp - 0x1cc], 0x10
je 0x414f04
cmp byte [ebp - 0x1a0], 0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jne 0x414cd5
xor ecx, ecx
jmp 0x414ce7
lea ecx, [ebp - 0x1a0]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414cde
sub ecx, edx
push ecx
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x44]
call fcn.00409a49
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
mov esi, dword [ebp - 0x34]
or ebx, 1
cmp dword [ebp - 0x30], 0x10
mov eax, 1
mov dword [ebp - 0x1e0], ebx
cmovae ecx, dword [ebp - 0x44]
cmp esi, eax
cmovb eax, esi
push eax
push 0x589eac
pop eax
add byte [ecx - 0x18], dl
jno method.std::numpunct_char_.virtual_12
invalid
inc dword [ebx - 0x3f7af33c]
jne 0x414d43
cmp esi, 1
jae 0x414d39
or eax, 0xffffffff
jmp 0x414d41
xor eax, eax
cmp esi, 1
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x414ded
cmp byte [ebp - 0x1a0], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jne 0x414d72
xor ecx, ecx
jmp 0x414d84
lea ecx, [ebp - 0x1a0]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414d7b
sub ecx, edx
push ecx
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00409a49
mov ch, 0x4c
invalid
dec dword [ebx + 0x4d8de87d]
aam 0x8b
jne 0x414d81
or ebx, 2
cmp edi, 0x10
mov eax, 2
cmovae ecx, dword [ebp - 0x2c]
cmp esi, eax
cmovb eax, esi
push eax
push 0x589e84
push ecx
call fcn.00409799
add esp, 0xc
test eax, eax
jne 0x414dd8
cmp esi, 2
jae 0x414dce
or eax, 0xffffffff
jmp 0x414dd6
xor eax, eax
cmp esi, 2
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je method.std::numpunct_char_.virtual_24
mov byte [ebp - 0x1d0], 1
jmp 0x414df7
mov edi, dword [ebp - 0x18]
mov byte [ebp - 0x1d0], 0
test bl, 2
je 0x414e21
and ebx, 0xfffffffd
cmp edi, 0x10
jb 0x414e0f
push dword [ebp - 0x2c]
call fcn.004befe9
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 1
test bl, 1
je 0x414e41
and ebx, 0xfffffffe
cmp dword [ebp - 0x30], 0x10
jb 0x414e41
push dword [ebp - 0x44]
call fcn.004befe9
add esp, 4
cmp byte [ebp - 0x1d0], 0
je 0x414efe
push 0x587d74
push dword [ebp - 0x1dc]
lea eax, [ebp - 0x8c]
push eax
call fcn.0040c3e9
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040c349
push 0x587d74
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 5
push eax
call fcn.0040c349
add esp, 0x24
mov ecx, dword [ebp - 0x1d8]
push eax
mov byte [ebp - 4], 6
call fcn.0040a289
cmp dword [ebp - 0x30], 0x10
jb 0x414eb1
push dword [ebp - 0x44]
call fcn.004befe9
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jb 0x414ed4
push dword [ebp - 0x2c]
call fcn.004befe9
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x78], 0x10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x414efe
push dword [ebp - 0x8c]
call fcn.004befe9
add esp, 4
mov eax, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1cc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
mov eax, dword [ebp - 0x1d4]
jne 0x414ca9
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 1
jmp 0x414f30
xor esi, esi
cmp dword [ebp - 0x48], 0x10
jb 0x414f41
push dword [ebp - 0x5c]
call fcn.004befe9
add esp, 4
cmp dword [ebp - 0x60], 0x10
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jb 0x414f64
push dword [ebp - 0x74]
call fcn.004befe9
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004befee
mov esp, ebp
pop ebp
ret