Function at 0x459110
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 0x4591f7
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 0x4591ed
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 0x4591a0
lea ecx, [esp + 0x50]
call fcn.0041c620
mov ebx, dword [ebp + 0x44]
xor esi, esi
test ebx, ebx
jbe 0x459272
lea esp, [esp]
cmp dword [ebp + 0x48], 8
jb 0x45921b
mov eax, dword [ebp + 0x34]
jmp 0x45921e
lea eax, [ebp + 0x34]
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 0x45926d
mov eax, dword [esp + 0x1c]
push eax
call fcn.004699ce
add esp, 4
inc esi
cmp esi, ebx
jb 0x459210
mov eax, dword [esp + 0x54]
mov ebx, 8
cmp dword [esp + 0x68], ebx
jae 0x459285
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 0x4592d1
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 0x4592c6
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004699ce
add esp, 4
xor edx, edx
cmp dword [esp + 0x4c], ebx
jmp 0x45947a
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4592d6
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 0x45932f
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 0x459365
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 0x459406
cmp esi, edi
jbe 0x459406
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 0x4593cc
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 0x459406
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 0x45945c
jmp 0x459420
mov ecx, dword [esp + 0x54]
mov eax, 8
cmp dword [esp + 0x68], eax
jae 0x459433
lea ecx, [esp + 0x54]
cmp dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
jae 0x459441
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 0x459420
mov esi, 8
cmp dword [esp + 0x68], esi
jb 0x459474
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 0x45949e
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