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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014b478
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10174110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x101a6808]
cmp dword [esi + 0x174], 0
setg byte [ebp - 0x18]
cmp dword [0x101a15dc], 4
jne 0x10104817
mov eax, dword [esi + 0x4cb0]
xor edi, edi
add eax, dword [esi + 0x4cac]
mov edx, dword [esi + 0x4cb4]
mov dword [ebp - 0x14], eax
cmp edx, eax
jg 0x101047ee
cmp edi, 0x96
jge 0x101047ee
mov ecx, dword [0x101a67f8]
push edx
push 0xffffffffffffffff
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov esi, eax
test esi, esi
je 0x101047e8
mov eax, dword [0x101a69dc]
mov edx, dword [0x101a14e8]
lea ecx, [eax - 0x3f]
xor ecx, 0x704949d9
cmp byte [esi + 0x48], 0
jne 0x101047d2
cmp dword [ecx + edx], 0
jne 0x101047c3
mov dword [ecx + edx], 0
mov edx, dword [0x101a14e8]
mov eax, dword [0x101a69dc]
add eax, 0xffffffc1
xor eax, 0x704949d9
dec dword [eax + edx]
mov byte [esi + 0x48], 1
mov esi, dword [0x101a6808]
inc edi
mov edx, dword [esi + 0x4cb4]
add edx, edi
cmp edx, dword [ebp - 0x14]
jle 0x10104773
jmp 0x101047ee
mov esi, dword [0x101a6808]
mov edx, dword [esi + 0x4cb0]
add edx, dword [esi + 0x4cac]
mov ecx, dword [0x101a67b0]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push dword [ebp - 0x18]
push dword [esi + 0x174]
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x101ab8e4], 0
jne 0x10104946
movaps xmm0, xmmword [0x10160890]
xor eax, eax
movaps xmm2, xmmword [0x10160a90]
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x1c], 0xe3e6
movaps xmm0, xmmword [0x10160800]
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0x1a], 0xa0
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0x3c]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x3c], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x10104850
cmp eax, 0x23
jae 0x1010487b
nop
xor byte [ebp + eax - 0x3c], 0xa0
inc eax
cmp eax, 0x23
jb 0x10104870
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x54], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10104893
sub ecx, edx
lea eax, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.100352a0
mov dword [ebp - 4], 0
mov edx, dword [0x101a6768]
test edx, edx
je 0x101048bf
mov edx, dword [edx + 0x50]
jmp 0x101048c1
xor edx, edx
mov eax, dword [0x101a6760]
test eax, eax
je 0x101048cf
mov eax, dword [eax + 0x18]
jmp 0x101048d1
xor eax, eax
lea ecx, [ebp - 0x54]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.10065cf0
mov edi, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0x40]
inc edi
cmp edx, 0x10
jb 0x10104915
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1010490b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10104961
push edx
push ecx
call fcn.1011a4ac
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x14], 0
call esi
lea eax, [ebp - 0x14]
mov dword [edi], 0x3e
push eax
push dword [ebp - 0x14]
push 4
push edi
call esi
mov byte [0x101ab8e4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10119ff7
mov esp, ebp
pop ebp
ret
call fcn.10121c8d
int3