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

Disassembly:
push 0xffffffffffffffff
push 0x5845f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8ec
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
lea eax, [ebp + 4]
push eax
call fcn.00569e75
mov eax, dword [0x63e438]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x904], ebx
je 0x474e2a
mov edx, dword [0x63e424]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x474e2a
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x474cdb
push 0x63e424
lea ecx, [esp + 0x14]
call fcn.0056a239
jmp 0x474e38
mov ecx, dword [0x63e424]
push 0x5c
push ecx
call fcn.0054dff0
mov esi, eax
add esp, 8
test esi, esi
je 0x474e2a
push 0
lea ecx, [esp + 0x18]
inc esi
call fcn.0042b4f0
push str._languages_
lea ecx, [esp + 0x94]
mov byte [esp + 0x908], 1
call fcn.0056a289
push esi
lea ecx, [esp + 0x90]
call fcn.0056a289
mov edx, dword [0x63e424]
push 0
push edx
lea ecx, [esp + 0x80]
call fcn.004024c0
mov eax, dword [ebp + 8]
push 0x63ea4c
lea ecx, [esp + 0x78]
mov dword [esp + 0x74], eax
mov byte [esp + 0x88], 1
call fcn.0056a239
lea ecx, [esp + 0x14]
call fcn.00566096
cmp eax, 1
jne 0x474d7b
push 0x63e424
lea ecx, [esp + 0x14]
call fcn.0056a239
mov ebx, 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x904], 9
call fcn.0051e0a0
lea ecx, [esp + 0x98]
mov byte [esp + 0x904], 8
call fcn.00571d9b
lea ecx, [esp + 0x94]
mov byte [esp + 0x904], 7
call fcn.0056a100
lea ecx, [esp + 0x90]
mov byte [esp + 0x904], 6
call fcn.0056a100
lea ecx, [esp + 0x8c]
mov byte [esp + 0x904], 5
call fcn.0056a100
lea ecx, [esp + 0x88]
mov byte [esp + 0x904], 4
call fcn.0056a100
lea ecx, [esp + 0x78]
mov byte [esp + 0x904], 3
call fcn.00401070
lea ecx, [esp + 0x74]
mov byte [esp + 0x904], 2
call fcn.0056a100
lea ecx, [esp + 0x14]
mov byte [esp + 0x904], 0
call fcn.00565cd7
test ebx, ebx
jne 0x474e38
push str.scheduler.chm
lea ecx, [esp + 0x14]
call fcn.0056a476
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x475081
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x475081
push 0
lea ecx, [esp + 0x18]
call fcn.0042b4f0
push str._data_v4_
lea ecx, [esp + 0x94]
mov byte [esp + 0x908], 0xa
call fcn.0056a289
push str.scheduler.chm
lea ecx, [esp + 0x90]
call fcn.0056a289
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x78]
call fcn.00401070
test esi, esi
je 0x474ef7
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x474ef7
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push esi
push eax
push eax
call edi
test eax, eax
mov dword [esp + 0x80], eax
je 0x474ef7
lea edx, [eax + eax + 2]
push edx
call fcn.0056649c
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
je 0x474ef7
mov ecx, dword [esp + 0x80]
push ecx
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call edi
mov dword [esp + 0x80], eax
mov edx, dword [ebp + 8]
push 0x63ea4c
lea ecx, [esp + 0x78]
mov dword [esp + 0x74], edx
mov byte [esp + 0x88], 1
call fcn.0056a239
lea ecx, [esp + 0x14]
call fcn.00566096
cmp eax, 1
je 0x474fd6
lea ecx, [esp + 0xd4]
mov byte [esp + 0x904], 0x12
call fcn.0051e0a0
lea ecx, [esp + 0x98]
mov byte [esp + 0x904], 0x11
call fcn.00571d9b
lea ecx, [esp + 0x94]
mov byte [esp + 0x904], 0x10
call fcn.0056a100
lea ecx, [esp + 0x90]
mov byte [esp + 0x904], 0xf
call fcn.0056a100
lea ecx, [esp + 0x8c]
mov byte [esp + 0x904], 0xe
call fcn.0056a100
lea ecx, [esp + 0x88]
mov byte [esp + 0x904], 0xd
call fcn.0056a100
lea ecx, [esp + 0x78]
mov byte [esp + 0x904], 0xc
call fcn.00401070
lea ecx, [esp + 0x74]
mov byte [esp + 0x904], 0xb
call fcn.0056a100
lea ecx, [esp + 0x14]
mov byte [esp + 0x904], 0
call fcn.00565cd7
jmp 0x4750cc
lea ecx, [esp + 0xd4]
mov byte [esp + 0x904], 0x1a
call fcn.0051e0a0
lea ecx, [esp + 0x98]
mov byte [esp + 0x904], 0x19
call fcn.00571d9b
lea ecx, [esp + 0x94]
mov byte [esp + 0x904], 0x18
call fcn.0056a100
lea ecx, [esp + 0x90]
mov byte [esp + 0x904], 0x17
call fcn.0056a100
lea ecx, [esp + 0x8c]
mov byte [esp + 0x904], 0x16
call fcn.0056a100
lea ecx, [esp + 0x88]
mov byte [esp + 0x904], 0x15
call fcn.0056a100
lea ecx, [esp + 0x78]
mov byte [esp + 0x904], 0x14
call fcn.00401070
lea ecx, [esp + 0x74]
mov byte [esp + 0x904], 0x13
call fcn.0056a100
lea ecx, [esp + 0x14]
mov byte [esp + 0x904], 0
call fcn.00565cd7
mov esi, dword [esp + 0x90c]
test esi, esi
je 0x4750a4
push 0x61cc34
lea ecx, [esp + 0x14]
call fcn.0056a476
push esi
lea ecx, [esp + 0x14]
call fcn.0056a476
mov eax, dword [0x63e8a8]
test eax, eax
je 0x4750cc
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005669ff
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 0x1c]
push 0
push 0
push ecx
push edx
call dword [0x63e8a8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x904], 0xffffffff
call fcn.0056a100
mov ecx, dword [esp + 0x8fc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8f8
ret 4