Function at 0x10065520
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 [0x101b31c0]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
push 0x100bf750
push 0x4051b9
push 0xe8
mov dword [esp + 0x20], 0
call fcn.100d0420
push 0x10065460
push 0x4830ae
push 0xe9
call fcn.100d0420
add esp, 0x18
cmp dword [0x1025e1f0], 1
jne 0x100655b1
push 0x10053dd0
push 0x95e1ab
push 0xe9
call fcn.100d0420
push 0x10053e40
push 0x95e1c4
push 0xe9
call fcn.100d0420
push 0x10053d90
push 0x95f9b0
push 0xe9
call fcn.100d0420
add esp, 0x24
cmp dword [0x1025e1fc], 1
jne 0x100655d1
push 0x10065440
push 0x66271f
push 0xe9
call fcn.100d0420
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, 0x1025df53
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10065662
sub ecx, edx
je 0x100656da
push ecx
xorps xmm0, xmm0
mov dword [esp + 0x54], 0
push 0x1025df53
lea ecx, [esp + 0x48]
movaps xmmword [esp + 0x48], xmm0
mov dword [esp + 0x5c], 0
call fcn.1000d1c0
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 0x100656de
lea edi, [edx + eax]
mov eax, edx
cmp edx, edi
jae 0x100656de
nop dword [eax]
cmp byte [eax], 0x20
jne 0x100656cc
inc eax
cmp eax, edi
jb 0x100656c0
jmp 0x100656de
sub eax, edx
cmp eax, 0xffffffff
je 0x100656de
mov byte [esp + 0x1f], 0
jmp 0x100656e3
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x1f], 1
test byte [esp + 0x14], 1
je 0x1006571e
mov eax, dword [esp + 0x54]
cmp eax, 0xf
jbe 0x1006571e
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x10065714
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100662e5
push edx
push ecx
call fcn.1014330c
add esp, 8
cmp byte [esp + 0x1f], 0
je 0x10065745
cmp byte [0x1025e31f], 0
jne 0x10065745
push 0x10032110
push 0x63764c
push 0xe9
call fcn.100d0420
add esp, 0xc
push 0x82a9f3
push 0x82a983
push 0xe9
call fcn.100d0420
push 0x82a9f3
push 0x82a983
push 0xe9
call fcn.100d0420
add esp, 0x18
cmp dword [0x1025e204], 1
jne 0x10065790
push 0x10065400
push 0x78f56e
push 0xe9
call fcn.100d0420
add esp, 0xc
push 0x1004eba0
push 0x4d92e2
push 0xe8
call fcn.100d0420
push fcn.1004f160
push 0x95e310
push 0xe8
call fcn.100d0420
push fcn.1004f160
push 0x95e6eb
push 0xe8
call fcn.100d0420
add esp, 0x20
mov edx, 0x18
mov ecx, 0x77eecd
call fcn.100cfb70
push 0x5db408
push 0x5db322
push 0xe9
call fcn.100d0420
push 0x58811f
push 0x5880f0
push 0xe9
call fcn.100d0420
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.100d0420
push 0x95dfd3
push 0x95dfbe
push 0xe9
call fcn.100d0420
push 0x720894
push 0x71ae92
push 0xe9
call fcn.100d0420
push 0x720894
push 0x71b1a3
push 0xe9
call fcn.100d0420
push 0x644537
push 0x64452a
push 0xe9
call fcn.100d0420
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 [0x1025e198]
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 [0x1025e198]
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 [0x1025e294]
lea eax, [edi - 1]
cmp eax, 3
ja case.default.0x100659e7
jmp dword [eax*4 + 0x100662ec]
mov ax, word [0x101a0ed8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov word [esp + 0x20], ax
mov al, byte [0x101a0eda]
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.10065310
movzx eax, ax
jmp 0x10065a80
mov ax, word [0x101a0edc]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov word [esp + 0x20], ax
mov al, byte [0x101a0ede]
jmp 0x10065a06
mov ax, word [0x101a0ee0]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov word [esp + 0x20], ax
mov al, byte [0x101a0ee2]
jmp 0x10065a06
mov ax, word [0x101a0ee4]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov word [esp + 0x20], ax
mov al, byte [0x101a0ee6]
jmp 0x10065a06
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
cmp edi, 1
jb 0x1006602a
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 [0x1025e1cc], 1
jne 0x1006602a
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 [0x1025e1c8], 1
jne 0x1006605c
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 [0x1025e1cc], 1
jne 0x1006608e
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 [0x1025e1d0], 1
jne 0x100660c0
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 [0x1025e1f8], 1
jne 0x100662a6
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 0x10066300
push 0x614aef
push 0xe8
call fcn.100d0420
push 0x10066300
push 0x772460
push 0xe8
call fcn.100d0420
mov ecx, dword [esp + 0x84]
add esp, 0x18
pop edi
pop esi
xor ecx, esp
call fcn.10142fe4
mov esp, ebp
pop ebp
ret
call fcn.1014f8ca
nop
out dx, al
pop ecx
push es
adc byte [esi], ch
pop edx
push es
adc byte [eax + 0x5a], cl
push es
adc byte [edx + 0x5a], ah
push es
adc ah, cl
int3