Function at 0x403280
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x443e26
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x457640]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x457640]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1ac]
mov ebp, dword [esp + 0x1a8]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov eax, ebp
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4032e4
sub eax, ecx
push eax
push ebp
lea ecx, [esp + 0x40]
call fcn.004026a0
mov dword [esp + 0x1a0], ebx
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x40333d
lea esi, [eax - 1]
cmp eax, esi
ja 0x403313
call fcn.00441f16
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
jae 0x403322
lea eax, [esp + 0x3c]
mov al, byte [eax + esi]
cmp al, 0x2f
je 0x40333d
cmp al, 0x5c
je 0x40333d
push 1
push 0x44a860
lea eax, [esp + 0x40]
call fcn.00401fb0
mov eax, 0x44ab4c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403345
sub eax, edx
push eax
push 0x44ab4c
lea eax, [esp + 0x40]
call fcn.00401fb0
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
jae 0x40336c
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x54]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov esi, 0xf
mov eax, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403394
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x24]
call fcn.004026a0
mov byte [esp + 0x1a0], 1
cmp edi, 0xffffffff
jne 0x4033f4
mov edi, 0x10
cmp dword [esp + 0x34], edi
jb 0x4033cd
mov edx, dword [esp + 0x20]
push edx
call fcn.0040fc42
add esp, 4
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
cmp dword [esp + 0x50], edi
jb 0x4033ec
mov eax, dword [esp + 0x3c]
push eax
call fcn.0040fc42
add esp, 4
or eax, 0xffffffff
jmp 0x4035af
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x403432
lea esi, [eax - 1]
cmp eax, esi
ja 0x403408
call fcn.00441f16
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x403417
lea eax, [esp + 0x20]
mov al, byte [eax + esi]
cmp al, 0x2f
je 0x403432
cmp al, 0x5c
je 0x403432
push 1
push 0x44a860
lea eax, [esp + 0x24]
call fcn.00401fb0
lea eax, [esp + 0x80]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403440
sub eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
lea eax, [esp + 0x24]
call fcn.00401fb0
lea eax, [esp + 0x80]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403465
sub eax, edx
cmp eax, 4
jbe 0x403495
test byte [esp + 0x54], 0x10
jne 0x403495
lea edi, [esp + 0x1c]
call fcn.00401bb0
mov ebx, dword [esp + 0x14]
mov edx, edi
push edx
call fcn.00401f10
mov edi, dword [esp + 0x18]
xor ebx, ebx
lea eax, [esp + 0x54]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x403562
lea esp, [esp]
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4034b5
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x24]
call fcn.004026a0
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x403507
lea esi, [eax - 1]
cmp eax, esi
ja 0x4034dd
call fcn.00441f16
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x4034ec
lea eax, [esp + 0x20]
mov al, byte [eax + esi]
cmp al, 0x2f
je 0x403507
cmp al, 0x5c
je 0x403507
push 1
push 0x44a860
lea eax, [esp + 0x24]
call fcn.00401fb0
lea eax, [esp + 0x80]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403511
sub eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
lea eax, [esp + 0x24]
call fcn.00401fb0
test byte [esp + 0x54], 0x10
jne 0x40354e
lea edi, [esp + 0x1c]
call fcn.00401bb0
mov ebx, dword [esp + 0x14]
mov edx, edi
push edx
call fcn.00401f10
mov edi, dword [esp + 0x18]
xor ebx, ebx
lea eax, [esp + 0x54]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4034b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 0x10
cmp dword [esp + 0x34], esi
jb 0x403587
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0040fc42
add esp, 4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
cmp dword [esp + 0x50], esi
jb 0x4035aa
mov edx, dword [esp + 0x3c]
push edx
call fcn.0040fc42
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call int.0042c7ef
add esp, 0x190
ret