Function at 0x140116390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov eax, dword [rsp + 0x88]
shl eax, 2
mov ecx, dword [rsp + 0x78]
lea eax, [rax + rcx*2]
mov rcx, qword [rsp + 0x70]
add eax, dword [rcx + 0xc8]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov ecx, eax
call fcn.1400e9250
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0xd8], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0xd8], 0
jne 0x140116400
mov rax, qword [rsp + 0x90]
mov dword [rax], 7
jmp 0x14011666d
mov eax, dword [rsp + 0x3c]
mov r8d, eax
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0xd8]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0xd8]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x78]
shl eax, 1
mov eax, eax
mov r8d, eax
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x28]
mov rcx, qword [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x80]
shl eax, 2
mov eax, eax
mov ecx, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rdx, qword [rdx + 0x28]
lea rcx, [rdx + rcx*2]
mov edx, dword [rsp + 0x80]
mov r8d, dword [rsp + 0x88]
sub r8d, edx
mov edx, r8d
mov edx, edx
mov r8, qword [rsp + 0x30]
lea rdx, [r8 + rdx*4]
mov qword [rsp + 0x50], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x50]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x28], rcx
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0xb8], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 0xd0]
inc eax
sar eax, 6
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x38], 0
jmp 0x140116515
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x28], eax
jge 0x14011664f
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x20], eax
xor edx, edx
mov eax, dword [rsp + 0x78]
mov ecx, 2
div ecx
cmp dword [rsp + 0x20], eax
je 0x14011663f
mov dword [rsp + 0x2c], 0
jmp 0x140116560
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x10
jge 0x14011663d
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x30]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x24], 0
je 0x14011662d
mov eax, dword [rsp + 0x24]
sar eax, 4
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x24]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x24]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x24]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x24]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x140116638
mov eax, dword [rsp + 0x20]
add eax, 4
mov dword [rsp + 0x20], eax
jmp 0x140116556
jmp 0x14011664a
mov eax, dword [rsp + 0x28]
add eax, 0x10
mov dword [rsp + 0x28], eax
jmp 0x14011650b
mov r9, qword [rsp + 0x90]
mov r8, qword [rsp + 0x70]
lea rdx, [0x140119e70]
mov rcx, qword [rsp + 0x70]
call fcn.140116df0
add rsp, 0x68
ret