Function at 0x10014310
Capabilities:
Allocate or change rwx memory
Check os version
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003eb11
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x1004a650]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push esi
push edi
mov eax, dword [0x1004a650]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
dec eax
jne 0x10014e89
push 0x94
xor edi, edi
lea eax, [esp + 0xa8]
push edi
push eax
mov dword [0x101adeac], esi
call fcn.10025d10
add esp, 0xc
lea ecx, [esp + 0xa4]
push ecx
mov dword [esp + 0xa8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0xa8], 6
ja 0x100143b8
cmp dword [esp + 0xac], 1
ja 0x100143b8
mov byte [0x10acf698], 1
jmp 0x100143c7
mov edx, dword [0x101adeac]
push edx
call fcn.10004290
add esp, 4
mov ecx, 0x1f26cff7
lea eax, [esp + 0x2c]
call fcn.1001dd70
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov word [esp + 0x34], ax
mov byte [esp + 0x36], al
mov ecx, 0x5cc9d2e3
lea eax, [esp + 0x58]
call fcn.1001de60
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov word [esp + 0x60], cx
call eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x10]
push eax
push 0x40
push 5
push 0x5bd4c0
call esi
mov eax, 0x10013c70
sub eax, 0x5bd4c5
mov byte [0x5bd4c0], 0xe9
lea ecx, [esp + 0x14]
push ecx
mov dword [0x5bd4c1], eax
mov edx, dword [esp + 0x14]
push edx
push 5
push 0x5bd4c0
call esi
lea eax, [esp + 0x10]
push eax
push 0x40
push 7
push 0x5b55ea
call esi
mov eax, 0x10013db0
sub eax, 0x5b55ef
mov byte [0x5b55ea], 0xe9
mov dword [0x5b55eb], eax
mov ecx, 0x90909090
mov edx, 0x5b55ef
lea eax, [esp + 0x14]
push eax
mov word [edx], cx
mov ecx, dword [esp + 0x14]
push ecx
push 7
push 0x5b55ea
call esi
lea edx, [esp + 0x10]
push edx
push 0x40
push 4
push 0x7257b0
call esi
lea eax, [esp + 0x10]
push eax
mov dword [0x7257b0], edi
mov ecx, dword [esp + 0x14]
push ecx
push 4
push 0x7257b0
call esi
lea edx, [esp + 0x10]
push edx
push 0x40
push 6
push 0x5adefe
call esi
mov eax, 0x90909090
mov ecx, 0x5adefe
mov dword [ecx], eax
mov word [ecx + 4], ax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
push 6
push 0x5adefe
call esi
lea edx, [esp + 0x10]
push edx
push 0x40
push 6
push 0x5ae5dc
call esi
mov eax, 0x90909090
mov ecx, 0x5ae5dc
mov dword [ecx], eax
mov word [ecx + 4], ax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
push 6
push 0x5ae5dc
call esi
lea edx, [esp + 0x10]
push edx
push 0x40
push 6
push 0x5ad907
call esi
mov eax, 0x90909090
mov ecx, 0x5ad907
mov dword [ecx], eax
mov word [ecx + 4], ax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
push 6
push 0x5ad907
call esi
lea edx, [esp + 0x10]
push edx
push 0x40
push 6
push 0x5adbb0
call esi
mov eax, 0x90909090
mov ecx, 0x5adbb0
mov dword [ecx], eax
mov word [ecx + 4], ax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
push 6
push 0x5adbb0
call esi
lea edx, [esp + 0x10]
push edx
push 0x40
push 6
push 0x5ae8ff
call esi
mov eax, 0x90909090
mov ecx, 0x5ae8ff
mov dword [ecx], eax
mov word [ecx + 4], ax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
push 6
push 0x5ae8ff
call esi
lea edx, [esp + 0x10]
push edx
push 0x40
push 6
push 0x5aef4f
call esi
mov eax, 0x90909090
mov ecx, 0x5aef4f
mov dword [ecx], eax
mov word [ecx + 4], ax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
push 6
push 0x5aef4f
call esi
lea edx, [esp + 0x10]
push edx
push 0x40
push 5
push 0x57acbf
call esi
mov eax, 0x90909090
mov ecx, 0x57acbf
mov dword [ecx], eax
mov byte [ecx + 4], al
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
push 5
push 0x57acbf
call esi
lea edx, [esp + 0x10]
push edx
push 0x40
push 5
push 0x57ad03
call esi
mov eax, 0x90909090
mov ecx, 0x57ad03
mov dword [ecx], eax
mov byte [ecx + 4], al
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
push 5
push 0x57ad03
call esi
lea edx, [esp + 0x10]
push edx
push 0x40
push 5
push 0x57ad47
call esi
mov eax, 0x90909090
mov ecx, 0x57ad47
mov dword [ecx], eax
mov byte [ecx + 4], al
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
push 5
push 0x57ad47
call esi
lea edx, [esp + 0x10]
push edx
push 0x40
push 5
push 0x57be80
call esi
mov eax, 0x90909090
mov ecx, 0x57be80
mov dword [ecx], eax
mov byte [ecx + 4], al
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
push 5
push 0x57be80
call esi
lea edx, [esp + 0x10]
push edx
push 0x40
push 5
push 0x57bf0e
call esi
mov eax, 0x90909090
mov ecx, 0x57bf0e
mov dword [ecx], eax
mov byte [ecx + 4], al
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
push 5
push 0x57bf0e
call esi
lea edx, [esp + 0x10]
push edx
push 0x40
push 5
push 0x57bf78
call esi
mov eax, 0x90909090
mov ecx, 0x57bf78
mov dword [ecx], eax
mov byte [ecx + 4], al
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
push 5
push 0x57bf78
call esi
lea edx, [esp + 0x10]
push edx
push 0x40
push 5
push 0x57c057
call esi
mov eax, 0x90909090
mov ecx, 0x57c057
mov dword [ecx], eax
mov byte [ecx + 4], al
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
push 5
push 0x57c057
call esi
lea edx, [esp + 0x10]
push edx
push 0x40
push 5
push 0x57c0bb
call esi
mov eax, 0x90909090
mov ecx, 0x57c0bb
mov dword [ecx], eax
mov byte [ecx + 4], al
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
push 5
push 0x57c0bb
call esi
lea edx, [esp + 0x10]
push edx
push 0x40
push 5
push 0x57c125
call esi
mov eax, 0x90909090
mov ecx, 0x57c125
mov dword [ecx], eax
mov byte [ecx + 4], al
lea eax, [esp + 0x10]
push eax
mov ecx, dword [esp + 0x14]
push ecx
push 5
push 0x57c125
call esi
mov ebx, 0xff
push ebx
lea edx, [esp + 0x144]
push 0x1b
push edx
mov eax, 0x400000
mov dword [esp + 0x14c], 0xffffffa1
mov dword [esp + 0x150], 0xffffffff
mov dword [esp + 0x154], 0xffff8b32
mov dword [esp + 0x158], 0xffffffff
mov dword [esp + 0x15c], 0x78ffffff
mov dword [esp + 0x160], 0x8bffff89
mov word [esp + 0x164], 0x8ff
mov byte [esp + 0x166], 0x51
call fcn.10004090
add esp, 0xc
cmp eax, edi
je 0x10014d1c
mov eax, dword [eax + 1]
push ebx
lea ecx, [esp + 0x144]
mov dword [0x10acf964], eax
push 0x21
push ecx
mov eax, 0x400000
mov dword [esp + 0x14c], 0xffffffa1
mov dword [esp + 0x150], 0xffff89ff
mov dword [esp + 0x154], 0x83ffffff
mov dword [esp + 0x158], 0xffffffff
mov dword [esp + 0x15c], 0xffff02ff
mov dword [esp + 0x160], 0xffffff83
mov dword [esp + 0x164], 0x7404ffff
mov dword [esp + 0x168], 0x6affebff
mov byte [esp + 0x16c], 0
call fcn.10004090
add esp, 0xc
mov dword [0x10acf968], eax
cmp eax, edi
je 0x100148c7
mov edx, dword [eax + 1]
mov dword [0x10acf968], edx
jmp 0x10014915
mov eax, 0xba
lea esp, [esp]
mov cl, byte [edi + 0x10044e20]
xor cl, al
inc eax
mov byte [esp + edi + 0x48], cl
inc edi
and eax, ebx
cmp edi, 0xf
jb 0x100148d0
lea edx, [esp + 0x48]
push edx
push 0
mov ecx, 0x100abb70
mov byte [esp + 0x5f], 0
call fcn.10004e20
xor eax, eax
add esp, 8
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call fcn.10004330
push ebx
lea eax, [esp + 0x144]
push 0x11
push eax
mov eax, 0x400000
mov dword [esp + 0x14c], 0xffffff66
mov dword [esp + 0x150], 0xff66ffff
mov dword [esp + 0x154], 0xff8b24ff
mov dword [esp + 0x158], 0xffffffff
mov byte [esp + 0x15c], 0x51
call fcn.10004090
add esp, 0xc
mov dword [0x10acf988], eax
test eax, eax
je 0x10014975
mov ecx, dword [eax + 2]
mov dword [0x10acf988], ecx
jmp 0x100149b1
mov ecx, 0x10044e30
sub ecx, 0x575d72e6
lea eax, [esp + 0x80]
call fcn.1001dee0
push eax
push 0
mov ecx, 0x100abb70
call fcn.10004e20
xor eax, eax
add esp, 8
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
call fcn.10004330
mov eax, 0xfe
push eax
lea edx, [esp + 0x144]
push 0xb
push edx
mov eax, 0x400000
mov dword [esp + 0x14c], 0xfefefe83
mov dword [esp + 0x150], 0x74fffefe
mov word [esp + 0x154], 0x6afe
mov byte [esp + 0x156], 0x1a
call fcn.10004090
add esp, 0xc
mov dword [0x10acf96c], eax
test eax, eax
je 0x10014a09
mov eax, dword [eax + 2]
mov dword [0x10acf96c], eax
jmp 0x10014a67
mov eax, 0xde
xor edi, edi
mov cl, byte [edi + 0x10044e38]
xor cl, al
inc eax
mov byte [esp + edi + 0x64], cl
inc edi
and eax, ebx
cmp edi, 0x18
jb 0x10014a10
mov byte [esp + 0x7c], 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x180], 0
call fcn.100043e0
xor eax, eax
mov dword [esp + 0x180], 0xffffffff
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov byte [esp + 0x7c], al
push ebx
lea edx, [esp + 0x144]
push 0x17
push edx
mov eax, 0x400000
mov dword [esp + 0x14c], 0x8e68
mov dword [esp + 0x150], 0xc16800
mov dword [esp + 0x154], 0xff8d0000
mov dword [esp + 0x158], 0xffffffff
mov dword [esp + 0x15c], 0xffffffe8
mov word [esp + 0x160], 0x6aff
mov byte [esp + 0x162], 2
call fcn.10004090
mov edi, eax
add esp, 0xc
mov dword [esp + 0x10], edi
test edi, edi
je 0x10014ca5
push ebx
lea eax, [esp + 0x144]
push 0x1b
push eax
mov eax, 0x400000
mov dword [esp + 0x14c], 0xffffffa1
mov dword [esp + 0x150], 0xffffffff
mov dword [esp + 0x154], 0xffff8b32
mov dword [esp + 0x158], 0xffffffff
mov dword [esp + 0x15c], 0x78ffffff
mov dword [esp + 0x160], 0x8bffff89
mov word [esp + 0x164], 0x8ff
mov byte [esp + 0x166], 0x51
call fcn.10004090
add esp, 0xc
mov dword [0x101add1c], eax
test eax, eax
je 0x10014b56
mov ecx, dword [eax + 0xb]
mov dword [0x101add1c], ecx
jmp 0x10014bb8
mov eax, 0x67
xor edi, edi
lea ecx, [ecx]
mov dl, byte [edi + str.4__58]
xor dl, al
inc eax
mov byte [esp + edi + 0x18], dl
inc edi
and eax, ebx
cmp edi, 0x12
jb 0x10014b60
mov byte [esp + 0x2a], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x180], 1
call fcn.100043e0
mov dword [esp + 0x180], 0xffffffff
mov edi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x28], ax
mov byte [esp + 0x2a], al
mov eax, dword [edi + 0x48]
mov edx, dword [edi + eax + 0x57]
lea ecx, [edi + eax + 0x4c]
lea eax, [ecx + edx + 0xf]
mov dword [0x10acf990], eax
add eax, 0x2d
mov dword [0x101ae0ac], eax
mov edx, dword [eax + 1]
lea eax, [eax + edx + 5]
mov dword [0x101ae0ac], eax
mov edx, dword [ecx + 0x26]
lea eax, [ecx + edx + 0x2a]
lea edx, [eax + 8]
mov dword [0x1004ed34], edx
mov edi, dword [edx + 1]
lea edx, [edx + edi + 5]
mov dword [0x1004ed34], edx
lea edx, [eax + 0x21]
mov dword [0x1004ed28], edx
mov edi, dword [edx + 1]
lea edx, [edx + edi + 5]
mov dword [0x1004ed28], edx
lea edx, [eax + 0x3a]
mov dword [0x1004ed2c], edx
mov edi, dword [edx + 1]
lea edx, [edx + edi + 5]
mov dword [0x1004ed2c], edx
lea edx, [eax + 0x42]
mov dword [0x1004ed30], edx
mov edi, dword [edx + 1]
lea edx, [edx + edi + 5]
mov dword [0x1004ed30], edx
lea edx, [eax + 0xc8]
mov dword [0x1004ed38], edx
mov edi, dword [edx + 1]
lea edx, [edx + edi + 5]
mov dword [0x1004ed38], edx
mov dword [0x10acf68c], 0x1000df60
cmp byte [ecx], 0x55
mov dword [0x101adce8], ecx
mov dword [0x101add10], eax
je 0x10014c7c
call fcn.10004330
mov eax, dword [0x101add10]
mov ecx, dword [0x10acf990]
cmp byte [ecx], 0x55
je 0x10014c91
call fcn.10004330
mov eax, dword [0x101add10]
cmp byte [eax], 0x55
je 0x10014c9b
call fcn.10004330
call fcn.10013f60
jmp 0x10014d66
mov eax, 0x72
xor edi, edi
lea esp, [esp]
mov dl, byte [edi + 0x10044e68]
xor dl, al
inc eax
mov byte [esp + edi + 0x88], dl
inc edi
and eax, ebx
cmp edi, 0x1b
jb 0x10014cb0
mov byte [esp + 0xa3], 0
lea ecx, [esp + 0x88]
mov dword [esp + 0x180], 2
call fcn.100043e0
xor eax, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
jmp 0x10014d66
mov eax, 0x82
mov cl, byte [edi + 0x10044e84]
xor cl, al
inc eax
mov byte [esp + edi + 0x38], cl
inc edi
and eax, ebx
cmp edi, 0xf
jb 0x10014d21
lea edx, [esp + 0x38]
push edx
push 0
mov ecx, 0x100abb70
mov byte [esp + 0x4f], 0
call fcn.10004e20
xor eax, eax
add esp, 8
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.10004330
push ebx
lea eax, [esp + 0x144]
push 0x30
push eax
mov eax, 0x400000
mov dword [esp + 0x14c], 0xffe8c88b
mov dword [esp + 0x150], 0xe8ffffff
mov dword [esp + 0x154], 0xffffffff
mov dword [esp + 0x158], 0xffffffe8
mov dword [esp + 0x15c], 0xffffe8ff
mov dword [esp + 0x160], 0xffe8ffff
mov dword [esp + 0x164], 0xe8ffffff
mov dword [esp + 0x168], 0xffffffff
mov dword [esp + 0x16c], 0xffffffe8
mov dword [esp + 0x170], 0xffffe8ff
mov dword [esp + 0x174], 0x1b0ffff
mov dword [esp + 0x178], 0xc35de58b
call fcn.10004090
add esp, 0xc
mov dword [0x101ae0b0], eax
test eax, eax
je 0x10014e56
lea ecx, [eax + 0x20]
mov dword [0x101ae2a0], ecx
lea ebx, [eax + 0x1b]
lea ecx, [esp + 0x10]
push ecx
mov dword [0x101add20], ebx
mov edx, dword [ebx + 1]
push 0x40
push 5
lea eax, [ebx + edx + 5]
push ebx
mov dword [0x101add20], eax
call esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
mov edx, 0x1000d520
sub edx, ebx
push 5
sub edx, 5
push ebx
mov byte [ebx], 0xe9
mov dword [ebx + 1], edx
call esi
jmp 0x10014e5b
call fcn.10004330
xor ecx, ecx
mov edi, 0x1000f0d0
mov dword [0x101ae0b0], 0
call fcn.10004190
xor ecx, ecx
mov edi, 0x10010150
call fcn.10004190
xor ecx, ecx
mov edi, 0x10013370
call fcn.10004190
mov eax, 1
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.1002206c
mov esp, ebp
pop ebp
ret 0xc