Function at 0x433062
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x268], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
mov ebx, ecx
push 0x24c
mov dword [ebp - 0x274], eax
mov edi, esi
lea eax, [ebp - 0x258]
mov dword [ebp - 0x26c], edx
push esi
push eax
mov dword [ebp - 0x25c], esi
call sub.msvcrt.dll_memset
and dword [ebp - 0x270], esi
add esp, 0xc
and dword [ebp - 0x260], esi
test ebx, ebx
je 0x4333dd
xor eax, eax
cmp ax, word [ebx]
je 0x4333dd
mov ecx, ebx
call fcn.00432d2c
test eax, eax
je 0x433117
test dword [ebp + 0x10], 1
je 0x4330f6
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
inc eax
jmp 0x4333e7
lea edx, [ebp - 0x260]
mov ecx, ebx
call fcn.00432d99
test eax, eax
je 0x433224
cmp dword [ebp - 0x260], 0x80000008
jne 0x4330e6
mov edx, 0x40e4c4
mov ecx, ebx
call fcn.004326db
mov dword [ebp - 0x278], eax
test eax, eax
je 0x43337f
xor edx, edx
mov ecx, eax
call fcn.004339ac
mov edi, eax
test edi, edi
je 0x43337f
lea ecx, [ebp - 0x25c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x433322
and dword [ebp - 0x2b4], esi
lea ecx, [ebp - 0x2b0]
push 0x34
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2b4]
mov edx, ebx
push eax
lea ecx, [ebp - 0x25c]
call fcn.00432f2a
mov dword [ebp - 0x260], eax
cmp eax, 1
jne 0x43328e
test byte [ebp - 0x2b4], 0x10
je 0x433263
cmp dword [ebp - 0x26c], esi
je 0x43328e
push 0xffffffffffffffff
push dword [ebp - 0x288]
push 0xffffffffffffffff
push 0x408a24
push eax
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
dec eax
dec eax
je 0x43328e
push 0xffffffffffffffff
push dword [ebp - 0x288]
push 0xffffffffffffffff
push 0x40f188
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
dec eax
dec eax
je 0x43328e
push dword [ebp - 0x274]
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 0x2b4]
push dword [ebp - 0x268]
push eax
call dword [0x46a7c8]
call dword [ebp - 0x26c]
jmp 0x433288
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov dword [ebp - 0x264], eax
call fcn.00432d2c
test eax, eax
je 0x433117
mov esi, dword [ebp - 0x264]
push esi
push 0x40f0e0
push 0x2000000
push 0x46942c
call fcn.00430fcd
add esp, 0x10
push esi
jmp 0x4333df
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x43328e
push dword [ebp - 0x274]
lea ecx, [ebp - 0x2b4]
push ecx
mov ecx, eax
call dword [0x46a7c8]
call dword [ebp - 0x268]
mov dword [ebp - 0x260], eax
lea ecx, [ebp - 0x2b4]
call fcn.00433005
cmp eax, 1
jne 0x4332c2
cmp dword [ebp - 0x260], eax
jne 0x4332f3
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
je 0x43317a
cmp dword [ebp - 0x260], 1
jne 0x4332f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x4332e2
mov dword [ebp - 0x270], 1
jmp 0x433314
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push edi
push 0x40f190
jmp 0x433302
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push edi
push 0x40f200
push 0x2000000
push 0x46942c
call fcn.00430fcd
add esp, 0x14
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4333a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push edi
push 0x40f378
push 0x2000000
push 0x46942c
call fcn.00430fcd
mov ecx, edi
add esp, 0x14
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x43334a
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
jb 0x4333a2
push 0x40f3f0
push 0x3000000
push 0x46942c
call fcn.00430fcd
add esp, 0xc
mov esi, 0xce
jmp 0x4333a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebx
push 0x40f2f0
push 0x2000000
push 0x46942c
call fcn.00430fcd
add esp, 0x14
xor ebx, ebx
mov eax, dword [ebp - 0x278]
test eax, eax
je 0x4333bb
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
je 0x4333ce
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x270]
jmp 0x4333e7
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00445fe0
mov esp, ebp
pop ebp
ret 0xc