Function at 0x10059430
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c805d
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x1022b584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x470], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x474], edx
mov dword [ebp - 0x47c], ecx
mov dword [ebp - 0x46c], 0
test edx, edx
je 0x1005996b
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x45c], 0
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x45c]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x100595aa
call fcn.100a97a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1005996b
push 0x17
push str.DesktopShortcutTool.cpp
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], al
call fcn.1000cf00
push 3
push 0x101d1fdc
lea ecx, [ebp - 0x440]
mov dword [ebp - 4], edi
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
call fcn.1000cf00
mov byte [ebp - 4], 1
call fcn.100a97a0
mov edi, eax
lea ecx, [ebp - 0x554]
push 0xa1
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.10007f90
mov esi, eax
push str.Open_Process_failed__hWnd_
push esi
mov byte [ebp - 4], 2
call fcn.10008dd0
add esp, 8
mov ecx, esi
push dword [ebp - 0x454]
call fcn.1005a020
push str.__PID_
push esi
call fcn.10008dd0
add esp, 8
mov ecx, esi
push dword [ebp - 0x45c]
call fcn.1002c180
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
jmp 0x1005994a
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 4
push 0x1000
push 0x40
push 0
push edi
call esi
push 4
push 0x1000
push 0x400
push 0
push edi
mov dword [ebp - 0x458], eax
call esi
push 4
push 0x1000
push 0x10
push 0
push edi
mov dword [ebp - 0x460], eax
call esi
cmp dword [ebp - 0x458], 0
mov ecx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x464], ecx
movups xmmword [ebp - 0x450], xmm0
je 0x1005988d
mov eax, dword [ebp - 0x460]
test eax, eax
je 0x1005988d
test ecx, ecx
je 0x1005988d
cdq
push 0x400
mov dword [ebp - 0x4a4], eax
lea eax, [ebp - 0x410]
push 0
push eax
movlpd qword [ebp - 0x4b8], xmm0
movlpd qword [ebp - 0x4b0], xmm0
mov dword [ebp - 0x4a8], 0
movlpd qword [ebp - 0x498], xmm0
movlpd qword [ebp - 0x490], xmm0
movlpd qword [ebp - 0x488], xmm0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x4bc], 1
mov dword [ebp - 0x49c], 0x200
mov dword [ebp - 0x4a0], edx
call fcn.1018d4b0
add esp, 0xc
push 0
push 0
push 0x1004
push dword [ebp - 0x454]
call dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
mov dword [ebp - 0x478], eax
test eax, eax
jle 0x10059845
push 0
push 0x40
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x4b8], esi
push eax
push dword [ebp - 0x458]
mov dword [ebp - 0x4b4], 0
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push dword [ebp - 0x458]
push esi
push 0x1073
push dword [ebp - 0x454]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x200
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x460]
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [ebp - 0x470]
test ecx, ecx
je 0x100597d3
lea eax, [ebp - 0x410]
mov dword [ebp - method.CBufferRefT_unsigned_short_int_.virtual_0], vtable.CBufferRefT_unsigned_short_int_.0
mov dword [ebp - 0x418], eax
xor eax, eax
mov dword [ebp - 0x414], eax
cmp word [ebp - 0x410], ax
je 0x10059762
nop word [eax + eax]
inc eax
cmp word [ebp + eax*2 - 0x410], 0
jne 0x10059750
mov dword [ebp - 0x414], eax
push 0
push eax
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 6
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.1005af40
cmp dword [ebp - 0x430], 0
mov eax, dword [ebp - 0x434]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.CBufferRefT_unsigned_short_int_.virtual_0], vtable.CBufferRefT_unsigned_short_int_.0
jg 0x100597ab
mov dword [ebp - 0x468], 0
jmp 0x100597b3
mov ecx, dword [eax]
mov dword [ebp - 0x468], ecx
test eax, eax
je 0x100597c0
push eax
call fcn.10190ee6
add esp, 4
cmp dword [ebp - 0x468], 0
mov dword [ebp - method.CBufferRefT_int_.virtual_0], vtable.CBufferRefT_int_.0
jne 0x100597fb
push dword [ebp - 0x474]
lea eax, [ebp - 0x410]
push eax
call fcn.1019694f
add esp, 8
test eax, eax
je 0x100597fb
inc esi
cmp esi, dword [ebp - 0x478]
jl 0x100596b6
jmp 0x10059845
push dword [ebp - 0x464]
push esi
push 0x100e
push dword [ebp - 0x454]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x10
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0x464]
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x47c]
movups xmm0, xmmword [ebp - 0x450]
mov dword [ebp - 0x46c], 1
movups xmmword [eax], xmm0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push 0x8000
push 0
push dword [ebp - 0x458]
push edi
call esi
push 0x8000
push 0
push dword [ebp - 0x460]
push edi
call esi
push 0x8000
push 0
push dword [ebp - 0x464]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x46c]
jmp 0x1005996d
call fcn.100a97a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1005996b
push 0x17
push str.DesktopShortcutTool.cpp
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], al
call fcn.1000cf00
push 3
push 0x101d1fdc
lea ecx, [ebp - 0x440]
mov dword [ebp - 4], 3
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
call fcn.1000cf00
mov byte [ebp - 4], 4
call fcn.100a97a0
mov edi, eax
lea ecx, [ebp - 0x554]
push 0xab
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.10007f90
mov esi, eax
push str.Virtual_Alloc_Failed
push esi
mov byte [ebp - 4], 5
call fcn.10008dd0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x554]
call fcn.10008e90
lea ecx, [ebp - 0x440]
call fcn.10007310
lea ecx, [ebp - 0x428]
call fcn.10007310
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101799ce
mov esp, ebp
pop ebp
ret