Function at 0x10065190
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 [0x101b11c0]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
push 0x100bee80
push 0x4051b9
push 0xe8
mov dword [esp + 0x20], 0
call fcn.100cfb50
push 0x100650d0
push 0x4830ae
push 0xe9
call fcn.100cfb50
add esp, 0x18
cmp dword [0x1025c1f0], 1
jne 0x10065221
push 0x10053a40
push 0x95e1ab
push 0xe9
call fcn.100cfb50
push 0x10053ab0
push 0x95e1c4
push 0xe9
call fcn.100cfb50
push 0x10053a00
push 0x95f9b0
push 0xe9
call fcn.100cfb50
add esp, 0x24
cmp dword [0x1025c1fc], 1
jne 0x10065241
push 0x100650b0
push 0x66271f
push 0xe9
call fcn.100cfb50
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, 0x1025bf53
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100652d2
sub ecx, edx
je 0x1006534a
push ecx
xorps xmm0, xmm0
mov dword [esp + 0x54], 0
push 0x1025bf53
lea ecx, [esp + 0x48]
movaps xmmword [esp + 0x48], xmm0
mov dword [esp + 0x5c], 0
call fcn.1000d0c0
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 0x1006534e
lea edi, [edx + eax]
mov eax, edx
cmp edx, edi
jae 0x1006534e
nop dword [eax]
cmp byte [eax], 0x20
jne 0x1006533c
inc eax
cmp eax, edi
jb 0x10065330
jmp 0x1006534e
sub eax, edx
cmp eax, 0xffffffff
je 0x1006534e
mov byte [esp + 0x1f], 0
jmp 0x10065353
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x1f], 1
test byte [esp + 0x14], 1
je 0x1006538e
mov eax, dword [esp + 0x54]
cmp eax, 0xf
jbe 0x1006538e
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x10065384
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065f55
push edx
push ecx
call fcn.10141e9c
add esp, 8
cmp byte [esp + 0x1f], 0
je 0x100653b5
cmp byte [0x1025c31f], 0
jne 0x100653b5
push 0x10031d90
push 0x63764c
push 0xe9
call fcn.100cfb50
add esp, 0xc
push 0x82a9f3
push 0x82a983
push 0xe9
call fcn.100cfb50
push 0x82a9f3
push 0x82a983
push 0xe9
call fcn.100cfb50
add esp, 0x18
cmp dword [0x1025c204], 1
jne 0x10065400
push 0x10065070
push 0x78f56e
push 0xe9
call fcn.100cfb50
add esp, 0xc
push 0x1004e810
push 0x4d92e2
push 0xe8
call fcn.100cfb50
push fcn.1004edd0
push 0x95e310
push 0xe8
call fcn.100cfb50
push fcn.1004edd0
push 0x95e6eb
push 0xe8
call fcn.100cfb50
add esp, 0x20
mov edx, 0x18
mov ecx, 0x77eecd
call fcn.100cf2a0
push 0x5db408
push 0x5db322
push 0xe9
call fcn.100cfb50
push 0x58811f
push 0x5880f0
push 0xe9
call fcn.100cfb50
add esp, 0x1c
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.100cfb50
push 0x95dfd3
push 0x95dfbe
push 0xe9
call fcn.100cfb50
push 0x720894
push 0x71ae92
push 0xe9
call fcn.100cfb50
push 0x720894
push 0x71b1a3
push 0xe9
call fcn.100cfb50
push 0x644537
push 0x64452a
push 0xe9
call fcn.100cfb50
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 [0x1025c198]
lea eax, [esp + 0x14]
push eax
push 0x40
push 2
push 0x405b7c
call esi
mov word [0x405b7c], di
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 2
push 0x405b7c
call esi
movzx edi, word [0x1025c198]
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 edi, dword [0x1025c294]
lea eax, [edi - 1]
cmp eax, 3
ja case.default.0x10065657
jmp dword [eax*4 + 0x10065f5c]
mov ax, word [0x1019ee38]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov word [esp + 0x20], ax
mov al, byte [0x1019ee3a]
mov byte [esp + 0x22], al
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 3
mov byte [esp + 0x27], 0
call fcn.10064f80
movzx eax, ax
jmp 0x100656f0
mov ax, word [0x1019ee3c]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov word [esp + 0x20], ax
mov al, byte [0x1019ee3e]
jmp 0x10065676
mov ax, word [0x1019ee40]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov word [esp + 0x20], ax
mov al, byte [0x1019ee42]
jmp 0x10065676
mov ax, word [0x1019ee44]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov word [esp + 0x20], ax
mov al, byte [0x1019ee46]
jmp 0x10065676
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
cmp edi, 1
jb 0x10065c9a
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 [0x1025c1cc], 1
jne 0x10065c9a
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 [0x1025c1c8], 1
jne 0x10065ccc
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 [0x1025c1cc], 1
jne 0x10065cfe
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 [0x1025c1d0], 1
jne 0x10065d30
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 [0x1025c1f8], 1
jne 0x10065f16
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 0x10065f70
push 0x614aef
push 0xe8
call fcn.100cfb50
push 0x10065f70
push 0x772460
push 0xe8
call fcn.100cfb50
mov ecx, dword [esp + 0x84]
add esp, 0x18
pop edi
pop esi
xor ecx, esp
call fcn.10141b74
mov esp, ebp
pop ebp
ret
call fcn.1014e45a
nop
pop esi
push esi
push es
adc byte [esi - 0x47eff9aa], bl
push esi
push es
adc dl, dl
push esi
push es
adc ah, cl
int3