Function at 0x433110
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
sub esp, 0xa54
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0xa50], eax
push ebx
mov ebx, dword [esp + 0xa64]
push ebp
mov ebp, dword [esp + 0xa60]
push esi
mov esi, dword [esp + 0xa70]
push edi
mov edi, dword [esp + 0xa6c]
call fcn.0043cdb0
test eax, eax
je 0x4332f9
test ebx, ebx
je 0x43316b
cmp word [ebx], 0
je 0x43316b
push ebx
lea eax, [esp + 0x264]
push eax
call fcn.0046db30
jmp 0x43317e
push 0x1000000
lea ecx, [esp + 0x264]
push ecx
push edi
call fcn.0046d830
cmp ebp, 0xffffffff
jne 0x4331cf
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4331f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4331c2
cmp eax, 3
je 0x4331c2
cmp eax, 0x12
je 0x4331c2
mov eax, 1
mov byte [esi + 0x109c], al
jmp 0x4334b5
xor eax, eax
mov byte [esi + 0x109c], al
jmp 0x4334b5
lea ecx, [esp + 0x10]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4331f9
or ebp, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne dl
mov byte [esi + 0x109c], dl
jmp 0x4334b5
lea eax, [esp + 0x260]
push eax
lea edi, [esi + 0x400]
push edi
call fcn.0046db30
lea ecx, [esp + 0x3c]
push ecx
push edi
call fcn.0044db70
push eax
call fcn.0046db30
push 0x1000000
push esi
push edi
call fcn.0046d7f0
mov edx, dword [esp + 0x2c]
push 1
push 0
push 0
push edx
call fcn.0049f1e0
mov ecx, dword [esp + 0x30]
xor ebx, ebx
add eax, ecx
adc edx, ebx
mov dword [esi + 0xc00], eax
push 0x1000000
lea eax, [esi + 0xc80]
mov dword [esi + 0xc04], edx
mov edx, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x24c]
push ecx
mov dword [esi + 0xc08], edx
call fcn.0046d7f0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esi + 0x1080], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x1088], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x108c], edx
mov dword [esi + 0x1084], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x24]
mov dword [esi + 0x1094], ecx
lea ebx, [esi + 0xc14]
push edx
mov ecx, ebx
mov dword [esi + 0x1090], eax
call fcn.00468100
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0xc38]
call fcn.00468100
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0xc5c]
call fcn.00468100
mov ecx, ebx
call fcn.00467f40
push edi
mov dword [esi + 0xc0c], eax
call fcn.004652f0
jmp 0x4334ac
test edi, edi
je 0x43331c
cmp byte [edi], 0
je 0x43331c
lea edx, [esp + 0x260]
mov eax, edi
sub edx, edi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x433310
jmp 0x43332f
push 0x1000000
lea eax, [esp + 0x264]
push eax
push ebx
call fcn.0046d7f0
cmp ebp, 0xffffffff
jne 0x433376
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4333a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4331c2
cmp eax, 3
je 0x4331c2
mov eax, 1
mov byte [esi + 0x109c], al
jmp 0x4334b5
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4333a0
or ebp, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne cl
mov byte [esi + 0x109c], cl
jmp 0x4334b5
lea eax, [esp + 0x260]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4333b0
push esi
lea edi, [esp + 0x40]
call fcn.0044daf0
mov cl, byte [edi]
mov byte [eax], cl
inc edi
inc eax
test cl, cl
jne 0x4333c4
push 0x1000000
lea edi, [esi + 0x400]
push edi
push esi
call fcn.0046d830
mov edx, dword [esp + 0x2c]
push 1
push 0
push 0
push edx
call fcn.0049f1e0
mov ecx, dword [esp + 0x30]
xor ebx, ebx
add eax, ecx
adc edx, ebx
mov dword [esi + 0xc04], edx
mov edx, dword [esp + 0x10]
mov dword [esi + 0xc00], eax
mov dword [esi + 0xc08], edx
lea eax, [esp + 0x140]
lea edx, [esi + 0xc80]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x433421
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esi + 0x1080], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x1088], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x108c], edx
mov dword [esi + 0x1084], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x24]
mov dword [esi + 0x1094], ecx
lea ebx, [esi + 0xc14]
push edx
mov ecx, ebx
mov dword [esi + 0x1090], eax
call fcn.00468100
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0xc38]
call fcn.00468100
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0xc5c]
call fcn.00468100
mov ecx, ebx
call fcn.00467f40
push esi
mov dword [esi + 0xc0c], eax
call fcn.004652c0
test al, al
je 0x4334b5
xor edx, edx
mov word [edi], dx
mov ecx, dword [esp + 0xa60]
pop edi
mov dword [esi + 0x1098], 0
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e626
add esp, 0xa54
ret 0x10