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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1401bd0e0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
test eax, eax
jne 0x140070ebb
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
je 0x140070ebb
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
cmp qword [rax + 0x30], rcx
jne 0x140070dfc
mov rax, qword [rsp + 0x98]
mov dword [rax], 0
xor eax, eax
jmp 0x1400711c5
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
cmp qword [rax + 0x30], rcx
jge 0x140070ebb
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 1]
and eax, 8
test eax, eax
je 0x140070e3e
mov rax, qword [rsp + 0x98]
mov dword [rax], 0xffffffff
xor eax, eax
jmp 0x1400711c5
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x30]
inc rax
cmp rax, qword [rsp + 0x88]
jne 0x140070ebb
mov rax, qword [rsp + 0x98]
mov dword [rax], 0
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.140071de0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140070eab
mov rcx, qword [rsp + 0x80]
call fcn.14006fa30
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
cmp qword [rax + 0x30], rcx
jne 0x140070ea9
xor eax, eax
jmp 0x1400711c5
jmp 0x140070ebb
cmp dword [rsp + 0x20], 0x65
je 0x140070ebb
mov eax, dword [rsp + 0x20]
jmp 0x1400711c5
mov rcx, qword [rsp + 0x80]
call fcn.140070820
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140070ef8
cmp dword [rsp + 0x20], 0x10
jne 0x140070eef
mov rax, qword [rsp + 0x98]
mov dword [rax], 0xffffffff
xor eax, eax
jmp 0x1400711c5
mov eax, dword [rsp + 0x20]
jmp 0x1400711c5
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x88]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
dec eax
mov dword [rsp + 0x38], eax
mov eax, 1
sub eax, dword [rsp + 0x90]
movzx ecx, al
mov eax, dword [rsp + 0x38]
sar eax, cl
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x1a]
mov ecx, dword [rsp + 0x28]
shl ecx, 1
movsxd rcx, ecx
mov rdx, qword [rsp + 0x30]
mov rdx, qword [rdx + 0x60]
movzx ecx, word [rdx + rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x68]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 2]
test eax, eax
je 0x140070fc5
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x50], 0x80
jl 0x140070fc5
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x58]
cmp qword [rsp + 0x48], rax
jb 0x140070fc3
mov ecx, 0x126d2
call fcn.140128c30
jmp 0x1400711c5
jmp 0x140070f81
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call fcn.14004db70
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x58], rax
jge 0x140071009
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x24], eax
jle 0x140071004
mov dword [rsp + 0x3c], 0xffffffff
jmp 0x1400710cd
jmp 0x1400710b6
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x58], rax
jle 0x14007103b
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x24], eax
jle 0x140071039
mov dword [rsp + 0x3c], 1
jmp 0x1400710cd
jmp 0x1400710b6
mov rax, qword [rsp + 0x80]
movzx ecx, word [rsp + 0x28]
mov word [rax + 0x56], cx
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x140071068
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
jmp 0x140071106
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 1]
or eax, 2
mov rcx, qword [rsp + 0x80]
mov byte [rcx + 1], al
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x30], rcx
xor eax, eax
mov rcx, qword [rsp + 0x80]
mov word [rcx + 0x46], ax
mov rax, qword [rsp + 0x98]
mov dword [rax], 0
xor eax, eax
jmp 0x1400711c5
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
sar eax, 1
mov dword [rsp + 0x28], eax
jmp 0x140070f3c
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 8]
test eax, eax
je 0x140071106
mov rax, qword [rsp + 0x80]
movzx ecx, word [rsp + 0x28]
mov word [rax + 0x56], cx
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x3c]
mov dword [rax], ecx
mov dword [rsp + 0x20], 0
jmp 0x1400711b3
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x24], eax
jl 0x140071140
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 9]
add eax, 8
cdqe
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x50]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14004e190
mov dword [rsp + 0x40], eax
jmp 0x14007117f
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x1a]
mov ecx, dword [rsp + 0x24]
shl ecx, 1
movsxd rcx, ecx
mov rdx, qword [rsp + 0x30]
mov rdx, qword [rdx + 0x60]
movzx ecx, word [rdx + rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.14004e190
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
movzx ecx, word [rsp + 0x24]
mov word [rax + 0x56], cx
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call fcn.1400705f0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400711ae
jmp 0x1400711b3
jmp 0x140070ef8
xor eax, eax
mov rcx, qword [rsp + 0x80]
mov word [rcx + 0x46], ax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14014fcd0
add rsp, 0x78
ret