Function at 0x439140
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x4534f6
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4652b0]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push ebp
push esi
mov eax, dword [0x4652b0]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov eax, dword [esp + 0x254]
mov ebp, dword [esp + 0x25c]
xor esi, esi
mov ebx, edx
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 0x14]
push edx
push 0x45645c
push 1
push esi
push 0x45646c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x439368
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
call fcn.004235c0
mov dword [esp + 0x24c], 0
mov ecx, dword [esp + 0x18]
push 0x5c
push ecx
call fcn.0043e04e
add esp, 8
test eax, eax
je 0x439248
sub eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x439248
lea ecx, [esp + 0x28]
lea edx, [esp + 0x18]
call fcn.00427400
lea ebx, [esp + 0x18]
mov byte [esp + 0x24c], 1
call fcn.004044d0
mov byte [esp + 0x24c], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439244
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test edi, edi
je 0x439277
cmp byte [edi], 0
je 0x439277
mov edx, dword [esp + 0x258]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push edi
push eax
mov eax, dword [ecx + 0x44]
call eax
test ebx, ebx
je 0x439282
mov ecx, ebx
call fcn.004393c0
test ebp, ebp
je 0x439299
cmp byte [ebp], 0
je 0x439299
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push ebp
push eax
call edx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4392b3
cmp byte [ecx], 0
je 0x4392b3
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x45647c
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jl 0x439331
xor ecx, ecx
push 0x208
push ecx
lea edx, [esp + 0x3a]
push edx
mov word [esp + 0x3c], cx
call fcn.00443400
add esp, 0xc
push 0x104
lea eax, [esp + 0x34]
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439368
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
jl 0x439379
mov eax, 1
jmp 0x439395
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.RsInStallLnkFailed_hr_d_Err_d
push 0x80
call fcn.004025a0
add esp, 0x10
xor eax, eax
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0043defc
add esp, 0x240
ret 0xc