Function at 0x40d5c0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4492c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x460590]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
call fcn.00413d88
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40d609
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
mov dword [esp + 0x48], esi
call fcn.00413d88
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40d637
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x1c]
push ecx
push 0x19
mov byte [esp + 0x50], 1
push esi
mov dword [esp + 0x28], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x40d673
lea ebx, [esp + 0x1c]
lea esi, [esp + 0x20]
call fcn.00411510
mov edi, dword [esp + 0x20]
push 0x4520bc
push edi
lea edx, [esp + 0x2c]
push str._s_s.lnk
push edx
call fcn.004022d0
add esp, 0x10
call fcn.00413d88
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d6a5
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea esi, [esp + 0x18]
mov byte [esp + 0x48], 2
call fcn.00410f20
mov ebp, dword [esp + 0x24]
push ecx
lea ebx, [ebp - 0x10]
mov dword [esp + 0x2c], esp
mov esi, esp
push ebx
mov dword [esp + 0x34], ebx
call fcn.00402190
add eax, 0x10
mov dword [esi], eax
add edi, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push edi
mov byte [esp + 0x54], 3
mov dword [esp + 0x3c], edi
call fcn.00402190
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x50], 2
call fcn.00411590
add esp, 8
test eax, eax
je 0x40d871
mov ecx, dword [esp + 0x18]
push ebp
push ecx
call fcn.00411880
add esp, 8
call fcn.00413d88
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d73d
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x48], 4
call fcn.00413d88
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d76c
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
lea esi, [esp + 0x1c]
mov byte [esp + 0x48], 5
call fcn.00411a30
push 0x2a
push str.MicrosoftInternet_ExplorerQuick_Launch_
mov ecx, esi
call fcn.00405e30
mov edi, dword [esp + 0x1c]
push 0x4520bc
push edi
lea ecx, [esp + 0x30]
push str._s_s.lnk
push ecx
call fcn.004022d0
add esp, 0x10
call fcn.00411ad0
mov ebx, dword [esp + 0x28]
test eax, eax
je 0x40d7d7
push 1
push 0
push 0
push ebp
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40d827
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x38], esp
mov esi, esp
push eax
call fcn.00402190
add eax, 0x10
mov dword [esi], eax
lea eax, [edi - 0x10]
mov dword [esp + 0x40], esp
mov esi, esp
push eax
mov byte [esp + 0x54], 6
call fcn.00402190
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x50], 5
call fcn.00411590
add esp, 8
test eax, eax
je 0x40d827
mov edx, dword [esp + 0x18]
push ebx
push edx
call fcn.00411880
add esp, 8
add ebx, 0xfffffff0
mov byte [esp + 0x48], 4
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d848
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add edi, 0xfffffff0
mov byte [esp + 0x48], 2
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d869
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0x48], 1
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 0x40d896
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d8b4
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [esp + 0x48], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d8d5
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret