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

Disassembly:
push 0xffffffffffffffff
push 0x5c9404
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcf4
mov eax, dword [0x691b38]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x18], ecx
jne 0x48c3b2
mov eax, 0x691b3c
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.00401ee0
mov eax, dword [0x691a8c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0xd0c], ebx
je 0x48c585
mov eax, dword [0x691a70]
cmp eax, ebx
je 0x48c585
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x48c585
mov eax, dword [0x691a70]
push eax
call ebp
cmp eax, 0xffffffff
je 0x48c424
mov ecx, dword [0x691a70]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401ee0
jmp 0x48c61c
mov edx, dword [0x691a70]
push 0x5c
push edx
call fcn.00591662
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x48c585
push ebx
lea ecx, [esp + 0x30]
add esi, 2
call fcn.00436940
push str._languages_
lea ecx, [esp + 0xac]
mov byte [esp + 0xd10], 1
call fcn.005addd6
push esi
lea ecx, [esp + 0xa8]
call fcn.005addfd
mov eax, dword [0x691a70]
lea ecx, [esp + 0x90]
push eax
call fcn.00401ee0
mov ecx, dword [esp + 0x1c]
push 0x6924c8
mov byte [esp + 0xa0], 1
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x90]
mov dword [esp + 0x8c], edx
call fcn.005add86
lea ecx, [esp + 0x2c]
call fcn.005a9be3
cmp eax, 1
jne 0x48c4cd
mov eax, dword [0x691a70]
lea ecx, [esp + 0x10]
push eax
call fcn.00401ee0
mov edi, 1
lea ecx, [esp + 0xec]
mov byte [esp + 0xd0c], 9
call fcn.0055bd60
lea ecx, [esp + 0xb0]
mov byte [esp + 0xd0c], 8
call fcn.005b5759
lea ecx, [esp + 0xac]
mov byte [esp + 0xd0c], 7
call fcn.005adc4d
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd0c], 6
call fcn.005adc4d
lea ecx, [esp + 0xa4]
mov byte [esp + 0xd0c], 5
call fcn.005adc4d
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd0c], 4
call fcn.005adc4d
lea ecx, [esp + 0x90]
mov byte [esp + 0xd0c], 3
call fcn.00401070
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd0c], 2
call fcn.005adc4d
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd0c], bl
call fcn.005a9824
cmp edi, ebx
jne 0x48c61c
mov ecx, str.grabber.chm
test ecx, ecx
je 0x48c61c
push ecx
call fcn.00591712
add esp, 4
test eax, eax
je 0x48c61c
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x48c5b4
push eax
call fcn.00591712
add esp, 4
mov esi, eax
jmp 0x48c5b6
xor esi, esi
push str.grabber.chm
call fcn.00591712
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.005a9fe9
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x48c61c
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x48c5f4
push eax
push esi
call fcn.005918aa
push str.grabber.chm
push esi
call fcn.00591880
add esp, 0x10
jmp 0x48c602
push str.grabber.chm
push esi
call fcn.005918aa
add esp, 8
lea ecx, [esp + 0x10]
call fcn.00401070
push esi
mov dword [esp + 0x14], esi
call fcn.00591712
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x48c628
lea eax, [esp + 0x14]
push eax
call ebp
cmp eax, 0xffffffff
pop ebp
jne 0x48c82f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x48c82f
push ebx
lea ecx, [esp + 0x2c]
call fcn.00436940
push str._data_v4_
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd0c], 0xa
call fcn.005addd6
push 0x66d694
lea ecx, [esp + 0xa4]
call fcn.005addd6
mov eax, dword [esp + 0xc]
cmp eax, ebx
jne 0x48c684
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x90]
call fcn.00401ee0
mov eax, dword [esp + 0x18]
push 0x6924c8
mov byte [esp + 0x9c], 1
mov ecx, dword [eax + 4]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x8c]
call fcn.005add86
lea ecx, [esp + 0x28]
call fcn.005a9be3
cmp eax, 1
je 0x48c77f
lea ecx, [esp + 0xe8]
mov byte [esp + 0xd08], 0x12
call fcn.0055bd60
lea ecx, [esp + 0xac]
mov byte [esp + 0xd08], 0x11
call fcn.005b5759
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd08], 0x10
call fcn.005adc4d
lea ecx, [esp + 0xa4]
mov byte [esp + 0xd08], 0xf
call fcn.005adc4d
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd08], 0xe
call fcn.005adc4d
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd08], 0xd
call fcn.005adc4d
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd08], 0xc
call fcn.00401070
lea ecx, [esp + 0x88]
mov byte [esp + 0xd08], 0xb
call fcn.005adc4d
lea ecx, [esp + 0x28]
mov byte [esp + 0xd08], bl
call fcn.005a9824
jmp 0x48c947
lea ecx, [esp + 0xe8]
mov byte [esp + 0xd08], 0x1a
call fcn.0055bd60
lea ecx, [esp + 0xac]
mov byte [esp + 0xd08], 0x19
call fcn.005b5759
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd08], 0x18
call fcn.005adc4d
lea ecx, [esp + 0xa4]
mov byte [esp + 0xd08], 0x17
call fcn.005adc4d
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd08], 0x16
call fcn.005adc4d
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd08], 0x15
call fcn.005adc4d
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd08], 0x14
call fcn.00401070
lea ecx, [esp + 0x88]
mov byte [esp + 0xd08], 0x13
call fcn.005adc4d
lea ecx, [esp + 0x28]
mov byte [esp + 0xd08], bl
call fcn.005a9824
mov edi, dword [esp + 0xd10]
cmp edi, ebx
je 0x48c91b
mov edx, 0x66d64c
test edx, edx
je 0x48c8d5
push edx
call fcn.00591712
add esp, 4
test eax, eax
je 0x48c8d5
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x48c86d
push eax
call fcn.00591712
add esp, 4
mov esi, eax
jmp 0x48c86f
xor esi, esi
push 0x66d64c
call fcn.00591712
add eax, esi
lea eax, [eax + eax + 2]
push eax
call fcn.005a9fe9
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x48c8d5
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x48c8ad
push eax
push esi
call fcn.005918aa
push 0x66d64c
push esi
call fcn.00591880
add esp, 0x10
jmp 0x48c8bb
push 0x66d64c
push esi
call fcn.005918aa
add esp, 8
lea ecx, [esp + 0xc]
call fcn.00401070
push esi
mov dword [esp + 0x10], esi
call fcn.00591712
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.00402800
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xd08], 0x1b
cmp eax, ebx
jne 0x48c901
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
call fcn.0044c5e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd08], bl
call fcn.00401070
cmp dword [0x691f30], ebx
je 0x48c947
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005aa54c
push ebx
push ebx
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00401ed0
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x691f30]
lea ecx, [esp + 0xc]
mov dword [esp + 0xd08], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0xd00]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xd00
ret 4