Function at 0x1014f000
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
sub esp, 0x1c
mov eax, dword [0x102090c0]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [0x10226ca4]
push ebx
mov ebx, ecx
push ebp
mov eax, dword [eax]
push esi
push edi
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebx + 8], eax
mov eax, dword [0x10226ca4]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [eax], 0x10147a40
mov eax, dword [0x10226ca4]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebx + 0xc], eax
mov eax, dword [0x10226ca4]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [eax], 0x101484b0
call fcn.100d0b00
cmp dword [0x104509dc], 0
jne 0x1014f06f
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x104509dc], eax
xor eax, eax
mov ecx, 0x104509d8
xchg dword [ecx], eax
mov eax, dword [0x10226ca4]
mov edx, 0x1014ea50
mov ecx, dword [eax + 0x1fc]
lea eax, [ebx + 0x1e8]
push eax
mov dword [ebx + 0x1e0], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014ea50
mov ecx, dword [eax + 0x200]
lea eax, [ebx + 0x1f4]
push eax
mov dword [ebx + 0x1ec], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014ea50
mov ecx, dword [eax + 0x204]
lea eax, [ebx + 0x200]
push eax
mov dword [ebx + 0x1f8], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014ea50
mov ecx, dword [eax + 0x208]
lea eax, [ebx + 0x20c]
push eax
mov dword [ebx + 0x204], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x10148790
mov ecx, dword [eax + 0x120]
lea eax, [ebx + 0x11c]
push eax
mov dword [ebx + 0x114], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014c9f0
mov ecx, dword [eax + 0x108]
lea eax, [ebx + 0x74]
push eax
mov dword [ebx + 0x6c], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014cb80
mov ecx, dword [eax + 0x10c]
lea eax, [ebx + 0x80]
push eax
mov dword [ebx + 0x78], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014ccc0
mov ecx, dword [eax + 0x114]
lea eax, [ebx + 0x8c]
push eax
mov dword [ebx + 0x84], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014cb90
mov ecx, dword [eax + 0x110]
lea eax, [ebx + 0x98]
push eax
mov dword [ebx + 0x90], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014ccd0
mov ecx, dword [eax + 0x118]
lea eax, [ebx + 0xa4]
push eax
mov dword [ebx + 0x9c], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014d1d0
mov ecx, dword [eax + 0x138]
lea eax, [ebx + 0xec]
push eax
mov dword [ebx + 0xe4], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov ecx, dword [eax + 0x13c]
mov edx, 0x1014d280
lea eax, [ebx + 0xf8]
mov dword [ebx + 0xf0], ecx
push eax
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014d330
mov ecx, dword [eax + 0x140]
lea eax, [ebx + 0x104]
push eax
mov dword [ebx + 0xfc], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014d090
mov ecx, dword [eax + 0xe4]
lea eax, [ebx + 0xd4]
push eax
mov dword [ebx + 0xcc], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014d140
mov ecx, dword [eax + 0xf0]
lea eax, [ebx + 0xe0]
push eax
mov dword [ebx + 0xd8], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x10148a80
mov ecx, dword [eax + 0x17c]
lea eax, [ebx + 0x14c]
push eax
mov dword [ebx + 0x144], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014d3e0
mov ecx, dword [eax + 0x180]
lea eax, [ebx + 0x128]
push eax
mov dword [ebx + 0x120], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014ce00
mov ecx, dword [eax + 0x124]
lea eax, [ebx + 0xbc]
push eax
mov dword [ebx + 0xb4], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014cfb0
mov ecx, dword [eax + 0x134]
lea eax, [ebx + 0xc8]
push eax
mov dword [ebx + 0xc0], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014cd90
mov ecx, dword [eax + 0x11c]
lea eax, [ebx + 0xb0]
push eax
mov dword [ebx + 0xa8], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014df60
mov ecx, dword [eax + 0x1ac]
lea eax, [ebx + 0x170]
push eax
mov dword [ebx + 0x168], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014ea30
mov ecx, dword [eax + 0x1b0]
lea eax, [ebx + 0x188]
push eax
mov dword [ebx + 0x180], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov ecx, dword [eax + 0x1b4]
lea eax, [ebx + 0x194]
mov dword [ebx + 0x18c], ecx
push eax
mov edx, 0x1014e6d0
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014e930
mov ecx, dword [eax + 0x1b8]
lea eax, [ebx + 0x1a0]
push eax
mov dword [ebx + 0x198], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014ea20
mov ecx, dword [eax + 0x1c4]
lea eax, [ebx + 0x1b8]
push eax
mov dword [ebx + 0x1b0], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014ea60
mov ecx, dword [eax + 0x1c8]
lea eax, [ebx + 0x134]
push eax
mov dword [ebx + 0x12c], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014d860
mov ecx, dword [eax + 0x190]
lea eax, [ebx + 0x158]
push eax
mov dword [ebx + 0x150], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014de80
mov ecx, dword [eax + 0x19c]
lea eax, [ebx + 0x164]
push eax
mov dword [ebx + 0x15c], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x10148cf0
mov ecx, dword [eax + 0x1d0]
lea eax, [ebx + 0x140]
push eax
mov dword [ebx + 0x138], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x100200e0
mov ecx, dword [eax + 0x1d4]
lea eax, [ebx + 0x1c4]
push eax
mov dword [ebx + 0x1bc], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014da50
mov ecx, dword [eax + 0x1d8]
lea eax, [ebx + 0x1d0]
push eax
mov dword [ebx + 0x1c8], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014e3d0
mov ecx, dword [eax + 0x1dc]
lea eax, [ebx + 0x1dc]
push eax
mov dword [ebx + 0x1d4], ecx
call fcn.100d0b50
mov eax, dword [0x10226ca4]
mov edx, 0x1014c530
mov ecx, dword [eax + 0x4c]
lea eax, [ebx + 0x3c]
push eax
mov dword [ebx + 0x34], ecx
call fcn.100d0b50
mov eax, dword [0x10226cb0]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xac]
call eax
push eax
lea ecx, [ebx + 0x228]
call fcn.100bf530
mov eax, dword [0x10226cb0]
push dword [eax + 0x24]
lea ecx, [ebx + 0x210]
call fcn.100bf530
mov eax, dword [0x10226cb0]
lea ecx, [ebx + 0x2a0]
push dword [eax + 0x5c]
call fcn.100bf530
mov eax, dword [0x10226cb0]
lea esi, [ebx + 0x234]
mov ecx, esi
push dword [eax + 4]
call fcn.100bf530
mov eax, dword [0x10226cb0]
lea ecx, [ebx + 0x240]
push dword [eax + 0x3c]
call fcn.100bf530
lea eax, [esp + 0x14]
mov edx, 0x1014eb50
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x1c]
call fcn.100d0b50
mov ecx, dword [esi + 4]
mov edx, 0x10149ed0
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x1c], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x58]
call fcn.100d0b50
mov ecx, dword [esi + 4]
mov edx, 0x1014dcb0
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x58], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x60]
call fcn.100d0b50
mov ecx, dword [esi + 4]
mov edx, 0x1014a3a0
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x60], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x94]
call fcn.100d0b50
mov ecx, dword [esi + 4]
mov edx, 0x1014e800
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x94], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x98]
call fcn.100d0b50
mov ecx, dword [esi + 4]
lea esi, [ebx + 0x24c]
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x98], eax
mov ecx, esi
mov eax, dword [0x10226ca4]
push dword [eax + 8]
call fcn.100bf530
lea eax, [esp + 0x14]
mov edx, 0x1014b360
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x44]
call fcn.100d0b50
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x44], eax
lea eax, [esp + 0x14]
mov edx, 0x1014b510
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x48]
call fcn.100d0b50
mov ecx, dword [esi + 4]
mov edx, 0x1014eb20
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x48], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x50]
call fcn.100d0b50
mov ecx, dword [esi + 4]
mov edx, 0x1014be70
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x50], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x5c]
call fcn.100d0b50
mov ecx, dword [esi + 4]
mov edx, 0x1014b390
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x5c], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x6c]
call fcn.100d0b50
mov ecx, dword [esi + 4]
mov edx, 0x1014a120
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x6c], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x8c]
call fcn.100d0b50
mov ecx, dword [esi + 4]
mov edx, 0x10149f10
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x8c], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0xb0]
call fcn.100d0b50
mov ecx, dword [esi + 4]
mov edx, 0x1014c310
mov eax, dword [esp + 0x14]
mov dword [ecx + 0xb0], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0xe8]
call fcn.100d0b50
mov ecx, dword [esi + 4]
mov edx, 0x101453e0
mov eax, dword [esp + 0x14]
mov dword [ecx + 0xe8], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x210]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0xa4]
call fcn.100d0b50
mov ecx, dword [ebx + 0x214]
mov eax, dword [esp + 0x14]
mov dword [ecx + 0xa4], eax
mov eax, dword [0x10226ca4]
mov eax, dword [eax + 0xd8]
lea ecx, [ebx + 0x258]
add eax, 8
push eax
call fcn.100bf530
lea eax, [esp + 0x14]
mov edx, 0x101488f0
push eax
mov eax, dword [ebx + 0x258]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x14]
call fcn.100d0b50
mov ecx, dword [ebx + 0x25c]
mov edx, 0x101489c0
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x258]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x9c]
call fcn.100d0b50
mov ecx, dword [ebx + 0x25c]
lea esi, [ebx + 0x264]
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x9c], eax
mov ecx, esi
mov eax, dword [0x10226cb0]
push dword [eax + 0x10]
call fcn.100bf530
lea eax, [esp + 0x14]
mov edx, 0x10148750
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x6c]
call fcn.100d0b50
mov ecx, dword [esi + 4]
mov edx, 0x1014c280
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x6c], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x148]
call fcn.100d0b50
mov ecx, dword [esi + 4]
mov edx, 0x1014c2d0
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x148], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x174]
call fcn.100d0b50
mov ecx, dword [esi + 4]
mov edx, 0x1014c350
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x174], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x194]
call fcn.100d0b50
mov ecx, dword [esi + 4]
mov edx, 0x1014c210
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x194], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x368]
call fcn.100d0b50
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x368], eax
mov eax, dword [0x10226cb0]
push dword [eax + 0x1c]
lea ecx, [ebx + 0x21c]
call fcn.100bf530
lea eax, [esp + 0x14]
mov edx, 0x10148620
push eax
mov eax, dword [ebx + 0x21c]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x194]
call fcn.100d0b50
mov ecx, dword [ebx + 0x220]
mov edx, 0x101486a0
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x194], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x21c]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x200]
call fcn.100d0b50
mov ecx, dword [ebx + 0x220]
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x200], eax
lea ecx, [ebx + 0x270]
mov eax, dword [0x10226cb0]
push dword [eax + 0x28]
call fcn.100bf530
lea eax, [esp + 0x14]
mov edx, 0x1014e660
push eax
mov eax, dword [ebx + 0x270]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
call fcn.100d0b50
mov ecx, dword [ebx + 0x274]
mov edx, 0x1014c420
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x270]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x80]
call fcn.100d0b50
mov ecx, dword [ebx + 0x274]
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x80], eax
lea ecx, [ebx + 0x27c]
mov eax, dword [0x10226cb0]
push dword [eax + 0x44]
call fcn.100bf530
lea eax, [esp + 0x14]
mov edx, 0x1014a1b0
push eax
mov eax, dword [ebx + 0x27c]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x54]
call fcn.100d0b50
mov ecx, dword [ebx + 0x280]
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x54], eax
lea ecx, [ebx + 0x294]
mov eax, dword [0x10226cb0]
push dword [eax + 0x60]
call fcn.100bf530
lea eax, [esp + 0x14]
mov edx, 0x1014b290
push eax
mov eax, dword [ebx + 0x294]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x14]
call fcn.100d0b50
mov ecx, dword [ebx + 0x298]
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x14], eax
mov eax, dword [0x10226cb0]
movq xmm0, qword [str.F_h_Q_ZHN_]
mov edi, dword [eax + 8]
mov ax, word [0x101f3308]
movq qword [esp + 0x18], xmm0
mov word [esp + 0x20], ax
test ah, ah
je 0x1014fa09
xor ecx, ecx
nop
mov eax, 0x29e4129f
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
mov dl, cl
shr eax, 5
movsx eax, al
imul eax, eax, 0x37
sub dl, al
add dl, 0x35
xor byte [esp + ecx + 0x18], dl
inc ecx
cmp ecx, 0xa
jl 0x1014f9e0
mov eax, dword [edi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
push eax
lea ecx, [ebx + 0x2b8]
call fcn.100bf530
lea eax, [esp + 0x14]
mov edx, 0x1014a360
push eax
mov eax, dword [ebx + 0x2b8]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x34]
call fcn.100d0b50
mov ecx, dword [ebx + 0x2bc]
mov edx, 0x1014b450
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x34], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x2a0]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x3c]
call fcn.100d0b50
mov ecx, dword [ebx + 0x2a4]
mov edx, 0x1014b410
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x3c], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x2a0]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x10c]
call fcn.100d0b50
mov ecx, dword [ebx + 0x2a4]
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x10c], eax
lea ecx, [ebx + 0x2ac]
mov eax, dword [0x10226ca4]
push dword [eax + 0x60]
call fcn.100bf530
lea eax, [esp + 0x14]
mov edx, 0x1014c0c0
push eax
mov eax, dword [ebx + 0x2ac]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x9c]
call fcn.100d0b50
mov ecx, dword [ebx + 0x2b0]
mov edx, 0x1014c3b0
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x9c], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x2ac]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0xa4]
call fcn.100d0b50
mov ecx, dword [ebx + 0x2b0]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ecx + 0xa4], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x10226ca4]
push 0x40
push 4
push dword [eax + 0x58]
call esi
test eax, eax
je 0x1014fb60
mov eax, dword [0x10226ca4]
push 0
mov ecx, dword [eax + 0x58]
mov eax, dword [ecx]
add ecx, 4
add eax, ecx
mov dword [ebx + 0x10], eax
mov eax, dword [0x10226ca4]
mov ecx, dword [eax + 0x58]
mov eax, 0x1014c050
sub eax, ecx
sub eax, 4
mov dword [ecx], eax
push dword [esp + 0x18]
mov eax, dword [0x10226ca4]
push 4
push dword [eax + 0x58]
call esi
lea eax, [esp + 0x14]
mov edx, 0x1014bf70
push eax
mov eax, dword [ebx + 0x228]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x18]
call fcn.100d0b50
mov ecx, dword [ebx + 0x22c]
mov edx, 1
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x18], eax
xor ecx, ecx
call fcn.100d0e10
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1019ba64
add esp, 0x1c
ret