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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x1014c1c0]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
push 0x100c4ab0
push 0x4051b9
push 0xe8
mov dword [esp + 0x20], 0
call fcn.100d5c50
push 0x10066ef0
push 0x4830ae
push 0xe9
call fcn.100d5c50
add esp, 0x18
cmp dword [0x101f6780], 1
jne 0x10067041
push 0x10054ad0
push 0x95e1ab
push 0xe9
call fcn.100d5c50
push 0x10054b40
push 0x95e1c4
push 0xe9
call fcn.100d5c50
push 0x10054a90
push 0x95f9b0
push 0xe9
call fcn.100d5c50
add esp, 0x24
cmp dword [0x101f678c], 1
jne 0x10067061
push 0x10066ed0
push 0x66271f
push 0xe9
call fcn.100d5c50
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x18]
push eax
push 0x40
push 1
push 0x8553d0
call esi
lea eax, [esp + 0x18]
mov byte [0x8553d0], 0xc3
push eax
push dword [esp + 0x1c]
push 1
push 0x8553d0
call esi
lea eax, [esp + 0x18]
push eax
push 0x40
push 1
push 0x59a8d0
call esi
lea eax, [esp + 0x18]
mov byte [0x59a8d0], 0xeb
push eax
push dword [esp + 0x1c]
push 1
push 0x59a8d0
call esi
lea eax, [esp + 0x18]
push eax
push 0x40
push 5
push 0x792b7f
call esi
mov eax, 0x792b7f
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
push 5
push 0x792b7f
call esi
mov ecx, 0x101f64e3
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100670f2
sub ecx, edx
je 0x1006716a
push ecx
xorps xmm0, xmm0
mov dword [esp + 0x54], 0
push 0x101f64e3
lea ecx, [esp + 0x48]
movaps xmmword [esp + 0x48], xmm0
mov dword [esp + 0x5c], 0
call fcn.1000d0f0
mov dword [esp + 0x14], 1
lea edx, [esp + 0x40]
cmp dword [esp + 0x54], 0xf
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x50]
cmova edx, ecx
test eax, eax
je 0x1006716e
lea edi, [eax + edx]
mov eax, edx
cmp edx, edi
jae 0x1006716e
nop dword [eax]
cmp byte [eax], 0x20
jne 0x1006715c
inc eax
cmp eax, edi
jb 0x10067150
jmp 0x1006716e
sub eax, edx
cmp eax, 0xffffffff
je 0x1006716e
mov byte [esp + 0x1f], 0
jmp 0x10067173
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x1f], 1
test byte [esp + 0x14], 1
je 0x100671ae
mov eax, dword [esp + 0x54]
cmp eax, 0xf
jbe 0x100671ae
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100671a4
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10067568
push edx
push ecx
call fcn.10131b2c
add esp, 8
cmp byte [esp + 0x1f], 0
je 0x100671d5
cmp byte [0x101f68af], 0
jne 0x100671d5
push 0x1002fb10
push 0x63764c
push 0xe9
call fcn.100d5c50
add esp, 0xc
push 0x82a9f3
push 0x82a983
push 0xe9
call fcn.100d5c50
push 0x82a9f3
push 0x82a983
push 0xe9
call fcn.100d5c50
add esp, 0x18
cmp dword [0x101f6794], 1
jne 0x10067220
push 0x10066e90
push 0x78f56e
push 0xe9
call fcn.100d5c50
add esp, 0xc
push 0x1004f550
push 0x4d92e2
push 0xe8
call fcn.100d5c50
push fcn.1004fb10
push 0x95e310
push 0xe8
call fcn.100d5c50
push fcn.1004fb10
push 0x95e6eb
push 0xe8
call fcn.100d5c50
push 0x18
call fcn.10131c6d
movaps xmm0, xmmword [0x10144750]
add esp, 0x28
mov edi, eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
push 0x40
push 0x18
movups xmmword [edi], xmm0
push 0x77eecd
movq qword [edi + 0x10], xmm0
call esi
test eax, eax
je 0x100672c6
movups xmm0, xmmword [edi]
mov eax, 0x77eecd
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x10], xmm0
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
mov dword [esp + 0x20], 0
push 0x18
push 0x77eecd
call esi
test eax, eax
jne 0x100672cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x5db408
push 0x5db322
push 0xe9
call fcn.100d5c50
push 0x58811f
push 0x5880f0
push 0xe9
call fcn.100d5c50
add esp, 0x18
lea eax, [esp + 0x14]
push eax
push 0x40
push 4
push 0x588447
call esi
lea eax, [esp + 0x14]
mov dword [0x588447], 0xfff
push eax
push dword [esp + 0x18]
push 4
push 0x588447
call esi
push 0x59b00e
push 0x59affa
push 0xe8
call fcn.100d5c50
push 0x95dfd3
push 0x95dfbe
push 0xe9
call fcn.100d5c50
push 0x720894
push 0x71ae92
push 0xe9
call fcn.100d5c50
push 0x720894
push 0x71b1a3
push 0xe9
call fcn.100d5c50
push 0x644537
push 0x64452a
push 0xe9
call fcn.100d5c50
add esp, 0x3c
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x4d128f
call esi
lea eax, [esp + 0x14]
mov byte [0x4d128f], 0x1d
push eax
push dword [esp + 0x18]
push 1
push 0x4d128f
call esi
movzx edi, word [0x101f6728]
lea eax, [esp + 0x14]
push eax
push 0x40
push 2
push 0x405b7c
call esi
lea eax, [esp + 0x14]
mov word [0x405b7c], di
push eax
push dword [esp + 0x18]
push 2
push 0x405b7c
call esi
movzx edi, word [0x101f6728]
lea eax, [esp + 0x14]
push eax
push 0x40
push 2
push 0x40cc40
call esi
lea eax, [esp + 0x14]
mov word [0x40cc40], di
push eax
push dword [esp + 0x18]
push 2
push 0x40cc40
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 4
push 0x5b57ed
call esi
lea eax, [esp + 0x14]
mov dword [0x5b57ed], 0x400
push eax
push dword [esp + 0x18]
push 4
push 0x5b57ed
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 4
push 0x589dbe
call esi
lea eax, [esp + 0x14]
mov dword [0x589dbe], 0x400
push eax
push dword [esp + 0x18]
push 4
push 0x589dbe
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 4
push 0x4d2cb2
call esi
lea eax, [esp + 0x14]
mov dword [0x4d2cb2], 0x3800
push eax
push dword [esp + 0x18]
push 4
push 0x4d2cb2
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 4
push 0x4d2d9c
call esi
lea eax, [esp + 0x14]
mov dword [0x4d2d9c], 0x3800
push eax
push dword [esp + 0x18]
push 4
push 0x4d2d9c
call esi
mov eax, dword [0x101f6824]
dec eax
cmp eax, 3
ja case.default.0x100674d2
jmp dword [eax*4 + 0x10067ddc]
mov ax, word [0x10140e20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov word [esp + 0x20], ax
mov al, byte [0x10140e22]
mov byte [esp + 0x22], al
mov edi, 0xf
lea eax, [esp + 0x20]
mov dword [esp + 0x34], edi
push eax
mov dword [esp + 0x34], 3
mov byte [esp + 0x27], 0
call fcn.10066da0
movzx eax, ax
jmp 0x10067572
mov ax, word [0x10140e24]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov word [esp + 0x20], ax
mov al, byte [0x10140e26]
jmp 0x100674f1
mov ax, word [0x10140e28]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov word [esp + 0x20], ax
mov al, byte [0x10140e2a]
jmp 0x100674f1
mov ax, word [0x10140e2c]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov word [esp + 0x20], ax
mov al, byte [0x10140e2e]
jmp 0x100674f1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [esp + 0x14]
cmp dword [0x101f6824], 1
mov dword [esp + 0x18], eax
jb 0x10067b20
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x958d4f
call esi
mov eax, dword [esp + 0x18]
mov byte [0x958d4f], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 1
push 0x958d4f
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x958d50
call esi
lea eax, [esp + 0x14]
mov byte [0x958d50], 3
push eax
push dword [esp + 0x18]
push 1
push 0x958d50
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x959036
call esi
lea eax, [esp + 0x14]
mov byte [0x959036], 0
push eax
push dword [esp + 0x18]
push 1
push 0x959036
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x95903a
call esi
mov eax, dword [esp + 0x18]
mov byte [0x95903a], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 1
push 0x95903a
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x95903b
call esi
lea eax, [esp + 0x14]
mov byte [0x95903b], 3
push eax
push dword [esp + 0x18]
push 1
push 0x95903b
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x787041
call esi
mov eax, dword [esp + 0x18]
mov byte [0x787041], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 1
push 0x787041
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x787042
call esi
lea eax, [esp + 0x14]
mov byte [0x787042], 3
push eax
push dword [esp + 0x18]
push 1
push 0x787042
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x4215c2
call esi
lea eax, [esp + 0x14]
mov byte [0x4215c2], 0
push eax
push dword [esp + 0x18]
push 1
push 0x4215c2
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x78b410
call esi
mov eax, dword [esp + 0x18]
mov byte [0x78b410], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 1
push 0x78b410
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x78b411
call esi
lea eax, [esp + 0x14]
mov byte [0x78b411], 3
push eax
push dword [esp + 0x18]
push 1
push 0x78b411
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x78b46b
call esi
mov eax, dword [esp + 0x18]
mov byte [0x78b46b], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 1
push 0x78b46b
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x78b46c
call esi
lea eax, [esp + 0x14]
mov byte [0x78b46c], 3
push eax
push dword [esp + 0x18]
push 1
push 0x78b46c
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x48d621
call esi
mov eax, dword [esp + 0x18]
mov byte [0x48d621], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 1
push 0x48d621
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x48d622
call esi
lea eax, [esp + 0x14]
mov byte [0x48d622], 3
push eax
push dword [esp + 0x18]
push 1
push 0x48d622
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x4918c9
call esi
mov eax, dword [esp + 0x18]
mov byte [0x4918c9], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 1
push 0x4918c9
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x4918ca
call esi
lea eax, [esp + 0x14]
mov byte [0x4918ca], 3
push eax
push dword [esp + 0x18]
push 1
push 0x4918ca
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x4918ea
call esi
mov eax, dword [esp + 0x18]
mov byte [0x4918ea], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 1
push 0x4918ea
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x4918eb
call esi
lea eax, [esp + 0x14]
mov byte [0x4918eb], 3
push eax
push dword [esp + 0x18]
push 1
push 0x4918eb
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x786d31
call esi
mov eax, dword [esp + 0x18]
mov byte [0x786d31], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 1
push 0x786d31
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x786d32
call esi
lea eax, [esp + 0x14]
mov byte [0x786d32], 3
push eax
push dword [esp + 0x18]
push 1
push 0x786d32
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x786d31
call esi
mov eax, dword [esp + 0x18]
mov byte [0x786d31], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 1
push 0x786d31
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x786d32
call esi
lea eax, [esp + 0x14]
mov byte [0x786d32], 3
push eax
push dword [esp + 0x18]
push 1
push 0x786d32
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x787041
call esi
mov eax, dword [esp + 0x18]
mov byte [0x787041], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 1
push 0x787041
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x787042
call esi
lea eax, [esp + 0x14]
mov byte [0x787042], 3
push eax
push dword [esp + 0x18]
push 1
push 0x787042
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x78b410
call esi
mov eax, dword [esp + 0x18]
mov byte [0x78b410], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 1
push 0x78b410
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x78b411
call esi
lea eax, [esp + 0x14]
mov byte [0x78b411], 3
push eax
push dword [esp + 0x18]
push 1
push 0x78b411
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x78b46b
call esi
mov eax, dword [esp + 0x18]
mov byte [0x78b46b], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 1
push 0x78b46b
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x78b46c
call esi
lea eax, [esp + 0x14]
mov byte [0x78b46c], 3
push eax
push dword [esp + 0x18]
push 1
push 0x78b46c
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x840e76
call esi
mov eax, dword [esp + 0x18]
mov byte [0x840e76], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 1
push 0x840e76
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x840e77
call esi
lea eax, [esp + 0x14]
mov byte [0x840e77], 3
push eax
push dword [esp + 0x18]
push 1
push 0x840e77
call esi
cmp dword [0x101f675c], 1
jne 0x10067b20
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x9591d3
call esi
lea eax, [esp + 0x14]
mov byte [0x9591d3], 0x58
push eax
push dword [esp + 0x18]
push 1
push 0x9591d3
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x9591d4
call esi
lea eax, [esp + 0x14]
mov byte [0x9591d4], 0xfc
push eax
push dword [esp + 0x18]
push 1
push 0x9591d4
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x9591d8
call esi
mov eax, dword [esp + 0x18]
mov byte [0x9591d8], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 1
push 0x9591d8
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x9591d9
call esi
lea eax, [esp + 0x14]
mov byte [0x9591d9], 3
push eax
push dword [esp + 0x18]
push 1
push 0x9591d9
call esi
cmp dword [0x101f6758], 1
jne 0x10067b52
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x4215a7
call esi
lea eax, [esp + 0x14]
mov byte [0x4215a7], 0xeb
push eax
push dword [esp + 0x18]
push 1
push 0x4215a7
call esi
cmp dword [0x101f675c], 1
jne 0x10067b84
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x507aeb
call esi
lea eax, [esp + 0x14]
mov byte [0x507aeb], 0x72
push eax
push dword [esp + 0x18]
push 1
push 0x507aeb
call esi
cmp dword [0x101f6760], 1
jne 0x10067bb6
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x507afd
call esi
lea eax, [esp + 0x14]
mov byte [0x507afd], 0xeb
push eax
push dword [esp + 0x18]
push 1
push 0x507afd
call esi
cmp dword [0x101f6788], 1
jne 0x10067d9c
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x501957
call esi
lea eax, [esp + 0x14]
mov byte [0x501957], 0
push eax
push dword [esp + 0x18]
push 1
push 0x501957
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 6
push 0x54eae1
call esi
mov eax, 0x54eae1
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 6
push 0x54eae1
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 6
push 0x54fc92
call esi
mov eax, 0x54fc92
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 6
push 0x54fc92
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x50226b
call esi
lea eax, [esp + 0x14]
mov byte [0x50226b], 0
push eax
push dword [esp + 0x18]
push 1
push 0x50226b
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 6
push 0x54eca3
call esi
mov eax, 0x54eca3
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 6
push 0x54eca3
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 6
push 0x54fcec
call esi
mov ecx, 0x90909090
mov eax, 0x54fcec
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 6
push 0x54fcec
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 1
push 0x502c4d
call esi
lea eax, [esp + 0x14]
mov byte [0x502c4d], 0
push eax
push dword [esp + 0x18]
push 1
push 0x502c4d
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 6
push 0x54ed6d
call esi
mov eax, 0x54ed6d
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 6
push 0x54ed6d
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 6
push 0x54fd5f
call esi
mov eax, 0x54fd5f
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 6
push 0x54fd5f
call esi
lea eax, [esp + 0x14]
push eax
push 0x40
push 6
push 0x54fe3e
call esi
mov eax, 0x54fe3e
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 6
push 0x54fe3e
call esi
push 0x10067df0
push 0x614aef
push 0xe8
call fcn.100d5c50
push 0x10067df0
push 0x772460
push 0xe8
call fcn.100d5c50
mov ecx, dword [esp + 0x84]
add esp, 0x18
pop edi
pop esi
xor ecx, esp
call fcn.10131804
mov esp, ebp
pop ebp
ret