Function at 0x40911c
Capabilities:
Enumerate files on windows

Disassembly:
push 0x2a4
mov eax, 0x4104eb
call fcn.0040bc20
mov esi, edx
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040533e
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x40925f
push 0x4184dc
push dword [0x4184ec]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004094b7
test eax, eax
je 0x40925f
push 0x4184f4
push dword [0x418504]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004094b7
test eax, eax
je 0x40925f
push 0x418524
push dword [0x418534]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004094b7
test eax, eax
je 0x40925f
cmp dword [ebp - 0x18], 2
jb 0x40924d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 8
mov dword [ebp - 0x2ac], 0x5c
cmovae eax, edx
mov dword [ebp - 0x2b0], 0x2f
movzx eax, word [eax]
cmp ax, word [ebp - 0x2ac]
je 0x40921d
cmp ax, word [ebp - 0x2b0]
je 0x40921d
cmp dword [ebp - 0x18], 3
jb 0x40924d
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + 2], 0x3a
jne 0x40924d
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
movzx eax, word [eax + 4]
cmp ax, word [ebp - 0x2ac]
je 0x409244
cmp ax, word [ebp - 0x2b0]
je 0x409244
jmp 0x40924d
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
movzx eax, word [eax + 2]
cmp ax, word [ebp - 0x2ac]
je 0x40923e
cmp ax, word [ebp - 0x2b0]
mov al, 1
jne 0x409240
mov al, bl
test al, al
jne 0x40924d
cmp dword [ebp - 0x18], 0x104
jb 0x40925f
xor dl, dl
lea ecx, [ebp - 0x28]
call fcn.00408d93
test al, al
je 0x4093c6
lea eax, [ebp - 0x28]
mov dword [ebp - 0x40], ebx
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0040533e
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x409280
mov esi, dword [esi]
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.00404c78
push 0x250
lea eax, [ebp - 0x2a8]
push ebx
push eax
call fcn.0040cf50
add esp, 0xc
lea ecx, [ebp - 0x2a8]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ebx
push ebx
push ebx
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
je 0x409381
test byte [ebp - 0x2a8], 0x10
je 0x409364
xor eax, eax
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x48], ebx
push eax
mov dword [ebp - 0x44], 7
call fcn.004037fe
mov edx, 0x4136b4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.004096f5
test al, al
je 0x409327
mov edx, 0x413d78
lea ecx, [ebp - 0x58]
call fcn.004096f5
test al, al
je 0x409327
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.004051e2
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x409364
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40935b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409403
push edx
push ecx
call fcn.0040b690
pop ecx
pop ecx
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4092c7
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4093b6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4093ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409403
push edx
push ecx
call fcn.0040b690
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4093fb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4093f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409403
push edx
push ecx
call fcn.0040b690
pop ecx
pop ecx
call fcn.0040bbde
ret 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3