Function at 0x404a60
Capabilities:
Access peb ldr_data
Check if file exists
Get file attributes
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x44e5d0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4677a0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00418923
mov eax, dword [esi + 0x74]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [esi + 0x20]
push 1
push 0x80
push eax
call edi
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x20]
push eax
push 0
push 0x80
push ecx
call edi
push 0x457408
lea ecx, [esp + 0x18]
call fcn.004026a0
mov edi, eax
push 0x46eef0
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.004026a0
push edi
push eax
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x38], 1
call fcn.00401ed0
add esp, 0xc
mov byte [esp + 0x2c], 3
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x404b70
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
push edx
push str._bLLLL
push 0
push 0
push 1
lea eax, [esi + 0x78]
push 0x68
push eax
call fcn.0041f132
add esp, 0x2c
jmp 0x404baa
push 0x46eef0
lea ecx, [esp + 0x10]
push str.mk:_MSITStore:_smain.chm::_License.html
push ecx
call fcn.00402bb0
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push edx
push str._bLLLL
push 0
push 0
push 1
lea eax, [esi + 0x78]
push 0x68
push eax
call fcn.0041f132
add esp, 0x38
push 0x45747c
lea ecx, [esp + 0x24]
call fcn.004026a0
mov edi, eax
push 0x46be44
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 5
call fcn.004026a0
push edi
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x38], 6
call fcn.00401ed0
add esp, 0xc
mov byte [esp + 0x2c], 7
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.0041f006
mov byte [esp + 0x2c], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404c15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret