Function at 0x534170
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x589b51
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov eax, dword [esp + 0x248]
mov ebp, dword [esp + 0x244]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x240], ebx
call fcn.00481430
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 1
call fcn.00534480
mov esi, eax
cmp esi, ebx
jge 0x534237
mov byte [esp + 0x23c], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x534215
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x23c], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x534230
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
jmp 0x534457
lea eax, [esp + 0x10]
push eax
push 0x5a29ec
push 1
push ebx
push 0x5a2a7c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x5341ee
mov dword [esp + 0x18], ebx
mov byte [esp + 0x23c], 2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x5bcc24
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
cmp esi, ebx
jge 0x53429d
mov byte [esp + 0x23c], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x5341ee
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x5341ee
cmp dword [esp + 0x24c], ebx
je 0x534375
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x534375
push 0x208
lea ecx, [esp + 0x2a]
push ebx
push ecx
mov word [esp + 0x30], bx
call fcn.005695a0
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
add esp, 0xc
push 0x104
lea ecx, [esp + 0x28]
push ecx
push eax
call edx
test eax, eax
jne 0x534375
mov ecx, edi
lea eax, [esp + 0x24]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x534326
cmp dx, bx
je 0x534322
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x534326
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x534300
xor eax, eax
jmp 0x53432b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x534375
mov byte [esp + 0x23c], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x534347
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x14]
call fcn.004818c0
mov dword [esp + 0x23c], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x53436b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0xb7
jmp 0x534457
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov esi, eax
cmp esi, ebx
jge 0x5343b2
mov byte [esp + 0x23c], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x5343a4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x14]
call fcn.004818c0
jmp 0x534215
cmp edi, ebx
je 0x5343c9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push edi
push eax
call edx
mov esi, eax
cmp esi, ebx
jl 0x53438c
cmp ebp, ebx
je 0x5343e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push ebp
push eax
call edx
mov esi, eax
cmp esi, ebx
jl 0x53438c
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x5343fc
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
mov esi, eax
cmp esi, ebx
jl 0x53438c
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
cmp esi, ebx
mov byte [esp + 0x23c], 1
mov eax, dword [esp + 0x18]
jl 0x534398
cmp eax, ebx
je 0x534431
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x14]
call fcn.004818c0
mov dword [esp + 0x23c], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x534455
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00564207
add esp, 0x230
ret