Function at 0x41ca10
Capabilities:
Check if file exists
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d7618
mov eax, dword fs:[0]
push eax
mov eax, 0x5c
call fcn.00468d20
mov eax, dword [0x5808f0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5808f0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
mov ebp, ecx
mov dword [esp + 0x14], eax
mov eax, 7
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], cx
xor edx, edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], dx
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 1
xor esi, esi
call fcn.0041c620
cmp word [edi], bx
je 0x41caf7
mov eax, edi
lea ecx, [ecx]
movzx eax, word [eax]
push eax
call fcn.0046a4af
movzx ecx, ax
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0041c6d0
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 2
call fcn.0041c410
cmp dword [esp + 0x30], 8
mov byte [esp + 0x78], 1
jb 0x41caed
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004699ce
add esp, 4
inc esi
cmp word [edi + esi*2], bx
lea eax, [edi + esi*2]
jne 0x41caa0
lea ecx, [esp + 0x50]
call fcn.0041c620
mov ebx, dword [ebp + 0x18]
xor esi, esi
test ebx, ebx
jbe 0x41cb72
lea esp, [esp]
cmp dword [ebp + 0x1c], 8
jb 0x41cb1b
mov eax, dword [ebp + 8]
jmp 0x41cb1e
lea eax, [ebp + 8]
movzx edx, word [eax + esi*2]
push edx
call fcn.0046a4af
movzx eax, ax
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0041c6d0
add esp, 0x10
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 3
call fcn.0041c410
cmp dword [esp + 0x30], 8
mov byte [esp + 0x78], 1
jb 0x41cb6d
mov eax, dword [esp + 0x1c]
push eax
call fcn.004699ce
add esp, 4
inc esi
cmp esi, ebx
jb 0x41cb10
mov eax, dword [esp + 0x54]
mov ebx, 8
cmp dword [esp + 0x68], ebx
jae 0x41cb85
lea eax, [esp + 0x54]
mov ecx, dword [esp + 0x64]
push ecx
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x40]
call fcn.0041b940
mov esi, eax
cmp esi, 0xffffffff
jne 0x41cbd1
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x14]
push edi
push edx
push eax
call fcn.0046a38b
add esp, 0xc
cmp dword [esp + 0x68], ebx
jb 0x41cbc6
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004699ce
add esp, 4
xor edx, edx
cmp dword [esp + 0x4c], ebx
jmp 0x41cd7a
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41cbd6
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x3c]
call fcn.0041c510
push esi
push 0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
call fcn.0041c930
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 4
call fcn.0041c410
mov byte [esp + 0x78], 1
cmp dword [esp + 0x30], ebx
jb 0x41cc2f
mov edx, dword [esp + 0x1c]
push edx
call fcn.004699ce
add esp, 4
push 1
push 0xffffffffffffffff
push 0x4e1750
lea ecx, [esp + 0x40]
call fcn.0041b940
push 1
push 0xffffffffffffffff
push 0x4e174c
lea ecx, [esp + 0x40]
mov esi, eax
call fcn.0041b940
mov edi, eax
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], ebx
jae 0x41cc65
lea eax, [esp + 0x38]
mov ebp, dword [esp + 0x88]
mov ebx, dword [esp + 0x14]
push eax
push ebp
push ebx
call fcn.0046a38b
add esp, 0xc
cmp esi, 0xffffffff
je 0x41cd06
cmp esi, edi
jbe 0x41cd06
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
call fcn.0041c930
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 5
call fcn.0041c410
mov edi, 8
mov byte [esp + 0x78], 1
cmp dword [esp + 0x30], edi
jb 0x41cccc
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004699ce
add esp, 4
push esi
push 0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x40]
call fcn.0041c930
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 6
call fcn.0041c410
cmp dword [esp + 0x30], edi
jb 0x41cd06
mov eax, dword [esp + 0x1c]
push eax
call fcn.004699ce
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
xor esi, esi
call edi
cmp eax, 0xffffffff
je 0x41cd5c
jmp 0x41cd20
mov ecx, dword [esp + 0x54]
mov eax, 8
cmp dword [esp + 0x68], eax
jae 0x41cd33
lea ecx, [esp + 0x54]
cmp dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
jae 0x41cd41
lea eax, [esp + 0x38]
push ecx
push esi
push eax
push str._s__d__s
push ebp
push ebx
call fcn.0046a2b8
add esp, 0x18
push ebx
inc esi
call edi
cmp eax, 0xffffffff
jne 0x41cd20
mov esi, 8
cmp dword [esp + 0x68], esi
jb 0x41cd74
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004699ce
add esp, 4
xor edx, edx
cmp dword [esp + 0x4c], esi
mov word [esp + 0x54], dx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 7
jb 0x41cd9e
mov eax, dword [esp + 0x38]
push eax
call fcn.004699ce
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004690b5
add esp, 0x68
ret 0xc