Function at 0x4042d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x423ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x9c0
mov eax, dword [0x42ea04]
xor eax, esp
mov dword [esp + 0x9bc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42ea04]
xor eax, esp
push eax
lea eax, [esp + 0x9d4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x9e4]
push eax
lea eax, [esp + 0x1d4]
push str._s
xor ebx, ebx
push eax
xor ebp, ebp
mov dword [esp + 0x24], ebx
call fcn.00410fa5
add esp, 0xc
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x1d4]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x404360
or eax, eax
jmp 0x4045b4
push 1
mov esi, 0xf
push 0x426604
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebp
mov byte [esp + 0x80], 0
call fcn.00402860
or ebx, 1
lea eax, [esp + 0xbc]
mov dword [esp + 0x38], esi
mov dword [esp + 0x9dc], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], ebp
mov byte [esp + 0x24], 0
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4043b0
sub eax, esi
push eax
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x28]
call fcn.00402860
mov edx, dword [esp + 0x78]
or ebx, 2
cmp dword [esp + 0x8c], 0x10
mov dword [esp + 0x9dc], 1
mov dword [esp + 0x18], ebx
jae 0x4043f1
lea edx, [esp + 0x78]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x88]
cmp esi, edi
mov ecx, esi
jb 0x404404
mov ecx, edi
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x404413
lea eax, [esp + 0x24]
push ecx
push edx
push eax
call fcn.00401180
add esp, 0xc
cmp eax, ebp
jne 0x404435
cmp esi, edi
jb 0x404435
xor eax, eax
cmp esi, edi
setne al
cmp eax, ebp
je 0x4044e2
push 2
mov edi, 0xf
push 0x426600
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebp
mov byte [esp + 0x48], 0
call fcn.00402860
or ebx, 4
lea eax, [esp + 0xbc]
mov dword [esp + 0x9dc], 2
mov dword [esp + 0x18], ebx
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebp
mov byte [esp + 0x5c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404480
sub eax, edx
push eax
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0x60]
call fcn.00402860
mov eax, dword [esp + 0x40]
or ebx, 8
mov esi, 0x10
cmp dword [esp + 0x54], esi
mov dword [esp + 0x9dc], 3
mov dword [esp + 0x18], ebx
jae 0x4044c2
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x50]
push edx
push eax
mov eax, dword [esp + 0x74]
push eax
push ebp
lea ecx, [esp + 0x68]
call fcn.00401e10
test eax, eax
je 0x4044ec
mov byte [esp + 0x17], 1
jmp 0x4044f1
mov esi, 0x10
mov edi, 0xf
mov byte [esp + 0x17], 0
test bl, 8
je 0x404519
and ebx, 0xfffffff7
cmp dword [esp + 0x70], esi
jb 0x40450c
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00407818
add esp, 4
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebp
mov byte [esp + 0x5c], 0
test bl, 4
je 0x404541
and ebx, 0xfffffffb
cmp dword [esp + 0x54], esi
jb 0x404534
mov edx, dword [esp + 0x40]
push edx
call fcn.00407818
add esp, 4
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebp
mov byte [esp + 0x40], 0
test bl, 2
je 0x404569
and ebx, 0xfffffffd
cmp dword [esp + 0x38], esi
jb 0x40455c
mov eax, dword [esp + 0x24]
push eax
call fcn.00407818
add esp, 4
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebp
mov byte [esp + 0x24], 0
test bl, 1
mov dword [esp + 0x9dc], 0xffffffff
je 0x404592
and ebx, 0xfffffffe
cmp dword [esp + 0x8c], esi
jb 0x404592
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00407818
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x4045dc
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x90]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x404360
mov ecx, dword [esp + 0x9d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9bc]
xor ecx, esp
call fcn.00410f96
add esp, 0x9cc
ret
mov eax, 1
jmp 0x4045b4