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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a0c3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x100f1340]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 8]
mov dword [esi], vtable.Xbyak::CodeArray.0
push 0x18
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.1004bd66
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp edi, 1
jne 0x10015bfa
lea edx, [edi + 2]
jmp 0x10015c0d
test edi, edi
je 0x10015c08
mov edx, 1
cmp edi, 2
jne 0x10015c0d
mov edx, 2
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], edx
mov dword [ecx], vtable.Xbyak::Allocator.0
mov eax, dword [ebp + 0x10]
test eax, eax
mov byte [ebp - 4], 1
cmovne ecx, eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ecx
cmp edx, 1
jne 0x10015c34
mov eax, edi
jmp 0x10015c43
mov eax, dword [ecx]
mov edx, 1
cmp ebx, edx
cmovb ebx, edx
push ebx
call dword [eax]
cmp dword [esi + 0x18], 0
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 0
jbe 0x10015c5f
test eax, eax
je 0x100166ce
cmp dword [esi + 0xc], 2
jne 0x10015c92
cmp edi, 2
je 0x10015c92
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x10015c92
lea eax, [ebp + 8]
push eax
push 0x40
push dword [esi + 0x18]
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100166e6
lea ecx, [esi + 0x28]
mov dword [ebp - 4], 2
mov dword [esi], vtable.Xbyak::CodeGenerator.0
call fcn.10016800
and dword [esi + 0x9c], 0xffffffc0
mov eax, dword [esi + 0x98]
and eax, 0x80400100
or eax, 0x400100
mov dword [esi + 0x98], eax
and dword [esi + 0xa4], 0xffffffc0
mov eax, dword [esi + 0xa0]
and eax, 0x80400101
or eax, 0x400101
mov dword [esi + 0xa0], eax
and dword [esi + 0xac], 0xffffffc0
mov eax, dword [esi + 0xa8]
and eax, 0x80400102
or eax, 0x400102
mov dword [esi + 0xa8], eax
and dword [esi + 0xb4], 0xffffffc0
mov eax, dword [esi + 0xb0]
and eax, 0x80400103
or eax, 0x400103
mov dword [esi + 0xb0], eax
and dword [esi + 0xbc], 0xffffffc0
mov eax, dword [esi + 0xb8]
and eax, 0x80400104
or eax, 0x400104
mov dword [esi + 0xb8], eax
and dword [esi + 0xc4], 0xffffffc0
mov eax, dword [esi + 0xc0]
and eax, 0x80400105
or eax, 0x400105
mov dword [esi + 0xc0], eax
mov eax, dword [esi + 0xc8]
and dword [esi + 0xcc], 0xffffffc0
and eax, 0x80400106
or eax, 0x400106
mov dword [esi + 0xc8], eax
mov eax, dword [esi + 0xd0]
and dword [esi + 0xd4], 0xffffffc0
and eax, 0x80400107
or eax, 0x400107
mov dword [esi + 0xd0], eax
lea eax, [esi + 0xd8]
mov ecx, dword [eax]
and dword [eax + 4], 0xffffffc0
and ecx, 0x80800400
or ecx, 0x800400
mov dword [eax], ecx
mov ecx, dword [esi + 0xe0]
and dword [esi + 0xe4], 0xffffffc0
and ecx, 0x80800401
or ecx, 0x800401
mov dword [esi + 0xe0], ecx
mov ecx, dword [esi + 0xe8]
and dword [esi + 0xec], 0xffffffc0
and ecx, 0x80800402
or ecx, 0x800402
mov dword [esi + 0xe8], ecx
mov ecx, dword [esi + 0xf0]
and dword [esi + 0xf4], 0xffffffc0
and ecx, 0x80800403
or ecx, 0x800403
mov dword [esi + 0xf0], ecx
mov ecx, dword [esi + 0xf8]
and dword [esi + 0xfc], 0xffffffc0
and ecx, 0x80800404
or ecx, 0x800404
mov dword [esi + 0xf8], ecx
mov ecx, dword [esi + 0x100]
and dword [esi + 0x104], 0xffffffc0
and ecx, 0x80800405
or ecx, 0x800405
mov dword [esi + 0x100], ecx
mov ecx, dword [esi + 0x108]
and ecx, 0x80800406
or ecx, 0x800406
and dword [esi + 0x10c], 0xffffffc0
mov dword [esi + 0x108], ecx
and dword [esi + 0x114], 0xffffffc0
mov ecx, dword [esi + 0x110]
and ecx, 0x80800407
or ecx, 0x800407
mov dword [esi + 0x110], ecx
and dword [esi + 0x11c], 0xffffffc0
mov ecx, dword [esi + 0x118]
and ecx, 0x81000800
or ecx, 0x1000800
mov dword [esi + 0x118], ecx
and dword [esi + 0x124], 0xffffffc0
mov ecx, dword [esi + 0x120]
and ecx, 0x81000801
or ecx, 0x1000801
mov dword [esi + 0x120], ecx
and dword [esi + 0x12c], 0xffffffc0
mov ecx, dword [esi + 0x128]
and ecx, 0x81000802
or ecx, 0x1000802
mov dword [esi + 0x128], ecx
and dword [esi + 0x134], 0xffffffc0
mov ecx, dword [esi + 0x130]
and ecx, 0x81000803
or ecx, 0x1000803
mov dword [esi + 0x130], ecx
and dword [esi + 0x13c], 0xffffffc0
mov ecx, dword [esi + 0x138]
and ecx, 0x81000804
or ecx, 0x1000804
mov dword [esi + 0x138], ecx
and dword [esi + 0x144], 0xffffffc0
mov ecx, dword [esi + 0x140]
and ecx, 0x81000805
or ecx, 0x1000805
mov dword [esi + 0x140], ecx
and dword [esi + 0x14c], 0xffffffc0
mov ecx, dword [esi + 0x148]
and ecx, 0x81000806
or ecx, 0x1000806
mov dword [esi + 0x148], ecx
mov ecx, dword [esi + 0x150]
and dword [esi + 0x154], 0xffffffc0
and ecx, 0x81000807
or ecx, 0x1000807
mov dword [esi + 0x150], ecx
mov ecx, dword [esi + 0x158]
and dword [esi + 0x15c], 0xffffffc0
and ecx, 0x82001000
or ecx, 0x2001000
mov dword [esi + 0x158], ecx
mov ecx, dword [esi + 0x160]
and dword [esi + 0x164], 0xffffffc0
and ecx, 0x82001001
or ecx, 0x2001001
mov dword [esi + 0x160], ecx
mov ecx, dword [esi + 0x168]
and dword [esi + 0x16c], 0xffffffc0
and ecx, 0x82001002
or ecx, 0x2001002
mov dword [esi + 0x168], ecx
mov ecx, dword [esi + 0x170]
and dword [esi + 0x174], 0xffffffc0
and ecx, 0x82001003
or ecx, 0x2001003
mov dword [esi + 0x170], ecx
mov ecx, dword [esi + 0x178]
and dword [esi + 0x17c], 0xffffffc0
and ecx, 0x82001004
or ecx, 0x2001004
mov dword [esi + 0x178], ecx
mov ecx, dword [esi + 0x180]
and dword [esi + 0x184], 0xffffffc0
and ecx, 0x82001005
or ecx, 0x2001005
mov dword [esi + 0x180], ecx
mov ecx, dword [esi + 0x188]
and ecx, 0x82001006
or ecx, 0x2001006
and dword [esi + 0x18c], 0xffffffc0
mov dword [esi + 0x188], ecx
mov ecx, dword [esi + 0x190]
and ecx, 0x82001007
mov edx, 0x18
or ecx, 0x2001007
and dword [esi + 0x194], 0xffffffc0
mov dword [esi + 0x190], ecx
lea ecx, [esi + 0x198]
nop dword [eax]
mov dword [ecx], eax
lea ecx, [ecx + 4]
add eax, 8
sub edx, 1
jne 0x10016080
and dword [esi + 0x1fc], 0xffffffc0
mov eax, dword [esi + 0x1f8]
and eax, 0x80200080
or eax, 0x200080
mov dword [esi + 0x1f8], eax
and dword [esi + 0x204], 0xffffffc0
mov eax, dword [esi + 0x200]
and eax, 0x80200081
or eax, 0x200081
mov dword [esi + 0x200], eax
and dword [esi + 0x20c], 0xffffffc0
mov eax, dword [esi + 0x208]
and eax, 0x80200082
or eax, 0x200082
mov dword [esi + 0x208], eax
and dword [esi + 0x214], 0xffffffc0
mov eax, dword [esi + 0x210]
and eax, 0x80200083
or eax, 0x200083
mov dword [esi + 0x210], eax
and dword [esi + 0x21c], 0xffffffc0
mov eax, dword [esi + 0x218]
and eax, 0x80200084
or eax, 0x200084
mov dword [esi + 0x218], eax
and dword [esi + 0x224], 0xffffffc0
mov eax, dword [esi + 0x220]
and eax, 0x80200085
or eax, 0x200085
mov dword [esi + 0x220], eax
and dword [esi + 0x22c], 0xffffffc0
mov eax, dword [esi + 0x228]
and eax, 0x80200086
or eax, 0x200086
mov dword [esi + 0x228], eax
and dword [esi + 0x234], 0xffffffc0
mov eax, dword [esi + 0x230]
and eax, 0x80200087
or eax, 0x200087
mov dword [esi + 0x230], eax
mov eax, dword [esi + 0x238]
and dword [esi + 0x23c], 0xffffffc0
and eax, 0x80100080
or eax, 0x100080
mov dword [esi + 0x238], eax
mov eax, dword [esi + 0x240]
and dword [esi + 0x244], 0xffffffc0
and eax, 0x80100081
or eax, 0x100081
mov dword [esi + 0x240], eax
mov eax, dword [esi + 0x248]
and dword [esi + 0x24c], 0xffffffc0
and eax, 0x80100082
or eax, 0x100082
mov dword [esi + 0x248], eax
mov eax, dword [esi + 0x250]
and dword [esi + 0x254], 0xffffffc0
and eax, 0x80100083
or eax, 0x100083
mov dword [esi + 0x250], eax
mov eax, dword [esi + 0x258]
and dword [esi + 0x25c], 0xffffffc0
and eax, 0x80100084
or eax, 0x100084
mov dword [esi + 0x258], eax
mov eax, dword [esi + 0x260]
and dword [esi + 0x264], 0xffffffc0
and eax, 0x80100085
or eax, 0x100085
mov dword [esi + 0x260], eax
mov eax, dword [esi + 0x268]
and dword [esi + 0x26c], 0xffffffc0
and eax, 0x80100086
or eax, 0x100086
mov dword [esi + 0x268], eax
mov eax, dword [esi + 0x270]
and eax, 0x80100087
or eax, 0x100087
and dword [esi + 0x274], 0xffffffc0
mov dword [esi + 0x270], eax
mov eax, dword [esi + 0x278]
and dword [esi + 0x27c], 0xffffffc0
and eax, 0x80080080
or eax, 0x80080
mov dword [esi + 0x278], eax
and dword [esi + 0x284], 0xffffffc0
mov eax, dword [esi + 0x280]
and eax, 0x80080081
or eax, 0x80081
mov dword [esi + 0x280], eax
and dword [esi + 0x28c], 0xffffffc0
mov eax, dword [esi + 0x288]
and eax, 0x80080082
or eax, 0x80082
mov dword [esi + 0x288], eax
and dword [esi + 0x294], 0xffffffc0
mov eax, dword [esi + 0x290]
and eax, 0x80080083
or eax, 0x80083
mov dword [esi + 0x290], eax
mov eax, dword [esi + 0x298]
and dword [esi + 0x29c], 0xffffffc0
and eax, 0x80080084
or eax, 0x80084
mov dword [esi + 0x298], eax
mov eax, dword [esi + 0x2a0]
and dword [esi + 0x2a4], 0xffffffc0
and eax, 0x80080085
or eax, 0x80085
mov dword [esi + 0x2a0], eax
mov eax, dword [esi + 0x2a8]
and dword [esi + 0x2ac], 0xffffffc0
and eax, 0x80080086
or eax, 0x80086
mov dword [esi + 0x2a8], eax
mov eax, dword [esi + 0x2b0]
and dword [esi + 0x2b4], 0xffffffc0
and eax, 0x80080087
or eax, 0x80087
mov dword [esi + 0x2b0], eax
mov dword [esi + 0x2b8], edx
mov byte [esi + 0x2bc], dl
mov dword [esi + 0x2c0], 8
mov byte [esi + 0x2c4], dl
mov dword [esi + 0x2c8], 0x10
mov byte [esi + 0x2cc], dl
mov dword [esi + 0x2d0], 0x20
mov byte [esi + 0x2d4], dl
mov dword [esi + 0x2d8], 0x40
mov byte [esi + 0x2dc], dl
mov dword [esi + 0x2e0], 0x80
mov byte [esi + 0x2e4], dl
mov dword [esi + 0x2e8], 0x100
mov byte [esi + 0x2ec], dl
mov dword [esi + 0x2f0], 0x200
mov byte [esi + 0x2f4], dl
mov dword [esi + 0x2f8], edx
mov byte [esi + 0x2fc], 1
mov dword [esi + 0x300], 0x80
mov byte [esi + 0x304], 1
mov dword [esi + 0x308], 0x100
mov byte [esi + 0x30c], 1
mov dword [esi + 0x310], 0x200
mov byte [esi + 0x314], 1
mov eax, dword [esi + 0x318]
and dword [esi + 0x31c], 0xffffffc0
and eax, 0x80200200
or eax, 0x200200
mov dword [esi + 0x318], eax
mov eax, dword [esi + 0x320]
and dword [esi + 0x324], 0xffffffc0
and eax, 0x80200201
or eax, 0x200201
mov dword [esi + 0x320], eax
mov eax, dword [esi + 0x328]
and dword [esi + 0x32c], 0xffffffc0
and eax, 0x80200202
or eax, 0x200202
mov dword [esi + 0x328], eax
mov eax, dword [esi + 0x330]
and eax, 0x80200203
or eax, 0x200203
and dword [esi + 0x334], 0xffffffc0
mov dword [esi + 0x330], eax
and dword [esi + 0x33c], 0xffffffc0
mov eax, dword [esi + 0x338]
and eax, 0x80200204
or eax, 0x200204
mov dword [esi + 0x338], eax
and dword [esi + 0x344], 0xffffffc0
mov eax, dword [esi + 0x340]
and eax, 0x80200205
or eax, 0x200205
mov dword [esi + 0x340], eax
and dword [esi + 0x34c], 0xffffffc0
mov eax, dword [esi + 0x348]
and eax, 0x80200206
or eax, 0x200206
mov dword [esi + 0x348], eax
and dword [esi + 0x354], 0xffffffc0
mov eax, dword [esi + 0x350]
and eax, 0x80200207
or eax, 0x200207
mov dword [esi + 0x350], eax
and dword [esi + 0x35c], 0xffffffc0
mov eax, dword [esi + 0x358]
and eax, 0x80402000
or eax, 0x402000
mov dword [esi + 0x358], eax
and dword [esi + 0x364], 0xffffffc0
mov eax, dword [esi + 0x360]
and eax, 0x80402001
or eax, 0x402001
mov dword [esi + 0x360], eax
and dword [esi + 0x36c], 0xffffffc0
mov eax, dword [esi + 0x368]
and eax, 0x80402002
or eax, 0x402002
mov dword [esi + 0x368], eax
and dword [esi + 0x374], 0xffffffc0
mov eax, dword [esi + 0x370]
and eax, 0x80402003
or eax, 0x402003
mov dword [esi + 0x370], eax
mov eax, dword [esi + 0x378]
and dword [esi + 0x37c], 0xffffffc0
and eax, 0x80402004
or eax, 0x402004
mov dword [esi + 0x378], eax
mov eax, dword [esi + 0x380]
and dword [esi + 0x384], 0xffffffc0
and eax, 0x80402005
or eax, 0x402005
mov dword [esi + 0x380], eax
mov eax, dword [esi + 0x388]
and dword [esi + 0x38c], 0xffffffc0
and eax, 0x80402006
or eax, 0x402006
mov dword [esi + 0x388], eax
mov eax, dword [esi + 0x390]
and dword [esi + 0x394], 0xffffffc0
and eax, 0x80402007
or eax, 0x402007
mov dword [esi + 0x390], eax
mov eax, dword [esi + 0x398]
and dword [esi + 0x39c], 0xffffffc0
and eax, 0x80804000
or eax, 0x804000
mov dword [esi + 0x398], eax
mov eax, dword [esi + 0x3a0]
and dword [esi + 0x3a4], 0xffffffc0
and eax, 0x80804001
or eax, 0x804001
mov dword [esi + 0x3a0], eax
mov eax, dword [esi + 0x3a8]
and dword [esi + 0x3ac], 0xffffffc0
and eax, 0x80804002
or eax, 0x804002
mov dword [esi + 0x3a8], eax
mov eax, dword [esi + 0x3b0]
and eax, 0x80804003
or eax, 0x804003
mov dword [esi + 0x3b0], eax
and dword [esi + 0x3b4], 0xffffffc0
mov eax, esi
mov dword [esi + 0x3b8], 5
mov dword [esi + 0x3bc], 1
mov dword [esi + 0x3c0], 2
mov dword [esi + 0x3c4], 3
mov dword [esi + 0x3c8], 4
mov dword [esi + 0x3d0], edx
mov dword [esi + 0x3d4], 1
mov dword [esi + 0x3d8], 2
mov dword [esi + 0x3dc], 3
mov dword [esi + 0x3e0], 4
mov dword [esi + 0x3e4], 5
mov byte [esi + 0x3e8], dl
mov dword [esi + 0x28], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x16
lea ecx, [ebp - 0x20]
call fcn.10016750
push 0x100ecaac
lea eax, [ebp - 0x20]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
mov ecx, dword [esi + 0x14]
push dword [esi + 0x1c]
mov eax, dword [ecx]
call dword [eax + 4]
push 0xe
lea ecx, [ebp - 0x30]
call fcn.10016750
push 0x100ecaac
lea eax, [ebp - 0x30]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3