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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9f0c
mov eax, dword fs:[0]
push eax
sub esp, 0x4fc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x508]
mov ecx, 0x13f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4cd290]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 8], 0
je 0x434341
cmp dword [ebp + 0xc], 0
jne 0x434348
xor eax, eax
jmp 0x4345e8
mov word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.004863a0
add esp, 0xc
push 0x104
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x224]
push edx
call fcn.00486dcb
add esp, 0xc
test eax, eax
jne 0x43438a
xor eax, eax
jmp 0x4345e8
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x248]
call fcn.00418aa0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x248]
call fcn.004812d0
mov ecx, eax
call fcn.00420780
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp esi, esp
call fcn.004a574e
test eax, eax
jne 0x4343f0
mov dword [ebp - 0x500], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00418c50
mov eax, dword [ebp - 0x500]
jmp 0x4345e8
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x26c]
call fcn.00418aa0
mov byte [ebp - 4], 1
lea edi, [ebp - 0x26c]
call fcn.00481430
push 0x4b99d0
lea ebx, [ebp - 0x26c]
call fcn.00481660
mov esi, esp
lea edx, [ebp - 0x4c4]
push edx
lea eax, [ebp - 0x26c]
call fcn.004812d0
mov ecx, eax
call fcn.00420780
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp esi, esp
call fcn.004a574e
push eax
lea ecx, [ebp - 0x4d0]
call fcn.0044a3f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4d0]
call fcn.00434a40
test eax, eax
jne 0x4344ae
mov dword [ebp - 0x504], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4d0]
call fcn.00434a60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.00418c50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00418c50
mov eax, dword [ebp - 0x504]
jmp 0x4345e8
mov dword [ebp - 0x4d8], 1
cmp dword [ebp - 0x4d8], 0
je 0x4345a8
push 0x4b99d4
lea eax, [ebp - 0x498]
push eax
call fcn.004868b2
add esp, 8
test eax, eax
je 0x4344f5
push 0x4b99d8
lea ecx, [ebp - 0x498]
push ecx
call fcn.004868b2
add esp, 8
test eax, eax
jne 0x43451f
mov esi, esp
lea edx, [ebp - 0x4c4]
push edx
lea ecx, [ebp - 0x4d0]
call fcn.0040f0f0
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp esi, esp
call fcn.004a574e
mov dword [ebp - 0x4d8], eax
jmp 0x4344b8
mov eax, dword [ebp - 0x4c4]
and eax, 0x10
je 0x43457b
lea ecx, [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x4f8]
call fcn.00418a70
mov byte [ebp - 4], 3
lea edx, [ebp - 0x498]
push edx
lea ebx, [ebp - 0x4f8]
call fcn.00481660
lea edi, [ebp - 0x4f8]
call fcn.00481430
lea eax, [ebp - 0x4f8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004348c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4f8]
call fcn.00418c50
mov esi, esp
lea ecx, [ebp - 0x4c4]
push ecx
lea ecx, [ebp - 0x4d0]
call fcn.0040f0f0
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp esi, esp
call fcn.004a574e
mov dword [ebp - 0x4d8], eax
jmp 0x4344b8
mov dword [ebp - 0x508], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4d0]
call fcn.00434a60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.00418c50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00418c50
mov eax, dword [ebp - 0x508]
push edx
mov ecx, ebp
push eax
lea edx, [0x434624]
call fcn.004a5771
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004851ae
add esp, 0x508
cmp ebp, esp
call fcn.004a574e
mov esp, ebp
pop ebp
ret 8