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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
add rax, 4
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
add rax, 0x70
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, 0x80
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0xf0]
call fcn.1400222f0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400226f0
jmp 0x140022a3d
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x2c], 0
jne 0x14002271d
jmp 0x140022a3d
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
cmp dword [rax + 4], 0
je 0x140022824
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
sub rax, 8
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x88], 0
jmp 0x14002278d
mov eax, dword [rsp + 0x88]
inc eax
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x88], eax
jge 0x140022807
movsxd rax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*2]
sar eax, 0xc
cmp eax, 0xa
jne 0x140022802
movsxd rax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*2]
and eax, 0xfff
mov rcx, qword [rsp + 0x58]
add eax, dword [rcx]
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax]
add rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x8c]
mov rdx, qword [rsp + 0x30]
mov qword [rdx + rcx], rax
jmp 0x14002277d
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
jmp 0x140022736
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0
je 0x1400229eb
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.1403d1974
nop
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x140022890
jmp 0x140022a3d
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax], 0
je 0x1400229d8
mov rax, qword [rsp + 0xa0]
movabs rcx, 0x8000000000000000
mov rax, qword [rax]
and rax, rcx
test rax, rax
je 0x140022947
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax]
mov word [rsp + 0xb0], ax
movzx eax, word [rsp + 0xb0]
mov edx, eax
mov rcx, qword [rsp + 0x90]
call fcn.1403d3782
nop
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jne 0x140022932
jmp 0x140022a3d
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xb8]
mov qword [rax], rcx
jmp 0x1400229bf
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
add rax, 2
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x90]
call fcn.1403d3782
nop
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
jne 0x1400229ac
jmp 0x140022a3d
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xd0]
mov qword [rax], rcx
mov rax, qword [rsp + 0xa0]
add rax, 8
mov qword [rsp + 0xa0], rax
jmp 0x1400228bb
mov rax, qword [rsp + 0x50]
add rax, 0x14
mov qword [rsp + 0x50], rax
jmp 0x14002283c
mov rcx, qword [rsp + 0x30]
call fcn.140021ea0
test eax, eax
jne 0x1400229fd
jmp 0x140022a3d
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
je 0x140022a36
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [rsp + 0x48]
cmp eax, 1
jne 0x140022a3d
mov rax, qword [rsp + 0x30]
jmp 0x140022a5a
cmp qword [rsp + 0x30], 0
je 0x140022a58
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call 0x1403d12c9
nop
xor eax, eax
add rsp, 0xe8
ret