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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
movsx eax, word [rdx + 2]
xor r14d, r14d
mov r9d, dword [rcx + 0x24]
mov r11, r8
mov rcx, qword [rcx]
mov r10, rdx
mov qword [rbp - 0x18], rcx
lea r12d, [rax + 4]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x34], r12d
mov r15, qword [rcx + 0xa0]
mov r13, qword [rcx + 0x410]
mov qword [rbp - 0x30], r15
mov qword [rsp + 0x48], r14
mov rsi, qword [r15 + 0x30]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x48], r13
mov dword [rsp + 0x68], r14d
mov qword [rsp + 0x40], r14
mov qword [rbp - 0x40], r14
mov qword [rsp + 0x50], r14
cmp byte [rcx + 0x409], r14b
je 0x140072361
test r13, r13
je 0x140072361
test r12d, r12d
je 0x140071a0a
mov edx, r14d
mov r8d, r12d
nop
mov rax, qword [r10 + 8]
lea rdx, [rdx + 8]
mov ecx, dword [rdx + rax - 8]
shl ecx, 6
mov dword [rdx + r11 - 8], ecx
mov rax, qword [r10 + 8]
mov ecx, dword [rax + rdx - 4]
shl ecx, 6
mov dword [rdx + r11 - 4], ecx
sub r8, 1
jne 0x1400719e0
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0xf8], rdi
cmp r9d, dword [r13 + 0x78]
jae 0x14007235d
mov rcx, qword [r13 + 0x80]
lea eax, [r9 + 1]
lea rbx, [rax*4]
lea rdi, [r9*4]
mov eax, dword [rbx + rcx]
cmp dword [rdi + rcx], eax
je 0x14007235d
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea edx, [r8 + 8]
call fcn.14005d5d0
mov qword [rbp - 0x58], rax
cmp dword [rsp + 0x30], r14d
jne 0x140072311
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea edx, [r8 + 8]
call fcn.14005d5d0
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x30], r14d
jne 0x140072311
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea edx, [r8 + 1]
call fcn.14005d5d0
mov qword [rsp + 0x60], rax
cmp dword [rsp + 0x30], r14d
jne 0x140072311
mov rcx, qword [r13 + 0x80]
mov edx, dword [rcx + rdi]
mov ebx, dword [rbx + rcx]
mov rcx, r15
sub ebx, edx
call fcn.14005b2a0
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x140072311
mov edx, ebx
mov rcx, r15
call fcn.14005a610
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x140072311
mov edi, dword [r15 + 0x38]
lea rax, [rsp + 0x30]
mov r9d, dword [r13]
xor r8d, r8d
sub edi, dword [r15]
mov rcx, rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea edx, [r8 + 4]
call fcn.14005d5d0
mov qword [rbp - 0x70], rax
cmp dword [rsp + 0x30], r14d
jne 0x1400722da
mov r9d, dword [r13]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea edx, [r8 + 4]
call fcn.14005d5d0
mov qword [rbp - 0x68], rax
cmp dword [rsp + 0x30], r14d
jne 0x1400722da
mov r9d, dword [r13]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea edx, [r8 + 4]
call fcn.14005d5d0
mov qword [rbp - 0x60], rax
cmp dword [rsp + 0x30], r14d
jne 0x1400722da
mov rcx, r15
call fcn.14005a8d0
mov rcx, r15
movzx esi, ax
call fcn.14005a8d0
movzx edx, ax
cmp edx, ebx
ja 0x1400722cd
mov eax, esi
and eax, 0xfff
mov dword [rsp + 0x74], eax
lea eax, [rax*4]
cmp eax, ebx
ja 0x1400722cd
add edx, edi
mov dword [rsp + 0x38], edx
bt esi, 0xf
jae 0x140071c53
mov ebx, dword [r15 + 0x38]
mov eax, dword [r15 + 0x40]
sub ebx, dword [r15]
sub eax, dword [r15]
cmp edx, eax
jae 0x140071c0d
mov eax, edx
add rax, qword [r15]
jmp 0x140071c11
mov rax, qword [r15 + 0x40]
mov qword [r15 + 0x38], rax
lea r8, [rsp + 0x68]
mov edx, dword [r13 + 0x88]
mov rcx, r15
call fcn.1400736e0
mov ecx, dword [r15 + 0x38]
sub ecx, dword [r15]
mov dword [rsp + 0x38], ecx
mov ecx, dword [r15 + 0x40]
sub ecx, dword [r15]
mov qword [rsp + 0x40], rax
cmp ebx, ecx
jae 0x140071c4b
mov ecx, ebx
add rcx, qword [r15]
jmp 0x140071c4f
mov rcx, qword [r15 + 0x40]
mov qword [r15 + 0x38], rcx
mov rsi, qword [rsp + 0x58]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea edx, [r8 + 4]
call fcn.14005d5d0
mov rdi, rax
mov qword [rbp - 0x78], rax
cmp dword [rsp + 0x30], r14d
jne 0x1400722a7
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea edx, [r8 + 4]
call fcn.14005d5d0
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x30], r14d
jne 0x1400722a7
test r12d, r12d
je 0x140071cfa
mov r9, qword [rbp + 0x48]
mov rdx, r14
mov r10, qword [rbp - 0x58]
mov r8d, r12d
nop
mov rax, qword [r9 + 8]
lea rdx, [rdx + 8]
mov ecx, dword [rdx + rax - 8]
shl ecx, 0x10
mov dword [rdx + r10 - 8], ecx
mov rax, qword [r9 + 8]
mov ecx, dword [rdx + rax - 4]
shl ecx, 0x10
mov dword [rdx + r10 - 4], ecx
sub r8, 1
jne 0x140071cd0
mov dword [rsp + 0x70], r14d
cmp dword [rsp + 0x74], r14d
jbe 0x14007211c
nop word [rax + rax]
mov rcx, r15
call fcn.14005a8d0
mov rcx, r15
mov word [rbp + 0x58], ax
call fcn.14005a8d0
movzx edi, ax
bt edi, 0xf
jae 0x140071d63
cmp dword [r13], 0
mov ebx, r14d
jbe 0x140071d94
mov r12, qword [rbp - 0x70]
nop dword [rax + rax]
mov rcx, r15
call fcn.14005a8d0
movsx ecx, ax
mov eax, ebx
inc ebx
shl ecx, 2
mov dword [r12 + rax*4], ecx
cmp ebx, dword [r13]
jb 0x140071d40
mov r12d, dword [rsp + 0x34]
jmp 0x140071d94
mov ecx, edi
and ecx, 0xfff
cmp ecx, dword [r13 + 0x68]
jae 0x1400721ed
mov eax, dword [r13]
imul ecx, eax
mov r8d, eax
mov rax, qword [r13 + 0x70]
shl r8, 2
lea rdx, [rax + rcx*4]
mov rcx, qword [rbp - 0x70]
call sub.VCRUNTIME140.dll_memcpy
bt edi, 0xe
jae 0x140071e00
mov eax, dword [r13]
mov ebx, r14d
test eax, eax
je 0x140071dd2
mov rsi, qword [rbp - 0x68]
nop dword [rax]
mov rcx, r15
call fcn.14005a8d0
movsx ecx, ax
mov eax, ebx
inc ebx
shl ecx, 2
mov dword [rsi + rax*4], ecx
mov eax, dword [r13]
cmp ebx, eax
jb 0x140071db0
mov rsi, qword [rsp + 0x58]
mov ebx, r14d
test eax, eax
je 0x140071e00
mov rsi, qword [rbp - 0x60]
nop dword [rax]
mov rcx, r15
call fcn.14005a8d0
movsx ecx, ax
mov eax, ebx
inc ebx
shl ecx, 2
mov dword [rsi + rax*4], ecx
cmp ebx, dword [r13]
jb 0x140071de0
mov rsi, qword [rsp + 0x58]
mov rax, qword [rbp - 0x60]
movzx edx, di
mov r9, qword [rbp - 0x68]
mov rcx, r13
mov r8, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
call fcn.140072670
mov dword [rsp + 0x3c], eax
test eax, eax
je 0x1400720fc
mov eax, dword [r15 + 0x38]
sub eax, dword [r15]
mov ecx, dword [r15 + 0x40]
sub ecx, dword [r15]
mov dword [rbp - 0x50], eax
mov eax, dword [rsp + 0x38]
cmp eax, ecx
jae 0x140071e46
add rax, qword [r15]
jmp 0x140071e4a
mov rax, qword [r15 + 0x40]
mov qword [r15 + 0x38], rax
bt edi, 0xd
jae 0x140071e76
mov edx, dword [r13 + 0x88]
lea r8, [rsp + 0x6c]
mov rcx, r15
call fcn.1400736e0
mov r14d, dword [rsp + 0x6c]
mov rdi, rax
mov qword [rbp - 0x40], rax
jmp 0x140071e85
mov r14d, dword [rsp + 0x68]
mov rdi, qword [rsp + 0x40]
mov dword [rsp + 0x6c], r14d
mov edx, dword [r13 + 0x88]
test r14d, r14d
mov ebx, r14d
mov rcx, r15
cmove ebx, r12d
mov r8d, ebx
call fcn.140073570
mov edx, dword [r13 + 0x88]
mov r8d, ebx
mov rcx, r15
mov qword [rbp - 0x28], rax
mov rsi, rax
call fcn.140073570
mov qword [rbp - 0x20], rax
test rdi, rdi
je 0x1400720a1
test rax, rax
je 0x1400720a1
test rsi, rsi
je 0x1400720a1
cmp rdi, 0xffffffffffffffff
jne 0x140071f76
test r12d, r12d
je 0x1400720a1
mov rcx, qword [rbp - 0x78]
mov r15, rax
sub r15, rcx
mov r13, rsi
sub r13, rax
mov r12, rcx
mov rax, qword [rsp + 0x50]
sub rax, rcx
mov ecx, dword [rsp + 0x34]
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x80], rax
nop dword [rax]
nop word [rax + rax]
mov edx, dword [rsp + 0x3c]
lea rdi, [r15 + r12]
mov ecx, dword [rdi + r13]
mov esi, dword [r12]
mov r14d, dword [rax + r12]
call fcn.140057f10
mov edx, dword [rsp + 0x3c]
mov ebx, eax
mov ecx, dword [rdi]
call fcn.140057f10
add eax, r14d
lea ecx, [rbx + rsi]
sub qword [rbp - 0x38], 1
mov dword [r12], ecx
lea r12, [r12 + 4]
mov rcx, qword [rbp - 0x80]
mov dword [rcx + r12 - 4], eax
mov rax, rcx
jne 0x140071f20
mov r15, qword [rbp - 0x30]
mov r12d, dword [rsp + 0x34]
jmp 0x14007209d
mov r11, qword [rsp + 0x60]
mov r10, qword [rsp + 0x48]
mov r8d, r12d
mov qword [rbp - 0x80], r8
test r12d, r12d
je 0x140071fbc
mov r9, qword [rbp - 0x58]
mov rdx, r11
sub r9, r10
mov rcx, r10
nop dword [rax]
mov byte [rdx], 0
lea rdx, [rdx + 1]
mov rax, qword [r9 + rcx]
mov qword [rcx], rax
lea rcx, [rcx + 8]
sub r8, 1
jne 0x140071fa0
mov rax, qword [rbp - 0x20]
test r14d, r14d
je 0x14007202e
mov r12, qword [rbp - 0x28]
mov rsi, rax
mov r15d, dword [rsp + 0x3c]
sub r12, rax
mov edx, dword [rsp + 0x34]
movzx ecx, word [rdi]
cmp ecx, edx
jae 0x14007200e
mov ebx, ecx
mov byte [rcx + r11], 1
mov ecx, dword [rsi + r12]
mov edx, r15d
call fcn.140057f10
mov r13, qword [rsp + 0x48]
mov edx, r15d
add dword [r13 + rbx*8], eax
mov ecx, dword [rsi]
call fcn.140057f10
add dword [r13 + rbx*8 + 4], eax
mov r10, r13
mov edx, dword [rsp + 0x34]
mov r11, qword [rsp + 0x60]
add rdi, 2
add rsi, 4
sub r14, 1
jne 0x140071fd4
mov r15, qword [rbp - 0x30]
mov r13, qword [rbp - 0x48]
mov r12d, dword [rsp + 0x34]
mov rbx, qword [rbp - 0x58]
mov rdx, r10
mov r9, qword [rsp + 0x60]
mov r8, rbx
mov rcx, qword [rbp + 0x48]
call fcn.140075a50
test r12d, r12d
je 0x1400720a1
mov r10, qword [rsp + 0x48]
lea r8, [rbx + 4]
mov r9, qword [rsp + 0x50]
sub r10, rbx
mov r11, qword [rbp - 0x78]
mov r13, qword [rbp - 0x80]
sub r11, r9
nop word [rax + rax]
mov ecx, dword [r10 + r8]
sub ecx, dword [r8]
mov edx, dword [r9]
lea r9, [r9 + 4]
mov eax, dword [r10 + r8 - 4]
sub eax, dword [r8 - 4]
lea r8, [r8 + 8]
add dword [r11 + r9 - 4], eax
lea eax, [rcx + rdx]
mov dword [r9 - 4], eax
sub r13, 1
jne 0x140072070
mov r13, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x40]
mov rsi, qword [rsp + 0x58]
cmp rbx, 0xffffffffffffffff
je 0x1400720c4
mov rdx, rbx
mov rcx, rsi
call fcn.14005d4a0
xor r14d, r14d
mov qword [rbp - 0x40], r14
jmp 0x1400720c7
xor r14d, r14d
mov rdx, qword [rbp - 0x28]
mov rcx, rsi
call fcn.14005d4a0
mov rdx, qword [rbp - 0x20]
mov rcx, rsi
call fcn.14005d4a0
mov eax, dword [r15 + 0x40]
sub eax, dword [r15]
mov ecx, dword [rbp - 0x50]
cmp ecx, eax
jae 0x1400720f4
mov eax, ecx
add rax, qword [r15]
jmp 0x1400720f8
mov rax, qword [r15 + 0x40]
mov qword [r15 + 0x38], rax
mov ebx, dword [rsp + 0x70]
movzx eax, word [rbp + 0x58]
inc ebx
add dword [rsp + 0x38], eax
mov dword [rsp + 0x70], ebx
cmp ebx, dword [rsp + 0x74]
jb 0x140071d10
mov rdi, qword [rbp - 0x78]
mov r13, qword [rbp - 0x18]
mov r11d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x50]
test byte [r13 + 0x418], 2
je 0x140072149
mov dword [rdi + r11*4], r14d
lea eax, [r12 - 3]
mov dword [r8 + r11*4], r14d
mov dword [rdi + rax*4], r14d
mov dword [r8 + rax*4], r14d
test byte [r13 + 0x418], 0x10
lea r10d, [r12 - 2]
je 0x14007216d
mov dword [rdi + r10*4], r14d
lea eax, [r12 - 1]
mov dword [r8 + r10*4], r14d
mov dword [rdi + rax*4], r14d
mov dword [r8 + rax*4], r14d
mov rbx, qword [rbp + 0x48]
test r12d, r12d
je 0x1400721fa
mov r9, rdi
mov rdx, r8
mov rdi, qword [rbp + 0x50]
sub r9, r8
mov r8d, r12d
nop word [rax + rax]
mov eax, dword [rdx + r9]
lea rdx, [rdx + 4]
add eax, 0x200
lea r14, [r14 + 8]
sar eax, 0xa
add dword [r14 + rdi - 8], eax
mov eax, dword [rdx - 4]
add eax, 0x200
sar eax, 0xa
add dword [r14 + rdi - 4], eax
mov eax, dword [rdx + r9 - 4]
mov rcx, qword [rbx + 8]
add eax, 0x8000
shr eax, 0x10
cwde
add dword [rcx + r14 - 8], eax
mov eax, dword [rdx - 4]
mov rcx, qword [rbx + 8]
add eax, 0x8000
shr eax, 0x10
cwde
add dword [rcx + r14 - 4], eax
sub r8, 1
jne 0x140072190
jmp 0x1400721fe
mov dword [rsp + 0x30], 8
jmp 0x1400722a7
mov rdi, qword [rbp + 0x50]
test byte [r13 + 0x418], 2
mov r9, qword [rbp + 0x40]
jne 0x14007224b
mov rax, qword [rbx + 8]
mov rcx, qword [rax + r11*8]
lea eax, [r12 - 3]
lea rdx, [rax*8]
mov qword [r9 + 0x58], rcx
mov rax, qword [rbx + 8]
mov rcx, qword [rdx + rax]
mov qword [r9 + 0x60], rcx
mov eax, dword [rdx + rdi]
sub eax, dword [rdi + r11*8]
add eax, 0x20
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [r9 + 0x50], eax
test byte [r13 + 0x418], 0x10
jne 0x1400722a7
mov rax, qword [rbx + 8]
lea r8, [r10*8]
mov rcx, qword [r8 + rax]
lea eax, [r12 - 1]
lea rdx, [rax*8]
mov qword [r9 + 0x110], rcx
mov rax, qword [rbx + 8]
mov rcx, qword [rdx + rax]
mov qword [r9 + 0x118], rcx
mov eax, dword [rdx + rdi + 4]
sub eax, dword [r8 + rdi + 4]
add eax, 0x20
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [r9 + 0x10c], eax
mov rdx, qword [rbp - 0x78]
mov rcx, rsi
call fcn.14005d4a0
mov rdx, qword [rsp + 0x50]
mov rcx, rsi
call fcn.14005d4a0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xffffffffffffffff
je 0x1400722e5
jmp 0x1400722dd
mov rsi, qword [rsp + 0x58]
mov dword [rsp + 0x30], 8
mov rdx, r14
mov rcx, rsi
call fcn.14005d4a0
mov rdx, qword [rbp - 0x70]
mov rcx, rsi
call fcn.14005d4a0
mov rdx, qword [rbp - 0x68]
mov rcx, rsi
call fcn.14005d4a0
mov rdx, qword [rbp - 0x60]
mov rcx, rsi
call fcn.14005d4a0
mov rcx, r15
call fcn.14005a730
mov rdx, qword [rbp - 0x58]
mov rcx, rsi
call fcn.14005d4a0
mov rdx, qword [rsp + 0x48]
mov rcx, rsi
call fcn.14005d4a0
mov rdx, qword [rsp + 0x60]
mov rcx, rsi
call fcn.14005d4a0
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x100]
mov rdi, qword [rsp + 0xf8]
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
xor eax, eax
jmp 0x14007233b
mov eax, 6
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret