Function at 0x4103d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f13b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x45d070]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x280], eax
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x4450f0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00405db0
mov byte [ebp - 4], 1
cmp dword [ebp + 0x20], 8
mov ecx, dword [ebp + 0x1c]
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x4104ad
lea eax, [ecx - 1]
push eax
push 0
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp + 0xc]
call fcn.00403210
mov esi, eax
lea eax, [ebp + 0xc]
cmp eax, esi
je 0x410499
cmp dword [ebp + 0x20], 8
jb 0x41047c
push dword [ebp + 0xc]
call edi
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x20], 7
mov dword [ebp + 0x1c], 0
mov word [ebp + 0xc], ax
call fcn.0040f540
cmp dword [ebp - 0x284], 8
jb 0x4104ad
push dword [ebp - 0x298]
call edi
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405a30
push 2
push 0x445fb0
lea ecx, [ebp - 0x2c]
call fcn.00403750
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x27c]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4104f3
xor bl, bl
jmp 0x4106bd
push 0x445810
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x298]
call fcn.00412b90
mov esi, eax
lea eax, [ebp - 0x2c]
add esp, 4
cmp eax, esi
je 0x41053d
cmp dword [ebp - 0x18], 8
jb 0x410520
push dword [ebp - 0x2c]
call edi
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.0040f540
cmp dword [ebp - 0x284], 8
jb 0x410551
push dword [ebp - 0x298]
call edi
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x27c]
push eax
push ebx
call esi
test eax, eax
je 0x4106b4
lea esp, [esp]
mov ecx, 0x445fb8
lea eax, [ebp - 0x250]
jmp 0x410580
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4105a6
test dx, dx
je 0x4105a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4105a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x410580
xor eax, eax
jmp 0x4105ab
sbb eax, eax
or eax, 1
test eax, eax
je 0x4106a2
mov ecx, 0x445fbc
lea eax, [ebp - 0x250]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4105e6
test dx, dx
je 0x4105e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4105e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4105c0
xor eax, eax
jmp 0x4105eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4106a2
test byte [ebp - 0x27c], 0x10
jne 0x4106a2
xor eax, eax
mov dword [ebp - 0x288], 7
mov dword [ebp - 0x28c], 0
mov word [ebp - 0x29c], ax
cmp word [ebp - 0x250], ax
je 0x41063f
lea eax, [ebp - 0x250]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410630
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00405db0
mov dword [ebp - 0x284], 0
mov ecx, dword [ebp - 0x280]
lea eax, [ebp - 0x29c]
push eax
mov byte [ebp - 4], 2
call fcn.00412d50
push eax
add eax, 0x10
push eax
push ecx
mov ecx, dword [ebp - 0x280]
lea eax, [ebp - 0x2a4]
push eax
call fcn.00412d90
mov byte [ebp - 4], 1
cmp dword [ebp - 0x288], 8
jb 0x4106a2
push dword [ebp - 0x29c]
call edi
add esp, 4
lea eax, [ebp - 0x27c]
push eax
push ebx
call esi
test eax, eax
jne 0x410570
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
cmp dword [ebp - 0x18], 8
jb 0x4106cb
push dword [ebp - 0x2c]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x4106ed
push dword [ebp + 0xc]
call edi
add esp, 4
mov al, bl
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.0043bd5c
mov esp, ebp
pop ebp
ret 0x1c