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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1f8
mov r14, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov rbx, qword [rdx + 8]
mov rax, qword [r15 + 0xa0]
mov rdi, qword [rdx + 0x10]
mov rcx, rdi
test rax, rax
je 0x1401120bc
mov rcx, rdi
sub rcx, rax
jbe 0x1401120b6
cmp byte [rbx + rax], 0xc0
jge 0x1401120bc
jmp 0x140112b85
jne 0x140112b85
test rcx, rcx
je 0x140112b85
movzx ecx, byte [rbx + rax]
test cl, cl
jns 0x140112127
mov edx, ecx
and edx, 0x1f
movzx r9d, byte [rbx + rax + 1]
and r9d, 0x3f
cmp cl, 0xdf
jbe 0x14011211f
movzx r8d, byte [rbx + rax + 2]
shl r9d, 6
and r8d, 0x3f
or r8d, r9d
cmp cl, 0xf0
jb 0x140112409
movzx ecx, byte [rbx + rax + 3]
and edx, 7
shl edx, 0x12
shl r8d, 6
and ecx, 0x3f
or ecx, r8d
or ecx, edx
cmp ecx, 0x110000
jne 0x140112127
jmp 0x140112b85
shl edx, 6
or edx, r9d
mov ecx, edx
cmp ecx, 0x28
jne 0x140112b85
lea r12, [r15 + 0xa0]
lea rcx, [rsp + 0xb0]
mov rdx, r14
call fcn.140109650
mov rcx, r14
call fcn.140109810
mov rcx, r14
call fcn.1401088f0
mov rax, qword [r12]
mov rcx, rdi
test rax, rax
je 0x14011217c
mov rcx, rdi
sub rcx, rax
jbe 0x140112176
cmp byte [rbx + rax], 0xbf
jg 0x14011217c
jmp 0x140112b85
jne 0x140112b85
cmp rcx, 2
jb 0x140112192
movzx ecx, word [rbx + rax]
cmp ecx, 0x3d3f
je 0x1401122ac
mov rcx, rdi
test rax, rax
je 0x1401121b3
mov rcx, rdi
sub rcx, rax
jbe 0x1401121ad
cmp byte [rbx + rax], 0xbf
jg 0x1401121b3
jmp 0x140112b85
jne 0x140112b85
cmp rcx, 2
jb 0x1401121c9
movzx ecx, word [rbx + rax]
cmp ecx, 0x213f
je 0x1401122ac
mov rcx, rdi
test rax, rax
je 0x1401121ea
mov rcx, rdi
sub rcx, rax
jbe 0x1401121e4
cmp byte [rbx + rax], 0xbf
jg 0x1401121ea
jmp 0x140112b85
jne 0x140112b85
cmp rcx, 3
jb 0x14011220b
movzx ecx, word [rbx + rax]
xor ecx, 0x3c3f
movzx edx, byte [rbx + rax + 2]
xor edx, 0x3d
or dx, cx
je 0x1401122a4
mov rcx, rdi
test rax, rax
je 0x14011222c
mov rcx, rdi
sub rcx, rax
jbe 0x140112226
cmp byte [rbx + rax], 0xbf
jg 0x14011222c
jmp 0x140112b85
jne 0x140112b85
cmp rcx, 3
jb 0x140112249
movzx ecx, word [rbx + rax]
xor ecx, 0x3c3f
movzx edx, byte [rbx + rax + 2]
xor edx, 0x21
or dx, cx
je 0x1401122a4
mov rcx, qword [r12 + 0x10]
mov qword [rsp + 0x198], rcx
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x188], xmm0
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x170], xmm0
mov rcx, qword [r12 + 0x10]
mov qword [rsp + 0x180], rcx
mov rcx, rdi
test rax, rax
je 0x140112396
mov rcx, rdi
sub rcx, rax
jbe 0x140112390
cmp byte [rbx + rax], 0xbf
jg 0x140112396
jmp 0x140112b85
mov rcx, r14
call fcn.140109810
mov rcx, r14
call fcn.140109810
mov rcx, r14
call fcn.140109810
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x38], xmm0
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x48], rax
test rdi, rdi
je 0x140112337
js 0x140112b85
movzx eax, byte [0x1402d9160]
mov rcx, qword [0x1402d9150]
test rcx, rcx
jne 0x140112320
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x140112b85
mov rcx, rax
mov qword [0x1402d9150], rax
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapAlloc
mov r14, rax
test rax, rax
jne 0x14011233d
jmp 0x140112b85
mov r14d, 1
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmm2, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x58], xmm0
movups xmmword [rsi + 0x68], xmm1
movups xmmword [rsi + 0x78], xmm2
mov dword [rsi + 8], 0x21
mov qword [rsi + 0x40], r14
mov qword [rsi + 0x48], rdi
mov qword [rsi + 0x50], rdi
mov byte [rsi], 4
add rsp, 0x1f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jne 0x140112b85
cmp rcx, 3
jb 0x1401123b7
movzx ecx, word [rbx + rax]
xor ecx, 0x503f
movzx edx, byte [rbx + rax + 2]
xor edx, 0x3c
or dx, cx
je 0x14011258a
mov rcx, rdi
test rax, rax
je 0x1401123d8
mov rcx, rdi
sub rcx, rax
jbe 0x1401123d2
cmp byte [rbx + rax], 0xbf
jg 0x1401123d8
jmp 0x140112b85
jne 0x140112b85
cmp rcx, 2
jb 0x1401123ee
movzx ecx, word [rbx + rax]
cmp ecx, 0x3c3f
je 0x140112597
mov rcx, rdi
test rax, rax
je 0x140112426
mov rcx, rdi
sub rcx, rax
jbe 0x140112420
cmp byte [rbx + rax], 0xbf
jg 0x140112426
jmp 0x140112b85
shl edx, 0xc
or r8d, edx
mov ecx, r8d
cmp ecx, 0x28
je 0x140112130
jmp 0x140112b85
jne 0x140112b85
test rcx, rcx
je 0x14011248c
cmp byte [rbx + rax], 0x3f
jne 0x14011248c
mov rcx, r14
call fcn.140109810
cmp qword [r12], rdi
jne 0x14011276b
mov rcx, rdi
call fcn.140175b70
mov r14, rax
mov r15, rdx
mov rcx, rax
mov rdx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
movups xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movups xmm2, xmmword [rsp + 0xd0]
movups xmmword [rsi + 0x58], xmm0
movups xmmword [rsi + 0x68], xmm1
movups xmmword [rsi + 0x78], xmm2
mov dword [rsi + 8], 0x15
jmp 0x1401124e1
mov ebp, dword [r15 + 0xb8]
inc ebp
jne 0x1401124ee
mov rcx, rdi
call fcn.140175b70
mov r14, rax
mov r15, rdx
mov rcx, rax
mov rdx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
movups xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movups xmm2, xmmword [rsp + 0xd0]
movups xmmword [rsi + 0x58], xmm0
movups xmmword [rsi + 0x68], xmm1
movups xmmword [rsi + 0x78], xmm2
mov dword [rsi + 8], 0
mov dword [rsi + 0xc], ebp
mov qword [rsi + 0x40], r14
mov qword [rsi + 0x48], r15
jmp 0x140112375
mov dword [r15 + 0xb8], ebp
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x38], xmm0
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x20], xmm0
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
call fcn.14012dfa0
mov rdi, rax
movzx eax, byte [0x1402d9160]
mov ecx, 0x10
mov edx, 8
call fcn.14000b370
test rax, rax
je 0x140112b85
mov qword [rax], 0
mov qword [rax + 8], rdi
movups xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movups xmm2, xmmword [rsp + 0xd0]
movups xmmword [rsi + 0x80], xmm2
movups xmmword [rsi + 0x70], xmm1
movups xmmword [rsi + 0x60], xmm0
mov byte [rsi], 0
mov dword [rsi + 4], ebp
mov qword [rsi + 0x58], rax
jmp 0x14011237c
mov rcx, r14
call fcn.140109810
mov r13b, 1
jmp 0x14011259a
xor r13d, r13d
mov rcx, r14
call fcn.140109810
mov rcx, r14
call fcn.140109810
mov ebp, dword [r15 + 0xb8]
inc ebp
jne 0x14011260a
test rdi, rdi
je 0x140112959
js 0x140112b85
movzx eax, byte [0x1402d9160]
mov rcx, qword [0x1402d9150]
test rcx, rcx
jne 0x1401125ef
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x140112b85
mov rcx, rax
mov qword [0x1402d9150], rax
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapAlloc
mov r14, rax
test rax, rax
jne 0x14011295f
jmp 0x140112b85
mov dword [r15 + 0xb8], ebp
lea rcx, [rsp + 0x20]
mov rdx, r14
mov r8d, ebp
call fcn.140113570
mov eax, dword [rsp + 0x20]
cmp eax, 0x22
jne 0x14011289e
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsp + 0x124], xmm0
movups xmm1, xmmword [rsp + 0x28]
movups xmm2, xmmword [rsp + 0x38]
movups xmm3, xmmword [rsp + 0x48]
movups xmm4, xmmword [rsp + 0x58]
movaps xmmword [rsp + 0x1a0], xmm1
movaps xmmword [rsp + 0x1b0], xmm2
movaps xmmword [rsp + 0x1c0], xmm3
movaps xmmword [rsp + 0x1d0], xmm4
movaps xmmword [rsp + 0x1e0], xmm0
movups xmmword [rsp + 0x66], xmm0
movups xmmword [rsp + 0x56], xmm4
movups xmmword [rsp + 0x46], xmm3
movups xmmword [rsp + 0x36], xmm2
movups xmmword [rsp + 0x26], xmm1
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x108], rax
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0xf8], xmm0
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0xe0], xmm0
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0xe0]
call fcn.14012dfa0
mov rdi, rax
movzx eax, byte [0x1402d9160]
mov ecx, 0x10
mov edx, 8
call fcn.14000b370
test rax, rax
je 0x140112b85
mov qword [rax], 0
mov qword [rax + 8], rdi
movups xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movups xmm2, xmmword [rsp + 0xd0]
movups xmmword [rsi + 0x80], xmm2
movups xmmword [rsi + 0x70], xmm1
movups xmmword [rsi + 0x60], xmm0
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmm2, xmmword [rsp + 0x40]
movups xmm3, xmmword [rsp + 0x50]
movups xmmword [rsi + 2], xmm0
movups xmmword [rsi + 0x12], xmm1
movups xmmword [rsi + 0x22], xmm2
movups xmmword [rsi + 0x32], xmm3
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi + 0x42], xmm0
mov rcx, qword [rsp + 0x6e]
mov qword [rsi + 0x50], rcx
mov byte [rsi], 1
mov byte [rsi + 1], r13b
mov qword [rsi + 0x58], rax
jmp 0x14011237c
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.140112b90
mov eax, dword [rsp + 0x20]
cmp eax, 0x22
jne 0x1401129a0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xa8], rax
mov r13, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x50]
movups xmm2, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x140], xmm2
movaps xmmword [rsp + 0x150], xmm1
movaps xmmword [rsp + 0x160], xmm0
mov r8, qword [r12]
mov rcx, rbx
mov rdx, rdi
call fcn.14010edb0
mov ebp, eax
mov rcx, r14
call fcn.140109810
cmp ebp, 0x29
je 0x140112a2d
cmp ebp, 0x3a
jne 0x140112b85
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x38], xmm0
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x20], xmm0
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
call fcn.14012dfa0
mov rdi, rax
call fcn.14010ee40
mov qword [rax], 0
mov qword [rax + 8], rdi
movups xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movups xmm2, xmmword [rsp + 0xd0]
movups xmmword [rsi + 0x60], xmm0
movups xmmword [rsi + 0x70], xmm1
movups xmmword [rsi + 0x80], xmm2
mov rcx, qword [rsp + 0xa8]
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], r15
movaps xmm0, xmmword [rsp + 0x140]
movaps xmm1, xmmword [rsp + 0x150]
movaps xmm2, xmmword [rsp + 0x160]
movups xmmword [rsi + 0x40], xmm2
movups xmmword [rsi + 0x30], xmm1
movups xmmword [rsi + 0x20], xmm0
mov byte [rsi], 2
mov qword [rsi + 0x58], rax
jmp 0x14011237c
mov ecx, dword [rsp + 0x74]
mov dword [rsp + 0x130], ecx
movups xmm0, xmmword [rsp + 0x64]
movaps xmmword [rsp + 0x120], xmm0
movups xmm0, xmmword [rsp + 0x24]
movups xmm1, xmmword [rsp + 0x34]
movups xmm2, xmmword [rsp + 0x44]
movups xmm3, xmmword [rsp + 0x54]
movaps xmmword [rsp + 0x110], xmm3
movaps xmmword [rsp + 0x100], xmm2
movaps xmmword [rsp + 0xf0], xmm1
movaps xmmword [rsp + 0xe0], xmm0
mov rcx, qword [rsp + 0x98]
mov qword [rsi + 0x80], rcx
movups xmm0, xmmword [rsp + 0x88]
movups xmmword [rsi + 0x70], xmm0
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsi + 0x60], xmm0
mov ecx, dword [rsp + 0x130]
mov dword [rsi + 0x5c], ecx
movaps xmm0, xmmword [rsp + 0x120]
movups xmmword [rsi + 0x4c], xmm0
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmm1, xmmword [rsp + 0xf0]
movaps xmm2, xmmword [rsp + 0x100]
movaps xmm3, xmmword [rsp + 0x110]
movups xmmword [rsi + 0x3c], xmm3
movups xmmword [rsi + 0x2c], xmm2
movups xmmword [rsi + 0x1c], xmm1
movups xmmword [rsi + 0xc], xmm0
jmp 0x140112a25
mov r14d, 1
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
movups xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movups xmm2, xmmword [rsp + 0xd0]
movups xmmword [rsi + 0x58], xmm0
movups xmmword [rsi + 0x68], xmm1
movups xmmword [rsi + 0x78], xmm2
mov dword [rsi + 8], 0
mov dword [rsi + 0xc], ebp
jmp 0x14011236d
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0xe0], xmm0
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0xf0], xmm0
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x100], xmm0
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rsi + 0x78], xmm0
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rsi + 0x68], xmm0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x58], xmm0
movups xmm0, xmmword [rsp + 0x30]
mov dword [rsi + 0xc], ecx
mov qword [rsi + 0x10], rdx
movups xmmword [rsi + 0x18], xmm0
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmm1, xmmword [rsp + 0xf0]
movaps xmm2, xmmword [rsp + 0x100]
movups xmmword [rsi + 0x28], xmm0
movups xmmword [rsi + 0x38], xmm1
movups xmmword [rsi + 0x48], xmm2
mov dword [rsi + 8], eax
jmp 0x140112379
test r15, r15
je 0x140112b0b
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x38], xmm0
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0xe0], xmm0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x108], rax
mov byte [rsi], 3
mov rax, qword [rsp + 0xa8]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], r15
movaps xmm0, xmmword [rsp + 0x140]
movaps xmm1, xmmword [rsp + 0x150]
movaps xmm2, xmmword [rsp + 0x160]
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm1
movups xmmword [rsi + 0x40], xmm2
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmm1, xmmword [rsp + 0xf0]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
movups xmmword [rsi + 0x50], xmm0
movups xmmword [rsi + 0x60], xmm1
mov qword [rsi + 0x70], rax
mov qword [rsi + 0x78], rcx
jmp 0x14011237c
mov rcx, rdi
call fcn.140175b70
mov r14, rax
mov r12, rdx
mov rcx, rax
mov rdx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
movaps xmm0, xmmword [rsp + 0x170]
movaps xmm1, xmmword [rsp + 0x180]
movaps xmm2, xmmword [rsp + 0x190]
movups xmmword [rsi + 0x58], xmm0
movups xmmword [rsi + 0x68], xmm1
movups xmmword [rsi + 0x78], xmm2
mov dword [rsi + 8], 0x1b
mov qword [rsi + 0x40], r14
mov qword [rsi + 0x48], r12
mov qword [rsi + 0x50], rdi
mov byte [rsi], 4
test r13, r13
je 0x14011237c
mov rcx, qword [0x1402d9150]
xor edx, edx
mov r8, qword [rsp + 0xa8]
call sub.kernel32.dll_HeapFree
jmp 0x14011237c
ud2