Function at 0x410c60
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x459d9a
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x477c1c]
xor eax, esp
mov dword [esp + 0x2f0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x477c1c]
xor eax, esp
push eax
lea eax, [esp + 0x308]
mov dword fs:[0], eax
mov eax, dword [esp + 0x334]
mov edi, ecx
mov dword [esp + 0x18], eax
xor ebx, ebx
mov dword [esp + 0x310], ebx
push 0xff
lea ecx, [esp + 0x209]
push ebx
push ecx
mov byte [esp + 0x210], bl
call fcn.00440d10
add esp, 0xc
cmp byte [esp + 0x338], bl
je 0x410d39
mov edx, dword [esp + 0x31c]
mov ebp, 0x10
cmp dword [esp + 0x330], ebp
jae 0x410cf3
lea edx, [esp + 0x31c]
cmp dword [edi + 0xd4], ebp
jb 0x410d03
mov ecx, dword [edi + 0xc0]
jmp 0x410d09
lea ecx, [edi + 0xc0]
cmp dword [edi + 0xb8], ebp
jb 0x410d19
mov eax, dword [edi + 0xa4]
jmp 0x410d1f
lea eax, [edi + 0xa4]
push edx
push ecx
push eax
lea edx, [esp + 0x210]
push str._s_s_s.
push edx
call fcn.004410b5
add esp, 0x14
jmp 0x410d98
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x320]
push eax
lea ecx, [edi + 0xbc]
call fcn.00401cc0
mov ecx, dword [esp + 0x31c]
mov ebp, 0x10
cmp dword [esp + 0x330], ebp
jae 0x410d6b
lea ecx, [esp + 0x31c]
cmp dword [edi + 0xb8], ebp
jb 0x410d7b
mov eax, dword [edi + 0xa4]
jmp 0x410d81
lea eax, [edi + 0xa4]
push ecx
push eax
lea ecx, [esp + 0x20c]
push str._s_s.
push ecx
call fcn.004410b5
add esp, 0x10
lea edx, [esp + 0xc4]
push edx
lea eax, [esp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x411151
mov esi, dword [sym.imp.USER32.dll_CharLowerA]
mov eax, dword [esp + 0xc4]
cmp eax, ebp
je 0x410f60
cmp eax, 0x30
je 0x410f60
lea ecx, [esp + 0xf0]
push str..dir
push ecx
call fcn.004420d0
add esp, 8
test eax, eax
jne 0x411132
lea edx, [esp + 0xf0]
push str..src2
push edx
call fcn.004420d0
add esp, 8
test eax, eax
jne 0x411132
lea eax, [esp + 0xf0]
push str..exe
push eax
call fcn.004420d0
add esp, 8
test eax, eax
jne 0x411132
lea ecx, [esp + 0xf0]
push str..src
push ecx
call fcn.004420d0
add esp, 8
test eax, eax
jne 0x411132
lea edx, [esp + 0xf0]
push str..hdr
push edx
call fcn.004420d0
add esp, 8
test eax, eax
jne 0x411132
lea eax, [esp + 0xf0]
push str..lst
push eax
call fcn.004420d0
add esp, 8
test eax, eax
jne 0x411132
cmp byte [esp + 0x338], bl
je 0x410f18
push 0x45ecf4
lea ecx, [esp + 0x31c]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.00409410
mov byte [esp + 0x31c], 5
lea ecx, [esp + 0xfc]
push ecx
push eax
lea edx, [esp + 0xbc]
push edx
call fcn.00409410
add esp, 0x18
mov byte [esp + 0x310], 7
lea ecx, [esp + 0x70]
call fcn.00401b20
push ebx
lea ecx, [esp + 0xac]
call fcn.00406c90
push eax
call esi
lea eax, [esp + 0xa8]
push eax
lea ecx, [edi + 0xd8]
call fcn.00410bb0
mov byte [esp + 0x310], bl
lea ecx, [esp + 0xa8]
call fcn.00401b20
jmp 0x411132
lea ecx, [esp + 0xf0]
push ecx
call esi
lea edx, [esp + 0xf0]
push edx
lea ecx, [esp + 0x58]
call fcn.00402100
mov byte [esp + 0x310], 8
lea eax, [esp + 0x54]
push eax
lea ecx, [edi + 0xd8]
call fcn.00410bb0
mov byte [esp + 0x310], bl
lea ecx, [esp + 0x54]
call fcn.00401b20
jmp 0x411132
mov ecx, 0x460314
lea eax, [esp + 0xf0]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x410f90
cmp dl, bl
je 0x410f8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x410f90
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x410f70
xor eax, eax
jmp 0x410f95
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x411132
mov ecx, 0x460310
lea eax, [esp + 0xf0]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x410fd0
cmp dl, bl
je 0x410fcc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x410fd0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x410fb0
xor eax, eax
jmp 0x410fd5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x411132
cmp byte [esp + 0x338], bl
je 0x4110b3
push 0x45ecf4
lea ecx, [esp + 0x31c]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00409410
mov byte [esp + 0x31c], 1
lea ecx, [esp + 0xfc]
push ecx
push eax
lea edx, [esp + 0xa0]
push edx
call fcn.00409410
add esp, 0x18
mov byte [esp + 0x310], 3
cmp dword [esp + 0x50], ebp
jb 0x41103d
mov eax, dword [esp + 0x3c]
push eax
call fcn.00421b49
add esp, 4
mov eax, dword [esp + 0x90]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
cmp dword [esp + 0xa4], ebp
jae 0x411064
lea eax, [esp + 0x90]
push eax
call esi
lea ecx, [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00410bb0
mov byte [esp + 0x310], bl
cmp dword [esp + 0xa4], ebp
jb 0x411098
mov edx, dword [esp + 0x90]
push edx
call fcn.00421b49
add esp, 4
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
jmp 0x411132
lea eax, [esp + 0xf0]
push eax
call esi
lea eax, [esp + 0xf0]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4110d7
sub eax, edx
push eax
lea ecx, [esp + 0xf4]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401da0
mov byte [esp + 0x310], 4
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
call fcn.00410bb0
mov byte [esp + 0x310], bl
cmp dword [esp + 0x34], ebp
jb 0x411122
mov eax, dword [esp + 0x20]
push eax
call fcn.00421b49
add esp, 4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x410dc1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [edi + 0x9c], bl
mov dword [esp + 0x310], 0xffffffff
cmp dword [esp + 0x330], ebp
jb 0x411182
mov eax, dword [esp + 0x31c]
push eax
call fcn.00421b49
add esp, 4
mov dword [esp + 0x330], 0xf
mov dword [esp + 0x32c], ebx
mov byte [esp + 0x31c], bl
mov al, 1
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.0044014d
add esp, 0x300
ret 0x24