Function at 0x40917a
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x457813
call fcn.00457438
sub esp, 0x300
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x9c]
call fcn.004020df
or dword [ebp - 0x1c], 0xffffffff
mov byte [ebx], 0
and dword [ebp - 4], 0
lea edi, [ebx + 4]
mov ecx, edi
call fcn.0040482d
push ecx
mov ecx, edi
call fcn.004048c8
test al, al
je 0x409527
sub esp, 0x18
mov esi, esp
lea eax, [ebp + 0x50]
push eax
push 0x473ec8
lea edx, [ebp + 0x38]
lea ecx, [ebp - 0x6c]
call fcn.00402f31
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402f10
pop ecx
push 0x64
mov ecx, edi
call fcn.00404aa1
cmp eax, 0xffffffff
sete bl
lea ecx, [ebp - 0x6c]
call fcn.00401fd8
test bl, bl
je 0x409220
mov ecx, edi
call fcn.00404e26
mov dword [ebp - 0x20], 1
push 0x46dd30
lea eax, [ebp - 0x20]
push eax
call fcn.00438b36
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 0x20]
call fcn.00402305
mov edi, eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 0x20]
call fcn.004022ca
mov esi, eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 0x20]
call fcn.00402305
push dword [edi]
push dword [esi]
push dword [eax]
lea ecx, [ebp - 0x3c]
call fcn.00409b02
add esp, 0xc
lea eax, [ebp - 0x304]
push eax
push 0x4655d0
lea edx, [ebp + 8]
lea ecx, [ebp - 0x6c]
call fcn.00409082
pop ecx
mov ecx, eax
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x6c]
call fcn.00401f09
cmp esi, 0xffffffff
jne 0x4092c9
sub esp, 0x18
mov ecx, esp
push 0x465094
call fcn.00402093
push 0x65
mov edi, dword [ebp - 0x18]
lea ecx, [edi + 4]
call fcn.00404aa1
lea ecx, [edi + 4]
call fcn.00404e26
mov dword [ebp - 0x24], 2
push 0x46dd30
lea eax, [ebp - 0x24]
jmp 0x40921a
lea eax, [ebp - 0x304]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4094db
mov ebx, dword [ebp - 0x18]
cmp byte [ebx], 0
je 0x4092fb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebx + 4]
call fcn.00404e26
jmp 0x40954e
test byte [ebp - 0x304], 0x10
je 0x4093c3
push 0x465510
lea eax, [ebp - 0x2d8]
push eax
call fcn.0043f32f
pop ecx
pop ecx
test eax, eax
je 0x4093c3
push 0x4655f4
lea eax, [ebp - 0x2d8]
push eax
call fcn.0043f32f
pop ecx
pop ecx
test eax, eax
je 0x4093c3
push 0x4655f0
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x54]
call fcn.0040417e
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0xb4]
call fcn.004090e7
pop ecx
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.00403014
pop ecx
lea ecx, [ebp - 0xb4]
call fcn.00401f09
lea ecx, [ebp - 0x54]
call fcn.00401f09
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x20]
push eax
call fcn.00408f83
sub esp, 0x18
mov ecx, esp
lea eax, [ebp - 0x6c]
push eax
call fcn.00408f83
mov ecx, ebx
call fcn.0040958c
test al, al
jne 0x4093bb
mov dword [ebp - 0x28], 3
push 0x46dd30
lea eax, [ebp - 0x28]
jmp 0x40921a
lea ecx, [ebp - 0x6c]
call fcn.00401f09
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x84]
call fcn.0040417e
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x84]
call fcn.00402305
mov edi, eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x84]
call fcn.004022ca
mov esi, eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x84]
call fcn.00402305
push dword [edi]
push dword [esi]
push dword [eax]
lea ecx, [ebp - 0x30]
call fcn.00409b02
add esp, 0xc
push 0
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x84]
call fcn.00409985
cmp eax, 0xffffffff
je 0x4094c8
push 0x250
lea eax, [ebp - 0x304]
push eax
lea ecx, [ebp - 0x54]
call fcn.004020b7
push eax
lea ecx, [ebp - 0x9c]
call fcn.00401fe2
lea ecx, [ebp - 0x54]
call fcn.00401fd8
sub esp, 0x18
mov esi, esp
lea eax, [ebp - 0x9c]
push eax
push 0x473ec8
lea edx, [ebp + 8]
lea ecx, [ebp - 0xb4]
call fcn.0041b7b3
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.00402f10
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402f10
pop ecx
push 0x66
lea ecx, [ebx + 4]
call fcn.00404aa1
cmp eax, 0xffffffff
sete bl
lea ecx, [ebp - 0x54]
call fcn.00401fd8
lea ecx, [ebp - 0xb4]
call fcn.00401fd8
test bl, bl
je 0x4094c8
mov dword [ebp - 0x2c], 4
push 0x46dd30
lea eax, [ebp - 0x2c]
jmp 0x40921a
lea ecx, [ebp - 0x84]
call fcn.00401f09
mov esi, dword [ebp - 0x1c]
jmp 0x4092c9
or dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x18]
sub esp, 0x18
mov esi, esp
lea eax, [ebp + 0x50]
push eax
push 0x473ec8
lea edx, [ebp + 0x38]
lea ecx, [ebp - 0x54]
call fcn.00402f31
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402f10
pop ecx
push 0x67
lea ecx, [edi + 4]
call fcn.00404aa1
lea ecx, [ebp - 0x54]
call fcn.00401fd8
lea ecx, [edi + 4]
jmp 0x4092f1
push 0
push 0
jmp 0x40921b
lea ecx, [ebp - 0x9c]
call fcn.00401fd8
lea ecx, [ebp + 8]
call fcn.00401f09
lea ecx, [ebp + 0x20]
call fcn.00401f09
lea ecx, [ebp + 0x38]
call fcn.00401fd8
lea ecx, [ebp + 0x50]
call fcn.00401fd8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x60