Function at 0x4864c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5b6044
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8c
mov eax, dword [0x67a008]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x18], ecx
jne 0x4864f2
mov eax, 0x67a00c
push ebp
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], bx
call fcn.00401fc0
mov eax, dword [0x679f28]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0xca4], ebx
je 0x4866c1
mov eax, dword [0x679f14]
push eax
call fcn.0057e90a
add esp, 4
test eax, eax
je 0x4866c1
mov ecx, dword [0x679f14]
push ecx
call ebp
cmp eax, 0xffffffff
je 0x48655f
mov edx, dword [0x679f14]
lea ecx, [esp + 0x10]
push edx
call fcn.00401fc0
jmp 0x486758
mov eax, dword [0x679f14]
push 0x5c
push eax
call fcn.0057e85a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4866c1
push ebx
lea ecx, [esp + 0x30]
add esi, 2
call fcn.004333b0
push 0x653700
lea ecx, [esp + 0xac]
mov byte [esp + 0xca8], 1
call fcn.0059aec6
push esi
lea ecx, [esp + 0xa8]
call fcn.0059aeed
mov ecx, dword [0x679f14]
push ecx
lea ecx, [esp + 0x94]
call fcn.00401fc0
mov edx, dword [esp + 0x1c]
push 0x67a6c4
lea ecx, [esp + 0x90]
mov byte [esp + 0xa0], 1
mov eax, dword [edx + 4]
mov dword [esp + 0x8c], eax
call fcn.0059ae76
lea ecx, [esp + 0x2c]
call fcn.00596cd3
cmp eax, 1
jne 0x486609
mov ecx, dword [0x679f14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401fc0
mov edi, 1
lea ecx, [esp + 0xec]
mov byte [esp + 0xca4], 9
call fcn.0054a0f0
lea ecx, [esp + 0xb0]
mov byte [esp + 0xca4], 8
call fcn.005a2849
lea ecx, [esp + 0xac]
mov byte [esp + 0xca4], 7
call fcn.0059ad3d
lea ecx, [esp + 0xa8]
mov byte [esp + 0xca4], 6
call fcn.0059ad3d
lea ecx, [esp + 0xa4]
mov byte [esp + 0xca4], 5
call fcn.0059ad3d
lea ecx, [esp + 0xa0]
mov byte [esp + 0xca4], 4
call fcn.0059ad3d
lea ecx, [esp + 0x90]
mov byte [esp + 0xca4], 3
call fcn.00401070
lea ecx, [esp + 0x8c]
mov byte [esp + 0xca4], 2
call fcn.0059ad3d
lea ecx, [esp + 0x2c]
mov byte [esp + 0xca4], bl
call fcn.00596914
cmp edi, ebx
jne 0x486758
mov edx, 0x656828
test edx, edx
je 0x486758
push edx
call fcn.0057e90a
add esp, 4
test eax, eax
je 0x486758
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4866f0
push eax
call fcn.0057e90a
add esp, 4
mov esi, eax
jmp 0x4866f2
xor esi, esi
push 0x656828
call fcn.0057e90a
add eax, esi
lea eax, [eax + eax + 2]
push eax
call fcn.005970d9
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x486758
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x486730
push eax
push esi
call fcn.0057eaaa
push 0x656828
push esi
call fcn.0057ea80
add esp, 0x10
jmp 0x48673e
push 0x656828
push esi
call fcn.0057eaaa
add esp, 8
lea ecx, [esp + 0x10]
call fcn.00401070
push esi
mov dword [esp + 0x14], esi
call fcn.0057e90a
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x486764
lea eax, [esp + 0x14]
push eax
call ebp
cmp eax, 0xffffffff
pop ebp
jne 0x48696b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x48696b
push ebx
lea ecx, [esp + 0x2c]
call fcn.004333b0
push 0x654dc0
lea ecx, [esp + 0xa8]
mov byte [esp + 0xca4], 0xa
call fcn.0059aec6
push 0x656818
lea ecx, [esp + 0xa4]
call fcn.0059aec6
mov eax, dword [esp + 0xc]
cmp eax, ebx
jne 0x4867c0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x90]
call fcn.00401fc0
mov ecx, dword [esp + 0x18]
push 0x67a6c4
mov byte [esp + 0x9c], 1
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x88], edx
call fcn.0059ae76
lea ecx, [esp + 0x28]
call fcn.00596cd3
cmp eax, 1
je 0x4868bb
lea ecx, [esp + 0xe8]
mov byte [esp + 0xca0], 0x12
call fcn.0054a0f0
lea ecx, [esp + 0xac]
mov byte [esp + 0xca0], 0x11
call fcn.005a2849
lea ecx, [esp + 0xa8]
mov byte [esp + 0xca0], 0x10
call fcn.0059ad3d
lea ecx, [esp + 0xa4]
mov byte [esp + 0xca0], 0xf
call fcn.0059ad3d
lea ecx, [esp + 0xa0]
mov byte [esp + 0xca0], 0xe
call fcn.0059ad3d
lea ecx, [esp + 0x9c]
mov byte [esp + 0xca0], 0xd
call fcn.0059ad3d
lea ecx, [esp + 0x8c]
mov byte [esp + 0xca0], 0xc
call fcn.00401070
lea ecx, [esp + 0x88]
mov byte [esp + 0xca0], 0xb
call fcn.0059ad3d
lea ecx, [esp + 0x28]
mov byte [esp + 0xca0], bl
call fcn.00596914
jmp 0x486a83
lea ecx, [esp + 0xe8]
mov byte [esp + 0xca0], 0x1a
call fcn.0054a0f0
lea ecx, [esp + 0xac]
mov byte [esp + 0xca0], 0x19
call fcn.005a2849
lea ecx, [esp + 0xa8]
mov byte [esp + 0xca0], 0x18
call fcn.0059ad3d
lea ecx, [esp + 0xa4]
mov byte [esp + 0xca0], 0x17
call fcn.0059ad3d
lea ecx, [esp + 0xa0]
mov byte [esp + 0xca0], 0x16
call fcn.0059ad3d
lea ecx, [esp + 0x9c]
mov byte [esp + 0xca0], 0x15
call fcn.0059ad3d
lea ecx, [esp + 0x8c]
mov byte [esp + 0xca0], 0x14
call fcn.00401070
lea ecx, [esp + 0x88]
mov byte [esp + 0xca0], 0x13
call fcn.0059ad3d
lea ecx, [esp + 0x28]
mov byte [esp + 0xca0], bl
call fcn.00596914
mov edi, dword [esp + 0xca8]
cmp edi, ebx
je 0x486a57
mov eax, 0x6567ac
test eax, eax
je 0x486a11
push eax
call fcn.0057e90a
add esp, 4
test eax, eax
je 0x486a11
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4869a9
push eax
call fcn.0057e90a
add esp, 4
mov esi, eax
jmp 0x4869ab
xor esi, esi
push 0x6567ac
call fcn.0057e90a
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005970d9
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x486a11
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4869e9
push eax
push esi
call fcn.0057eaaa
push 0x6567ac
push esi
call fcn.0057ea80
add esp, 0x10
jmp 0x4869f7
push 0x6567ac
push esi
call fcn.0057eaaa
add esp, 8
lea ecx, [esp + 0xc]
call fcn.00401070
push esi
mov dword [esp + 0x10], esi
call fcn.0057e90a
add esp, 4
mov dword [esp + 0x14], eax
push ebx
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x28], bx
call fcn.004028e0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xca0], 0x1b
cmp eax, ebx
jne 0x486a3d
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
call fcn.00485930
lea ecx, [esp + 0x1c]
mov byte [esp + 0xca0], bl
call fcn.00401070
cmp dword [0x67a400], ebx
je 0x486a83
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0059763c
push ebx
push ebx
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00401fb0
mov edx, dword [esi + 0x1c]
push eax
push edx
call dword [0x67a400]
lea ecx, [esp + 0xc]
mov dword [esp + 0xca0], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0xc98]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xc98
ret 4