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

Disassembly:
push 0xffffffffffffffff
push 0x550484
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x960
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
lea ebp, [esi + 4]
push ebp
call fcn.00537879
mov eax, dword [0x5ba7e0]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x978], ebx
je 0x45cd75
mov edx, dword [0x5ba7c0]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x45cd75
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x45cc2b
push 0x5ba7c0
lea ecx, [esp + 0x14]
call fcn.00537c3d
jmp 0x45cd83
mov eax, dword [0x5ba7c0]
push 0x5c
push eax
call fcn.0051c7b0
mov edi, eax
add esp, 8
test edi, edi
je 0x45cd75
push 0
lea ecx, [esp + 0x1c]
inc edi
call fcn.00422180
push str._languages_
lea ecx, [esp + 0x90]
mov byte [esp + 0x97c], 1
call fcn.00537c8d
push edi
lea ecx, [esp + 0x8c]
call fcn.00537c8d
push 0x5ba7c0
lea ecx, [esp + 0x80]
call fcn.00537c3d
mov ecx, dword [esi + 8]
push 0x5bb450
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x84], 1
call fcn.00537c3d
lea ecx, [esp + 0x18]
call fcn.00533ae5
cmp eax, 1
jne 0x45ccc6
push 0x5ba7c0
lea ecx, [esp + 0x14]
call fcn.00537c3d
mov ebx, 1
lea ecx, [esp + 0xd0]
mov byte [esp + 0x978], 9
call fcn.004f5e70
lea ecx, [esp + 0x94]
mov byte [esp + 0x978], 8
call fcn.0053f83e
lea ecx, [esp + 0x90]
mov byte [esp + 0x978], 7
call fcn.00537b04
lea ecx, [esp + 0x8c]
mov byte [esp + 0x978], 6
call fcn.00537b04
lea ecx, [esp + 0x88]
mov byte [esp + 0x978], 5
call fcn.00537b04
lea ecx, [esp + 0x84]
mov byte [esp + 0x978], 4
call fcn.00537b04
lea ecx, [esp + 0x7c]
mov byte [esp + 0x978], 3
call fcn.00537b04
lea ecx, [esp + 0x78]
mov byte [esp + 0x978], 2
call fcn.00537b04
lea ecx, [esp + 0x18]
mov byte [esp + 0x978], 0
call fcn.00533726
test ebx, ebx
jne 0x45cd83
push str.idman.chm
lea ecx, [esp + 0x14]
call fcn.00537ee0
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push edx
call edi
cmp eax, 0xffffffff
jne 0x45cff8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x45cff8
push ebp
lea ecx, [esp + 0x18]
call fcn.00537879
mov bl, 0xa
push str.idman.hlp
lea ecx, [esp + 0x18]
mov byte [esp + 0x97c], bl
call fcn.00537ee0
mov eax, dword [esp + 0x14]
push eax
call edi
or edi, 0xffffffff
cmp eax, edi
je 0x45ce01
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00534401
mov ecx, dword [esp + 0x980]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0x1c]
push ecx
push 1
push edx
push eax
call dword [sym.imp.USER32.dll_WinHelpA]
jmp 0x45cf20
push 0
lea ecx, [esp + 0x1c]
call fcn.00422180
push str._data_v4_
lea ecx, [esp + 0x90]
mov byte [esp + 0x97c], 0xb
call fcn.00537c8d
push str.idman.chm
lea ecx, [esp + 0x8c]
call fcn.00537c8d
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x80]
call fcn.00537c3d
mov edx, dword [esi + 8]
push 0x5bb450
lea ecx, [esp + 0x7c]
mov dword [esp + 0x78], edx
mov byte [esp + 0x84], 1
call fcn.00537c3d
lea ecx, [esp + 0x18]
call fcn.00533ae5
cmp eax, 1
je 0x45cf3d
lea ecx, [esp + 0xd0]
mov byte [esp + 0x978], 0x13
call fcn.004f5e70
lea ecx, [esp + 0x94]
mov byte [esp + 0x978], 0x12
call fcn.0053f83e
lea ecx, [esp + 0x90]
mov byte [esp + 0x978], 0x11
call fcn.00537b04
lea ecx, [esp + 0x8c]
mov byte [esp + 0x978], 0x10
call fcn.00537b04
lea ecx, [esp + 0x88]
mov byte [esp + 0x978], 0xf
call fcn.00537b04
lea ecx, [esp + 0x84]
mov byte [esp + 0x978], 0xe
call fcn.00537b04
lea ecx, [esp + 0x7c]
mov byte [esp + 0x978], 0xd
call fcn.00537b04
lea ecx, [esp + 0x78]
mov byte [esp + 0x978], 0xc
call fcn.00537b04
lea ecx, [esp + 0x18]
mov byte [esp + 0x978], bl
call fcn.00533726
lea ecx, [esp + 0x14]
mov byte [esp + 0x978], 0
call fcn.00537b04
mov dword [esp + 0x978], edi
jmp 0x45d04e
lea ecx, [esp + 0xd0]
mov byte [esp + 0x978], 0x1b
call fcn.004f5e70
lea ecx, [esp + 0x94]
mov byte [esp + 0x978], 0x1a
call fcn.0053f83e
lea ecx, [esp + 0x90]
mov byte [esp + 0x978], 0x19
call fcn.00537b04
lea ecx, [esp + 0x8c]
mov byte [esp + 0x978], 0x18
call fcn.00537b04
lea ecx, [esp + 0x88]
mov byte [esp + 0x978], 0x17
call fcn.00537b04
lea ecx, [esp + 0x84]
mov byte [esp + 0x978], 0x16
call fcn.00537b04
lea ecx, [esp + 0x7c]
mov byte [esp + 0x978], 0x15
call fcn.00537b04
lea ecx, [esp + 0x78]
mov byte [esp + 0x978], 0x14
call fcn.00537b04
lea ecx, [esp + 0x18]
mov byte [esp + 0x978], bl
call fcn.00533726
lea ecx, [esp + 0x14]
mov byte [esp + 0x978], 0
call fcn.00537b04
mov esi, dword [esp + 0x984]
test esi, esi
je 0x45d01b
push 0x59e57c
lea ecx, [esp + 0x14]
call fcn.00537ee0
push esi
lea ecx, [esp + 0x14]
call fcn.00537ee0
mov eax, dword [0x5babd8]
test eax, eax
je 0x45d043
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00534401
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 0x1c]
push 0
push 0
push ecx
push edx
call dword [0x5babd8]
mov dword [esp + 0x978], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00537b04
mov ecx, dword [esp + 0x970]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x96c
ret 8