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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4971c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x4c6190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
jne 0x43f546
mov edi, 2
jmp 0x43f7db
mov dword [ebp - 0x2c8], 0
xor eax, eax
mov dword [ebp - 0x2b8], 0
push 1
push 0x4ae074
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
mov byte [ebp - 4], al
call fcn.00402010
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0044da90
add esp, 0xc
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2b4]
cmp ecx, 8
jb 0x43f5de
mov edx, dword [ebp - 0x2c8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43f5d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f810
push ecx
push edx
call fcn.00465ef5
add esp, 8
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2a4]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2a8], esi
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2ac], eax
cmp eax, 0xffffffff
jne 0x43f64a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43f640
cmp eax, 3
je 0x43f640
cmp dword [esi + 0x14], 8
jb 0x43f620
mov esi, dword [esi]
push eax
push esi
push 0x4ae078
push 0x4ae0f0
push 4
call fcn.00453ac0
add esp, 0x14
mov edi, 3
jmp 0x43f791
mov edi, 2
jmp 0x43f791
lea eax, [ebp - 0x2ac]
mov dword [ebp - fcn.00440290], 0x4ae310
mov dword [ebp - 0x2d4], eax
lea ecx, [ebp - 0x2d8]
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2b4], eax
lea eax, [ebp - 0x50]
push eax
call fcn.00440290
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2c], eax
test ecx, ecx
je 0x43f6ac
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x2d8]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x2b4], 0
mov byte [ebp - 4], 5
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop word [eax + eax]
mov eax, dword [ebp - 0x2a4]
shr eax, 4
test al, 1
je 0x43f6f5
cmp word [ebp - 0x278], 0x2e
jne 0x43f6f5
mov ax, word [ebp - 0x276]
cmp ax, 0x2e
jne 0x43f6f0
cmp word [ebp - 0x274], 0
jne 0x43f6f5
jmp 0x43f712
test ax, ax
je 0x43f712
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x43f815
mov eax, dword [ecx]
lea edx, [ebp - 0x2a8]
push edx
mov eax, dword [eax + 8]
call eax
test al, al
je 0x43f759
lea eax, [ebp - 0x2a4]
push eax
push dword [ebp - 0x2ac]
call edi
test eax, eax
jne 0x43f6c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x43f755
cmp dword [esi + 0x14], 8
jb 0x43f738
mov esi, dword [esi]
push eax
push esi
push 0x4ae108
push 0x4ae0f0
push 3
call fcn.00453ac0
add esp, 0x14
mov edi, 4
jmp 0x43f75e
xor edi, edi
jmp 0x43f75e
mov edi, 1
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x43f815
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x43f791
mov edx, dword [ecx]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x43f7c7
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43f7bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f81a
push ecx
push edx
call fcn.00465ef5
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x43f7f3
mov esi, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00465ee7
mov esp, ebp
pop ebp
ret
call fcn.00469eed
call fcn.00464e54
call fcn.00469eed
int3