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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb8]
movzx eax, word [rax + 2]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x90]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x98], rax
cmp dword [rsp + 0x2c], 0x8000
jae 0x14007a8bc
mov r8d, 0xffe7
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call fcn.14006e780
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 4]
and eax, 0x1f
mov ecx, 0x605fd9
mov dword [rsp + 0x5c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x5c]
shr eax, cl
and eax, 1
test eax, eax
je 0x14007a629
mov dword [rsp + 0x30], 0x3f
jmp 0x14007a631
mov dword [rsp + 0x30], 0x1f
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x30]
mov eax, dword [rax]
and eax, ecx
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0xc8], 0
jne 0x14007a78f
cmp dword [rsp + 0x28], 0
je 0x14007a78f
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xb8]
and eax, 0x40
test eax, eax
je 0x14007a78f
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 4]
and eax, 0x1f
mov ecx, 0x605fd9
mov dword [rsp + 0x60], ecx
movzx ecx, al
mov eax, dword [rsp + 0x60]
shr eax, cl
and eax, 1
mov rcx, qword [rsp + 0xb8]
movzx ecx, word [rcx]
mov r9d, eax
mov r8d, 0xffe7
mov edx, ecx
mov rcx, qword [rsp + 0xb0]
call fcn.1400742b0
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x3c], eax
je 0x14007a78f
cmp dword [rsp + 0xc0], 0
jne 0x14007a6e6
mov eax, dword [rsp + 0x28]
neg eax
mov dword [rsp + 0x34], eax
jmp 0x14007a6ee
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x80]
dec rax
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x80], rcx
mov rax, qword [rsp + 0x88]
movzx ecx, byte [rsp + 0x34]
mov byte [rax], cl
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 4]
and eax, 0x1f
mov ecx, 0x605fd9
mov dword [rsp + 0x64], ecx
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
and eax, 1
test eax, eax
je 0x14007a760
mov dword [rsp + 0x38], 0x800000
jmp 0x14007a768
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
sub eax, 0xf841c3c
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x20]
mov edx, eax
mov rcx, qword [rsp + 0xb0]
call fcn.14006bb60
jmp 0x14007abc0
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x14007a7a7
cmp dword [rsp + 0x40], 1
je 0x14007a7ac
jmp 0x14007a814
jmp 0x14007a8b7
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 4]
and eax, 0x1f
mov ecx, 0x605fd9
mov dword [rsp + 0x68], ecx
movzx ecx, al
mov eax, dword [rsp + 0x68]
shr eax, cl
and eax, 1
test eax, eax
je 0x14007a7de
mov dword [rsp + 0x44], 0x80200
jmp 0x14007a7e6
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0xc0]
add ecx, eax
mov eax, ecx
mov r9d, dword [rsp + 0x20]
mov r8d, eax
mov edx, 0xd10000fe
mov rcx, qword [rsp + 0xb0]
call fcn.14006b600
jmp 0x14007a8b7
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x80]
dec rax
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x90]
mov qword [rax + 0x80], rcx
mov rax, qword [rsp + 0x90]
movzx ecx, byte [rsp + 0x28]
mov byte [rax], cl
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 4]
and eax, 0x1f
mov ecx, 0x605fd9
mov dword [rsp + 0x6c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x6c]
shr eax, cl
and eax, 1
test eax, eax
je 0x14007a886
mov dword [rsp + 0x48], 0x80200
jmp 0x14007a88e
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0xc0]
add ecx, eax
mov eax, ecx
mov r9d, dword [rsp + 0x20]
mov r8d, eax
mov edx, 0xc10000fe
mov rcx, qword [rsp + 0xb0]
call fcn.14006b600
jmp 0x14007aba1
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xb8]
and eax, 0x40
test eax, eax
je 0x14007a9ed
cmp dword [rsp + 0xc8], 0
je 0x14007a9ed
mov r8d, 0xffe7
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call fcn.14006e780
mov dword [rsp + 0x20], eax
mov r8d, 0xffe7
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0xb0]
call fcn.14006e4b0
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 4]
and eax, 0x1f
mov ecx, 0x605fd9
mov dword [rsp + 0x70], ecx
movzx ecx, al
mov eax, dword [rsp + 0x70]
shr eax, cl
and eax, 1
mov ecx, dword [rsp + 0x50]
mov edx, 1
shl edx, cl
mov ecx, edx
not ecx
and ecx, 0xffe7
mov rdx, qword [rsp + 0xb8]
movzx edx, word [rdx]
mov r9d, eax
mov r8d, ecx
mov rcx, qword [rsp + 0xb0]
call fcn.1400742b0
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 4]
and eax, 0x1f
mov ecx, 0x605fd9
mov dword [rsp + 0x74], ecx
movzx ecx, al
mov eax, dword [rsp + 0x74]
shr eax, cl
and eax, 1
test eax, eax
je 0x14007a9aa
mov dword [rsp + 0x4c], 0x800000
jmp 0x14007a9b2
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0xc8]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x50]
shl ecx, 0x13
xor eax, ecx
mov r9d, dword [rsp + 0x78]
mov r8d, dword [rsp + 0x20]
mov edx, eax
mov rcx, qword [rsp + 0xb0]
call fcn.14006bb60
jmp 0x14007abc0
mov r8d, 0xffe5
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call fcn.14006e780
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jne 0x14007aa83
mov edx, 0xffe5
mov rcx, qword [rsp + 0xb0]
call fcn.14006dfc0
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 4]
and eax, 0x1f
mov ecx, 0x605fd9
mov dword [rsp + 0x7c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x7c]
shr eax, cl
and eax, 1
test eax, eax
je 0x14007aa5b
mov dword [rsp + 0x54], 0x80200
jmp 0x14007aa63
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x54]
inc eax
mov r9d, dword [rsp + 0x20]
mov r8d, eax
mov edx, 0x8b0000fe
mov rcx, qword [rsp + 0xb0]
call fcn.14006b600
mov rax, qword [rsp + 0x98]
movzx eax, byte [rax + 6]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
and eax, 0x80
test eax, eax
je 0x14007aabd
mov r8d, 2
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0xb0]
call fcn.14006e280
mov dword [rsp + 0x24], eax
jmp 0x14007aad6
cmp dword [rsp + 0x24], 1
je 0x14007aad6
mov edx, 2
mov rcx, qword [rsp + 0xb0]
call fcn.14006dfc0
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 4]
and eax, 0x1f
mov ecx, 0x605fd9
mov dword [rsp + 0x80], ecx
movzx ecx, al
mov eax, dword [rsp + 0x80]
shr eax, cl
and eax, 1
test eax, eax
je 0x14007ab0e
mov dword [rsp + 0x58], 0x80200
jmp 0x14007ab16
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0xc0]
add ecx, eax
mov eax, ecx
mov r9d, dword [rsp + 0x20]
mov r8d, eax
mov edx, 0xd30000fe
mov rcx, qword [rsp + 0xb0]
call fcn.14006b600
mov eax, dword [rsp + 0x24]
mov ecx, 1
mov dword [rsp + 0x84], ecx
movzx ecx, al
mov eax, dword [rsp + 0x84]
shl eax, cl
not eax
mov rcx, qword [rsp + 0xb0]
mov ecx, dword [rcx + 0xb0]
and ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xb0]
mov dword [rcx + 0xb0], eax
cmp dword [rsp + 0x24], 1
je 0x14007aba1
mov r9d, dword [rsp + 0x24]
mov r8d, 1
mov edx, 0x8b0000fe
mov rcx, qword [rsp + 0xb0]
call fcn.14006b600
mov rax, qword [rsp + 0xb8]
movzx eax, word [rax]
mov r8d, eax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xb0]
call fcn.14006e970
add rsp, 0xa8
ret