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

Disassembly:
push 0xffffffffffffffff
push 0x5b9484
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc94
mov eax, dword [0x67e540]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x18], ecx
jne 0x487a52
mov eax, 0x67e544
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 [0x67e460]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0xcac], ebx
je 0x487c21
mov eax, dword [0x67e44c]
push eax
call fcn.00581b1a
add esp, 4
test eax, eax
je 0x487c21
mov ecx, dword [0x67e44c]
push ecx
call ebp
cmp eax, 0xffffffff
je 0x487abf
mov edx, dword [0x67e44c]
lea ecx, [esp + 0x10]
push edx
call fcn.00401fc0
jmp 0x487cb8
mov eax, dword [0x67e44c]
push 0x5c
push eax
call fcn.00581a6a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x487c21
push ebx
lea ecx, [esp + 0x30]
add esi, 2
call fcn.00433a40
push str._languages_
lea ecx, [esp + 0xac]
mov byte [esp + 0xcb0], 1
call fcn.0059e0c9
push esi
lea ecx, [esp + 0xa8]
call fcn.0059e0f0
mov ecx, dword [0x67e44c]
push ecx
lea ecx, [esp + 0x94]
call fcn.00401fc0
mov edx, dword [esp + 0x1c]
push 0x67ec24
lea ecx, [esp + 0x90]
mov byte [esp + 0xa0], 1
mov eax, dword [edx + 4]
mov dword [esp + 0x8c], eax
call fcn.0059e079
lea ecx, [esp + 0x2c]
call fcn.00599ed3
cmp eax, 1
jne 0x487b69
mov ecx, dword [0x67e44c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401fc0
mov edi, 1
lea ecx, [esp + 0xec]
mov byte [esp + 0xcac], 9
call fcn.0054c620
lea ecx, [esp + 0xb0]
mov byte [esp + 0xcac], 8
call fcn.005a5a49
lea ecx, [esp + 0xac]
mov byte [esp + 0xcac], 7
call fcn.0059df40
lea ecx, [esp + 0xa8]
mov byte [esp + 0xcac], 6
call fcn.0059df40
lea ecx, [esp + 0xa4]
mov byte [esp + 0xcac], 5
call fcn.0059df40
lea ecx, [esp + 0xa0]
mov byte [esp + 0xcac], 4
call fcn.0059df40
lea ecx, [esp + 0x90]
mov byte [esp + 0xcac], 3
call fcn.00401070
lea ecx, [esp + 0x8c]
mov byte [esp + 0xcac], 2
call fcn.0059df40
lea ecx, [esp + 0x2c]
mov byte [esp + 0xcac], bl
call fcn.00599b14
cmp edi, ebx
jne 0x487cb8
mov edx, str.scheduler.chm
test edx, edx
je 0x487cb8
push edx
call fcn.00581b1a
add esp, 4
test eax, eax
je 0x487cb8
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x487c50
push eax
call fcn.00581b1a
add esp, 4
mov esi, eax
jmp 0x487c52
xor esi, esi
push str.scheduler.chm
call fcn.00581b1a
add eax, esi
lea eax, [eax + eax + 2]
push eax
call fcn.0059a2da
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x487cb8
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x487c90
push eax
push esi
call fcn.00581cba
push str.scheduler.chm
push esi
call fcn.00581c90
add esp, 0x10
jmp 0x487c9e
push str.scheduler.chm
push esi
call fcn.00581cba
add esp, 8
lea ecx, [esp + 0x10]
call fcn.00401070
push esi
mov dword [esp + 0x14], esi
call fcn.00581b1a
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x487cc4
lea eax, [esp + 0x14]
push eax
call ebp
cmp eax, 0xffffffff
pop ebp
jne 0x487ecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x487ecb
push ebx
lea ecx, [esp + 0x2c]
call fcn.00433a40
push str._data_v4_
lea ecx, [esp + 0xa8]
mov byte [esp + 0xcac], 0xa
call fcn.0059e0c9
push 0x65a8b8
lea ecx, [esp + 0xa4]
call fcn.0059e0c9
mov eax, dword [esp + 0xc]
cmp eax, ebx
jne 0x487d20
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x90]
call fcn.00401fc0
mov ecx, dword [esp + 0x18]
push 0x67ec24
mov byte [esp + 0x9c], 1
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x88], edx
call fcn.0059e079
lea ecx, [esp + 0x28]
call fcn.00599ed3
cmp eax, 1
je 0x487e1b
lea ecx, [esp + 0xe8]
mov byte [esp + 0xca8], 0x12
call fcn.0054c620
lea ecx, [esp + 0xac]
mov byte [esp + 0xca8], 0x11
call fcn.005a5a49
lea ecx, [esp + 0xa8]
mov byte [esp + 0xca8], 0x10
call fcn.0059df40
lea ecx, [esp + 0xa4]
mov byte [esp + 0xca8], 0xf
call fcn.0059df40
lea ecx, [esp + 0xa0]
mov byte [esp + 0xca8], 0xe
call fcn.0059df40
lea ecx, [esp + 0x9c]
mov byte [esp + 0xca8], 0xd
call fcn.0059df40
lea ecx, [esp + 0x8c]
mov byte [esp + 0xca8], 0xc
call fcn.00401070
lea ecx, [esp + 0x88]
mov byte [esp + 0xca8], 0xb
call fcn.0059df40
lea ecx, [esp + 0x28]
mov byte [esp + 0xca8], bl
call fcn.00599b14
jmp 0x487fe3
lea ecx, [esp + 0xe8]
mov byte [esp + 0xca8], 0x1a
call fcn.0054c620
lea ecx, [esp + 0xac]
mov byte [esp + 0xca8], 0x19
call fcn.005a5a49
lea ecx, [esp + 0xa8]
mov byte [esp + 0xca8], 0x18
call fcn.0059df40
lea ecx, [esp + 0xa4]
mov byte [esp + 0xca8], 0x17
call fcn.0059df40
lea ecx, [esp + 0xa0]
mov byte [esp + 0xca8], 0x16
call fcn.0059df40
lea ecx, [esp + 0x9c]
mov byte [esp + 0xca8], 0x15
call fcn.0059df40
lea ecx, [esp + 0x8c]
mov byte [esp + 0xca8], 0x14
call fcn.00401070
lea ecx, [esp + 0x88]
mov byte [esp + 0xca8], 0x13
call fcn.0059df40
lea ecx, [esp + 0x28]
mov byte [esp + 0xca8], bl
call fcn.00599b14
mov edi, dword [esp + 0xcb0]
cmp edi, ebx
je 0x487fb7
mov eax, 0x65a84c
test eax, eax
je 0x487f71
push eax
call fcn.00581b1a
add esp, 4
test eax, eax
je 0x487f71
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x487f09
push eax
call fcn.00581b1a
add esp, 4
mov esi, eax
jmp 0x487f0b
xor esi, esi
push 0x65a84c
call fcn.00581b1a
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.0059a2da
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x487f71
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x487f49
push eax
push esi
call fcn.00581cba
push 0x65a84c
push esi
call fcn.00581c90
add esp, 0x10
jmp 0x487f57
push 0x65a84c
push esi
call fcn.00581cba
add esp, 8
lea ecx, [esp + 0xc]
call fcn.00401070
push esi
mov dword [esp + 0x10], esi
call fcn.00581b1a
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 + 0xca8], 0x1b
cmp eax, ebx
jne 0x487f9d
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
call fcn.00448c60
lea ecx, [esp + 0x1c]
mov byte [esp + 0xca8], bl
call fcn.00401070
cmp dword [0x67e940], ebx
je 0x487fe3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0059a83d
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 [0x67e940]
lea ecx, [esp + 0xc]
mov dword [esp + 0xca8], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0xca0]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xca0
ret 4