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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013f947
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1030e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x10317284]
mov dword [ebp - 0x20], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x20], 0x10317680
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10317874]
mov dword [ebp - 0x18], ecx
cmp eax, dword [ecx + 4]
jle 0x10013fac
push 0x10317874
call fcn.1013d0dc
add esp, 4
cmp dword [0x10317874], 0xffffffff
jne 0x10013fac
mov dword [ebp - 4], 0
call fcn.10012c80
mov dword [ebp - 4], 0xffffffff
push 0x10317874
call fcn.1013d08b
add esp, 4
mov eax, dword [0x10317820]
mov ecx, 0x19
mov byte [0x10317680], 0
mov esi, 0x10176700
mov dword [0x10317684], eax
mov edi, 0x10317688
rep movsd dword es:[edi], dword [esi]
push 0x66
push 0
push 0x103176ee
movsw word es:[edi], word [esi]
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 0xc
cmp byte [0x10317680], 0
jne 0x10014043
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0x66
push dword [0x10317684]
call edi
mov eax, dword [0x10317684]
mov ecx, 0x19
mov esi, eax
mov edi, 0x103176ee
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x19
movsw word es:[edi], word [esi]
mov edi, eax
mov esi, 0x10317688
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
movsw word es:[edi], word [esi]
push dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x66
push dword [0x10317684]
call edi
mov byte [0x10317680], 1
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x18]
mov eax, dword [0x10317874]
mov dword [ebp - 0x1c], 0x10317754
cmp eax, dword [esi + 4]
jle 0x10014091
push 0x10317874
call fcn.1013d0dc
add esp, 4
cmp dword [0x10317874], 0xffffffff
jne 0x10014091
mov byte [ebp - 4], 2
call fcn.10012c80
mov byte [ebp - 4], 1
push 0x10317874
call fcn.1013d08b
add esp, 4
mov eax, dword [0x103177dc]
xor cl, cl
mov byte [0x10317754], cl
lea ecx, [ebp - 0x14]
push ecx
push 0x40
push 1
push eax
mov dword [0x10317758], eax
mov word [0x1031775c], 0xc3
call edi
mov ecx, dword [0x10317758]
movzx eax, byte [ecx]
mov byte [0x1031775d], al
movzx eax, byte [0x1031775c]
mov byte [ecx], al
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 1
push dword [0x10317758]
call edi
mov byte [0x10317754], 1
mov byte [ebp - 4], 4
mov eax, dword [0x10317874]
cmp eax, dword [esi + 4]
jle 0x10014127
push 0x10317874
call fcn.1013d0dc
add esp, 4
cmp dword [0x10317874], 0xffffffff
jne 0x10014127
mov byte [ebp - 4], 5
call fcn.10012c80
mov byte [ebp - 4], 4
push 0x10317874
call fcn.1013d08b
add esp, 4
push ecx
push dword [0x103177cc]
mov ecx, 0x10317760
call fcn.10013de0
mov byte [ebp - 4], 6
mov eax, dword [0x10317874]
cmp eax, dword [esi + 4]
jle 0x10014179
push 0x10317874
call fcn.1013d0dc
add esp, 4
cmp dword [0x10317874], 0xffffffff
jne 0x10014179
mov byte [ebp - 4], 7
call fcn.10012c80
mov byte [ebp - 4], 6
push 0x10317874
call fcn.1013d08b
add esp, 4
push ecx
push dword [0x103177d0]
mov ecx, 0x1031776c
call fcn.10013de0
mov byte [ebp - 4], 8
mov eax, dword [0x10317874]
cmp eax, dword [esi + 4]
jle 0x100141cb
push 0x10317874
call fcn.1013d0dc
add esp, 4
cmp dword [0x10317874], 0xffffffff
jne 0x100141cb
mov byte [ebp - 4], 9
call fcn.10012c80
mov byte [ebp - 4], 8
push 0x10317874
call fcn.1013d08b
add esp, 4
mov eax, dword [0x1031783c]
xor cl, cl
mov byte [0x10317778], cl
lea ecx, [ebp - 0x14]
push ecx
push 0x40
push 1
push eax
mov dword [0x1031777c], eax
mov word [0x10317780], 0x4e
call edi
mov ecx, dword [0x1031777c]
movzx eax, byte [ecx]
mov byte [0x10317781], al
movzx eax, byte [0x10317780]
mov byte [ecx], al
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 1
push dword [0x1031777c]
call edi
mov byte [0x10317778], 1
mov byte [ebp - 4], 0xa
mov eax, dword [0x10317874]
mov dword [ebp - 0x1c], 0x10317784
cmp eax, dword [esi + 4]
jle 0x10014268
push 0x10317874
call fcn.1013d0dc
add esp, 4
cmp dword [0x10317874], 0xffffffff
jne 0x10014268
mov byte [ebp - 4], 0xb
call fcn.10012c80
mov byte [ebp - 4], 0xa
push 0x10317874
call fcn.1013d08b
add esp, 4
mov eax, dword [0x1031785c]
mov dword [0x10317788], eax
mov eax, dword [0x101766f8]
mov dword [0x1031778c], eax
mov al, byte [0x101766fc]
mov byte [0x10317784], 0
mov byte [0x10317790], al
mov dword [0x10317791], 0
mov byte [0x10317795], 0
mov byte [ebp - 4], 0xd
mov eax, dword [0x10317874]
cmp eax, dword [esi + 4]
jle 0x100142df
push 0x10317874
call fcn.1013d0dc
add esp, 4
cmp dword [0x10317874], 0xffffffff
jne 0x100142df
mov byte [ebp - 4], 0xe
call fcn.10012c80
mov byte [ebp - 4], 0xd
push 0x10317874
call fcn.1013d08b
add esp, 4
push 1
push dword [0x10317860]
mov ecx, 0x10317798
call fcn.10017b80
mov byte [ebp - 4], 0xf
mov eax, dword [0x10317874]
mov dword [ebp - 0x1c], 0x103177ac
cmp eax, dword [esi + 4]
jle 0x10014339
push 0x10317874
call fcn.1013d0dc
add esp, 4
cmp dword [0x10317874], 0xffffffff
jne 0x10014339
mov byte [ebp - 4], 0x10
call fcn.10012c80
mov byte [ebp - 4], 0xf
push 0x10317874
call fcn.1013d08b
add esp, 4
mov eax, dword [0x1031786c]
mov byte [0x103177ac], 0
mov dword [0x103177b0], eax
mov word [0x103177b4], 0xc3
mov dword [ebp - 4], 0xffffffff
mov eax, 0x10317680
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.1013cfec
mov esp, ebp
pop ebp
ret