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

Disassembly:
push 0xffffffffffffffff
push 0x5506f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x95c
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
lea eax, [esi + 4]
push eax
call fcn.00537879
mov eax, dword [0x5ba7e0]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x970], ebp
je 0x45d6dc
mov edx, dword [0x5ba7c8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x45d6dc
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x45d59a
push 0x5ba7c8
lea ecx, [esp + 0x10]
call fcn.00537c3d
jmp 0x45d6ea
mov ecx, dword [0x5ba7c8]
push 0x5c
push ecx
call fcn.0051c7b0
mov edi, eax
add esp, 8
test edi, edi
je 0x45d6dc
push 0
lea ecx, [esp + 0x14]
inc edi
call fcn.00422180
push str._languages_
lea ecx, [esp + 0x88]
mov byte [esp + 0x974], 1
call fcn.00537c8d
push edi
lea ecx, [esp + 0x84]
call fcn.00537c8d
push 0x5ba7c8
lea ecx, [esp + 0x78]
call fcn.00537c3d
mov edx, dword [esi + 8]
push 0x5baf24
lea ecx, [esp + 0x74]
mov dword [esp + 0x70], edx
mov byte [esp + 0x7c], 1
call fcn.00537c3d
lea ecx, [esp + 0x10]
call fcn.00533ae5
cmp eax, 1
jne 0x45d630
push 0x5ba7c8
lea ecx, [esp + 0x10]
call fcn.00537c3d
mov ebp, 1
lea ecx, [esp + 0xc8]
mov byte [esp + 0x970], 9
call fcn.004f5e70
lea ecx, [esp + 0x8c]
mov byte [esp + 0x970], 8
call fcn.0053f83e
lea ecx, [esp + 0x88]
mov byte [esp + 0x970], 7
call fcn.00537b04
lea ecx, [esp + 0x84]
mov byte [esp + 0x970], 6
call fcn.00537b04
lea ecx, [esp + 0x80]
mov byte [esp + 0x970], 5
call fcn.00537b04
lea ecx, [esp + 0x7c]
mov byte [esp + 0x970], 4
call fcn.00537b04
lea ecx, [esp + 0x74]
mov byte [esp + 0x970], 3
call fcn.00537b04
lea ecx, [esp + 0x70]
mov byte [esp + 0x970], 2
call fcn.00537b04
lea ecx, [esp + 0x10]
mov byte [esp + 0x970], 0
call fcn.00533726
test ebp, ebp
jne 0x45d6ea
push str.grabber.chm
lea ecx, [esp + 0x10]
call fcn.00537ee0
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or edi, 0xffffffff
cmp eax, edi
jne 0x45d8d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x45d8d3
push 0
lea ecx, [esp + 0x14]
call fcn.00422180
push str._data_v4_
lea ecx, [esp + 0x88]
mov byte [esp + 0x974], 0xa
call fcn.00537c8d
push str.grabber.chm
lea ecx, [esp + 0x84]
call fcn.00537c8d
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x78]
call fcn.00537c3d
mov edx, dword [esi + 8]
push 0x5baf24
lea ecx, [esp + 0x74]
mov dword [esp + 0x70], edx
mov byte [esp + 0x7c], 1
call fcn.00537c3d
lea ecx, [esp + 0x10]
call fcn.00533ae5
cmp eax, 1
je 0x45d82b
lea ecx, [esp + 0xc8]
mov byte [esp + 0x970], 0x12
call fcn.004f5e70
lea ecx, [esp + 0x8c]
mov byte [esp + 0x970], 0x11
call fcn.0053f83e
lea ecx, [esp + 0x88]
mov byte [esp + 0x970], 0x10
call fcn.00537b04
lea ecx, [esp + 0x84]
mov byte [esp + 0x970], 0xf
call fcn.00537b04
lea ecx, [esp + 0x80]
mov byte [esp + 0x970], 0xe
call fcn.00537b04
lea ecx, [esp + 0x7c]
mov byte [esp + 0x970], 0xd
call fcn.00537b04
lea ecx, [esp + 0x74]
mov byte [esp + 0x970], 0xc
call fcn.00537b04
lea ecx, [esp + 0x70]
mov byte [esp + 0x970], 0xb
call fcn.00537b04
lea ecx, [esp + 0x10]
mov byte [esp + 0x970], 0
call fcn.00533726
jmp 0x45d91e
lea ecx, [esp + 0xc8]
mov byte [esp + 0x970], 0x1a
call fcn.004f5e70
lea ecx, [esp + 0x8c]
mov byte [esp + 0x970], 0x19
call fcn.0053f83e
lea ecx, [esp + 0x88]
mov byte [esp + 0x970], 0x18
call fcn.00537b04
lea ecx, [esp + 0x84]
mov byte [esp + 0x970], 0x17
call fcn.00537b04
lea ecx, [esp + 0x80]
mov byte [esp + 0x970], 0x16
call fcn.00537b04
lea ecx, [esp + 0x7c]
mov byte [esp + 0x970], 0x15
call fcn.00537b04
lea ecx, [esp + 0x74]
mov byte [esp + 0x970], 0x14
call fcn.00537b04
lea ecx, [esp + 0x70]
mov byte [esp + 0x970], 0x13
call fcn.00537b04
lea ecx, [esp + 0x10]
mov byte [esp + 0x970], 0
call fcn.00533726
mov esi, dword [esp + 0x978]
test esi, esi
je 0x45d8f6
push 0x59e57c
lea ecx, [esp + 0x10]
call fcn.00537ee0
push esi
lea ecx, [esp + 0x10]
call fcn.00537ee0
mov eax, dword [0x5babd8]
test eax, eax
je 0x45d91e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00534401
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + 0x1c]
push 0
push 0
push ecx
push edx
call dword [0x5babd8]
lea ecx, [esp + 0xc]
mov dword [esp + 0x970], edi
call fcn.00537b04
mov ecx, dword [esp + 0x968]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x968
ret 4