Function at 0x40a690
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x497198
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bba40]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 0x3c], 2
call fcn.00445b4d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a6d9
push 0x80004005
call fcn.004010b0
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 + 0x3c], 3
mov ecx, dword [esp + 0x48]
push ecx
lea edx, [esp + 0x20]
push str._s.lnk
push edx
call fcn.00405b00
add esp, 0xc
call fcn.00445b4d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a71f
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
cmp dword [esp + 0x54], 0
mov byte [esp + 0x3c], 4
lea ebx, [esp + 0x24]
jne 0x40a750
push 0x10
call fcn.004061f0
add esp, 4
mov byte [esp + 0x3c], 5
jmp 0x40a75f
push 0x19
call fcn.004061f0
add esp, 4
mov byte [esp + 0x3c], 6
push eax
lea ecx, [esp + 0x1c]
call fcn.00401f70
mov byte [esp + 0x3c], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a78e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.0040b250
mov byte [esp + 0x4c], 7
mov edi, dword [esp + 0x28]
add esp, 8
add edi, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push edi
mov dword [esp + 0x34], edi
call fcn.00402360
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x44], 4
call fcn.004092e0
add esp, 8
test eax, eax
je 0x40aa04
mov ebx, dword [esp + 0x1c]
push 1
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x2c], esp
mov esi, esp
push eax
call fcn.00402360
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x48], 8
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
push eax
call fcn.00402360
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x48], 4
call fcn.0040abe0
add esp, 0xc
cmp dword [esp + 0x50], 0
je 0x40a9b9
call fcn.00445b4d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a84e
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x3c], 9
call fcn.00445b4d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a87d
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea esi, [esp + 0x20]
mov byte [esp + 0x3c], 0xa
call fcn.004091e0
push 0x29
push str.MicrosoftInternet_ExplorerQuick_Launch
mov ecx, esi
call fcn.00405740
mov ebp, dword [esp + 0x20]
push ebx
push ebp
lea ecx, [esp + 0x2c]
push str._s_s
push ecx
call fcn.00405b00
add esp, 0x10
call fcn.00409280
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x40a91d
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0040b250
mov eax, dword [eax]
add esp, 0xc
push 1
push 0
push 0
push eax
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
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 0x40a977
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40a977
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.00402360
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x44], 0xb
lea eax, [ebp - 0x10]
mov dword [esp + 0x38], esp
mov esi, esp
push eax
call fcn.00402360
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x44], 0xa
call fcn.004092e0
add esp, 8
test eax, eax
je 0x40a977
mov ecx, dword [esp + 0x44]
push 0x4a16f4
push ebx
xor edi, edi
call fcn.00409000
mov edi, dword [esp + 0x30]
add esp, 8
lea eax, [ebx - 0x10]
mov byte [esp + 0x3c], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a998
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x3c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a9b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x4c]
cmp dword [ecx - 0xc], 0
je 0x40aa04
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4a254c
call fcn.00401bc0
mov byte [esp + 0x44], 0xc
mov eax, dword [esp + 0x54]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push eax
call fcn.00402360
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x48], 4
call fcn.0040abe0
add esp, 0xc
mov byte [esp + 0x3c], 3
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40aa22
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov byte [esp + 0x3c], 2
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 0x40aa47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aa6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aa91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aab9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret