Function at 0x4033e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c60a1
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x504608]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push esi
push edi
mov eax, dword [0x504608]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp byte [edx], 0
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
jne 0x40344b
xor ecx, ecx
jmp 0x40345d
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403450
sub ecx, edi
mov edi, dword [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00401bc0
push 3
push 0x4ed3e8
lea ecx, [esp + 0x34]
mov dword [esp + 0x1a0], 0
call fcn.00405cd0
cmp byte [esi], 0
jne 0x40348c
xor ecx, ecx
jmp 0x40349a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403491
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x34]
call fcn.00405cd0
cmp dword [esp + 0x40], 0x10
lea ecx, [esp + 0x44]
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x403675
mov bl, byte [ebp + 0x10]
lea ecx, [ecx]
test bl, bl
jne 0x4035a5
test byte [esp + 0x44], 0x10
jne 0x40365a
mov ecx, 0x4ed3ec
lea eax, [esp + 0x70]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x403510
test dl, dl
je 0x40350c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x403510
add eax, 2
add ecx, 2
test dl, dl
jne 0x4034f0
xor eax, eax
jmp 0x403515
sbb eax, eax
or eax, 1
test eax, eax
je 0x40365a
mov ecx, 0x4ed3f0
lea eax, [esp + 0x70]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x403546
test dl, dl
je 0x403542
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x403546
add eax, 2
add ecx, 2
test dl, dl
jne 0x403526
xor eax, eax
jmp 0x40354b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40365a
cmp byte [esp + 0x70], 0
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jne 0x403573
xor ecx, ecx
jmp 0x403589
lea ecx, [esp + 0x70]
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403580
sub ecx, edx
push ecx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401bc0
mov byte [esp + 0x198], 1
jmp 0x403633
cmp bl, 1
jne 0x40365a
test byte [esp + 0x44], 0x10
je 0x40365a
mov ecx, 0x4ed3ec
lea eax, [esp + 0x70]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4035e2
test dl, dl
je 0x4035de
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4035e2
add eax, 2
add ecx, 2
test dl, dl
jne 0x4035c2
xor eax, eax
jmp 0x4035e7
sbb eax, eax
or eax, 1
test eax, eax
je 0x40365a
mov ecx, 0x4ed3f0
lea eax, [esp + 0x70]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x403614
test dl, dl
je 0x403610
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x403614
add eax, 2
add ecx, 2
test dl, dl
jne 0x4035f4
xor eax, eax
jmp 0x403619
sbb eax, eax
or eax, 1
test eax, eax
je 0x40365a
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x18]
call fcn.004019d0
mov byte [esp + 0x198], 2
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00404130
mov byte [esp + 0x198], 0
cmp dword [esp + 0x28], 0x10
jb 0x40365a
push dword [esp + 0x14]
call fcn.004999a3
add esp, 4
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x4034d0
push esi
call dword [sym.imp.kernel32.dll_FindClose]
cmp dword [esp + 0x40], 0x10
jb 0x403688
push dword [esp + 0x2c]
call fcn.004999a3
add esp, 4
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.0049a134
mov esp, ebp
pop ebp
ret