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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov r8d, 5
xor edx, edx
mov ecx, dword [rsp + 0x78]
call fcn.140024070
mov dword [rsp + 0x28], eax
mov r8d, 5
mov edx, 5
mov ecx, dword [rsp + 0x78]
call fcn.140024070
mov dword [rsp + 0x30], eax
mov r8d, 9
mov edx, 0xc
mov ecx, dword [rsp + 0x78]
call fcn.140024070
mov eax, eax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
and rax, 0x100
test rax, rax
je 0x14002209f
mov rax, qword [rsp + 0x50]
or rax, 0xfffffffffffffe00
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x70]
call fcn.140020320
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x758
ja 0x1400220f4
cmp dword [rsp + 0x20], 0x757
jae case.0x140022125.1884
mov eax, dword [rsp + 0x20]
sub eax, 0x3c6
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x48
ja case.0x140022125.1886
mov eax, dword [rsp + 0x20]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x2242c]
mov eax, dword [rcx + rax*4 + 0x22424]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x20]
sub eax, 0x75c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x24
ja case.0x140022125.1886
mov eax, dword [rsp + 0x20]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x22480]
mov eax, dword [rcx + rax*4 + 0x22478]
add rax, rcx
jmp rax
jmp 0x140022147
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.1400212d0
mov rcx, qword [rsp + 0x70]
call fcn.140020320
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x758
ja 0x1400221a3
cmp dword [rsp + 0x24], 0x757
jae case.0x1400221d4.1894
mov eax, dword [rsp + 0x24]
sub eax, 0x3c6
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xd7
ja case.0x1400221d4.1886
mov eax, dword [rsp + 0x24]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x224cc]
mov eax, dword [rcx + rax*4 + 0x224a8]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x24]
sub eax, 0x75c
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x34
ja case.0x1400221d4.1886
mov eax, dword [rsp + 0x24]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x225c4]
mov eax, dword [rcx + rax*4 + 0x225a4]
add rax, rcx
jmp rax
xor eax, eax
jmp 0x14002241f
mov eax, dword [rsp + 0x28]
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.1400200c0
jmp 0x1400222d6
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.140021340
jmp 0x1400222d6
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.140021270
jmp 0x1400222d6
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.140021040
jmp 0x1400222d6
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400210f0
jmp 0x1400222d6
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.140021150
jmp 0x1400222d6
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400211b0
jmp 0x1400222d6
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.140021210
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.1400212d0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call fcn.1400200c0
mov r8d, 1
mov edx, 0x16
mov ecx, dword [rsp + 0x78]
call fcn.140024070
test eax, eax
je 0x140022325
mov dword [rsp + 0x34], 1
jmp 0x14002232d
mov dword [rsp + 0x34], 0
cmp dword [rsp + 0x34], 0
jne 0x14002233e
mov dword [rsp + 0x38], 0
jmp 0x140022346
mov dword [rsp + 0x38], 1
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x2c], al
mov r8d, 2
mov edx, 0xa
mov ecx, dword [rsp + 0x78]
call fcn.140024070
test eax, eax
je 0x140022371
mov dword [rsp + 0x3c], 1
jmp 0x140022379
mov dword [rsp + 0x3c], 0
cmp dword [rsp + 0x3c], 0
jne 0x14002238a
mov dword [rsp + 0x40], 0
jmp 0x140022392
mov dword [rsp + 0x40], 1
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x2d], al
mov r8d, 1
mov edx, 0x1a
mov ecx, dword [rsp + 0x78]
call fcn.140024070
test eax, eax
je 0x1400223bd
mov dword [rsp + 0x44], 1
jmp 0x1400223c5
mov dword [rsp + 0x44], 0
cmp dword [rsp + 0x44], 0
jne 0x1400223d6
mov dword [rsp + 0x48], 0
jmp 0x1400223de
mov dword [rsp + 0x48], 1
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x2e], al
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x14002241a
movzx eax, byte [rsp + 0x2d]
test eax, eax
je 0x14002241a
movzx eax, byte [rsp + 0x2e]
test eax, eax
jne 0x14002241a
cmp dword [rsp + 0x30], 0x1f
je 0x14002241a
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x28], eax
jne 0x14002241a
mov eax, 1
jmp 0x14002241f
mov eax, 3
add rsp, 0x68
ret