Function at 0x4089a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x537250
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x5ab980]
push ebx
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 8], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov bl, 7
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.00512a1d
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x24]
call fcn.00512a1d
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
push edx
call fcn.00512a1d
mov eax, dword [esp + 0x38]
push str.InstallShortcut
mov ecx, dword [eax]
push ecx
call fcn.004f9670
add esp, 8
test eax, eax
je 0x408cec
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 8]
test eax, eax
je 0x408a9d
lea ecx, [esp + 0x20]
call fcn.0050e8af
push 0
push 0x20
lea ecx, [esp + 0x28]
call fcn.00512db9
cmp eax, 0xffffffff
jne 0x408a9d
push 0
push 0x2e
lea ecx, [esp + 0x28]
call fcn.00512db9
cmp eax, 0xffffffff
je 0x408a9d
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.00512b13
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 8
call fcn.00512a1d
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x44]
jmp 0x408e70
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
test eax, eax
je 0x408f1a
push 0x22
lea ecx, [esp + 0x10]
call fcn.0050e86c
push 0x22
lea ecx, [esp + 0x10]
call fcn.0050e776
push 0
push 0x2c
lea ecx, [esp + 0x14]
call fcn.00512db9
cmp eax, 0xffffffff
mov dword [esp + 0x40], eax
je 0x408f1a
lea edx, [esp + 0x40]
push 0x2c
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.004229b0
add esp, 0x10
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 9
call fcn.00512a1d
lea ecx, [esp + 0x44]
mov byte [esp + 0x30], bl
call fcn.005128e4
lea ecx, [esp + 8]
call fcn.0050e8af
push 0x22
lea ecx, [esp + 0xc]
call fcn.0050e86c
push 0x22
lea ecx, [esp + 0xc]
call fcn.0050e776
lea edx, [esp + 0x40]
push 0x2c
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.004229b0
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 0xa
call fcn.00512a1d
lea ecx, [esp + 0x44]
mov byte [esp + 0x30], bl
call fcn.005128e4
lea ecx, [esp + 0x14]
call fcn.0050e8af
push 0x22
lea ecx, [esp + 0x18]
call fcn.0050e86c
push 0x22
lea ecx, [esp + 0x18]
call fcn.0050e776
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x408bf7
push 0x2e
lea ecx, [esp + 0x18]
call fcn.0050e31f
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov ecx, dword [ecx - 8]
add ecx, 0xfffffffc
cmp eax, ecx
jl 0x408bf7
test eax, eax
jle 0x408bf7
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.00512b13
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0xb
call fcn.00512a1d
lea ecx, [esp + 0x44]
mov byte [esp + 0x30], bl
call fcn.005128e4
lea edx, [esp + 0x10]
lea ecx, [esp + 0x10]
push edx
call fcn.00512a1d
lea eax, [esp + 0x14]
jmp 0x408e79
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
test eax, eax
je 0x408f1a
push 0x2e
lea ecx, [esp + 0xc]
call fcn.0050e31f
mov edx, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [edx - 8]
add ecx, 0xfffffffc
cmp eax, ecx
jl 0x408c6f
test eax, eax
jle 0x408c6f
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.00512b13
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0xc
call fcn.00512a1d
lea ecx, [esp + 0x44]
mov byte [esp + 0x30], bl
call fcn.005128e4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
call fcn.00512a1d
lea ecx, [esp + 8]
push ecx
jmp 0x408e7a
push 0x5f
lea ecx, [esp + 0xc]
call fcn.0050e31f
mov edx, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [edx - 8]
add ecx, 0xfffffffc
cmp eax, ecx
jl 0x408f1a
test eax, eax
jle 0x408f1a
push 0x2e
push eax
lea ecx, [esp + 0x10]
call fcn.00512e3c
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.00512b13
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0xd
call fcn.00512a1d
lea ecx, [esp + 0x44]
mov byte [esp + 0x30], bl
call fcn.005128e4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
call fcn.00512a1d
lea ecx, [esp + 8]
push ecx
jmp 0x408e7a
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 8]
test eax, eax
je 0x408f1a
push 0x22
lea ecx, [esp + 0x10]
call fcn.0050e86c
push 0x22
lea ecx, [esp + 0x10]
call fcn.0050e776
push 0
push 0x3c
lea ecx, [esp + 0x14]
call fcn.00512db9
cmp eax, 0xffffffff
mov dword [esp + 0x40], eax
je 0x408dc8
lea eax, [esp + 0x40]
push 0x3e
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.004229b0
add esp, 0x10
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 0xe
call fcn.00512a1d
lea ecx, [esp + 0x44]
mov byte [esp + 0x30], bl
call fcn.005128e4
lea ecx, [esp + 8]
call fcn.0050e8af
push 0x22
lea ecx, [esp + 0xc]
call fcn.0050e86c
push 0x22
lea ecx, [esp + 0xc]
call fcn.0050e776
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x408f1a
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x48]
push edx
push eax
call fcn.00512b13
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0xf
call fcn.00512a1d
lea ecx, [esp + 0x44]
mov byte [esp + 0x30], bl
call fcn.005128e4
lea ecx, [esp + 8]
push ecx
jmp 0x408e7a
push 0
push 0x2c
lea ecx, [esp + 0x14]
call fcn.00512db9
cmp eax, 0xffffffff
mov dword [esp + 0x40], eax
je 0x408f1a
lea edx, [esp + 0x40]
push 0x2c
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.004229b0
add esp, 0x10
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 0x10
call fcn.00512a1d
lea ecx, [esp + 0x44]
mov byte [esp + 0x30], bl
call fcn.005128e4
lea ecx, [esp + 8]
call fcn.0050e8af
push 0x22
lea ecx, [esp + 0xc]
call fcn.0050e86c
push 0x22
lea ecx, [esp + 0xc]
call fcn.0050e776
mov edx, dword [esp + 8]
mov eax, dword [edx - 8]
test eax, eax
je 0x408f1a
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.00512b13
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0x11
call fcn.00512a1d
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x44]
call fcn.005128e4
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x20]
call fcn.00512a1d
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.00407e10
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 6
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call fcn.005128e4
lea ecx, [esp + 8]
mov byte [esp + 0x30], 4
call fcn.005128e4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 3
call fcn.005128e4
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x10
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 6
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call fcn.005128e4
lea ecx, [esp + 8]
mov byte [esp + 0x30], 4
call fcn.005128e4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 3
call fcn.005128e4
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
mov ecx, dword [esp + 0x28]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x10