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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x80]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x80], rcx
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x78]
cmp qword [rsp + 0x40], rax
jne 0x140021f1c
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x70]
mov rax, qword [rax + 0x80]
sub rax, rcx
mov r8, rax
mov edx, 8
mov rcx, qword [rsp + 0xc0]
call fcn.14001d884
xor al, al
jmp 0x14002242f
mov rcx, qword [rsp + 0xc0]
call fcn.14001c1ec
and eax, 0x203
test eax, eax
je 0x140021f4f
mov rcx, qword [rsp + 0xc0]
call fcn.14001c1ec
and eax, 0x1003
cmp eax, 0x1001
jne 0x140021fdb
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x80]
mov dl, byte [rax]
mov rcx, qword [rsp + 0x50]
call fcn.140021408
movzx eax, al
cmp eax, 8
jne 0x140021f95
mov rcx, qword [rsp + 0xc0]
call fcn.14002c554
jmp 0x14002242f
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x80]
mov dl, byte [rax]
mov rcx, qword [rsp + 0x58]
call fcn.140021408
movzx eax, al
cmp eax, 6
jne 0x140021fdb
mov rcx, qword [rsp + 0xc0]
call fcn.1400304a4
jmp 0x14002242f
mov dword [rsp + 0x24], 0
mov rcx, qword [rsp + 0xc0]
call fcn.14001c1ec
and eax, 0x400000
test eax, eax
jne 0x1400220b2
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x88]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 0x88], ecx
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0xc0]
call fcn.14001c1ec
and eax, 0x800000
test eax, eax
je 0x1400220b2
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
add rax, 0x178
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 0x80]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x70]
call fcn.14001952c
dec rax
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x98]
call fcn.140033d7c
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.140029b9c
mov r8d, 0x18
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call fcn.14001e700
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0x10], ecx
mov rcx, qword [rsp + 0xc0]
call fcn.14001c1ec
and eax, 0x100000
test eax, eax
je 0x1400220f5
mov byte [rsp + 0x20], 1
jmp 0x1400220fa
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x28]
mov cl, byte [rsp + 0x20]
mov byte [rax + 0x14], cl
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xc0]
call fcn.140020eb0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
add rax, 0x158
mov rcx, rax
call fcn.140007404
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
add rax, 0x158
mov rcx, rax
call fcn.1400073d0
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0xa0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.14001c1ec
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xc0]
mov al, byte [rax + 0xa8]
mov byte [rsp + 0x23], al
mov rax, qword [rsp + 0xc0]
mov byte [rax + 0xa8], 0
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x8c]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x8c], 0xffffffff
mov rcx, qword [rsp + 0xc0]
call fcn.14001d908
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xc0]
call fcn.14001e2a4
movzx eax, al
test eax, eax
jne 0x1400221f8
xor al, al
jmp 0x14002242f
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0xa8]
test eax, eax
je 0x140022243
mov eax, dword [rsp + 0x34]
and eax, 0x100000
test eax, eax
je 0x14002221f
mov byte [rsp + 0x21], 1
jmp 0x140022224
mov byte [rsp + 0x21], 0
mov r8d, 0x18
mov edx, 0x1c
mov rcx, qword [rsp + 0xc0]
call fcn.14001e700
mov cl, byte [rsp + 0x21]
mov byte [rax + 0x10], cl
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xc0]
call fcn.14001c17c
mov rax, qword [rsp + 0xc0]
mov cl, byte [rsp + 0x23]
mov byte [rax + 0xa8], cl
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0x8c], ecx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x78]
cmp qword [rax + 0x80], rcx
jne 0x1400222ce
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 0x78]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x70]
call fcn.14001952c
mov r8, rax
mov edx, 8
mov rcx, qword [rsp + 0xc0]
call fcn.14001d884
xor al, al
jmp 0x14002242f
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x80]
mov dl, byte [rax]
mov rcx, qword [rsp + 0x78]
call fcn.140021408
movzx eax, al
cmp eax, 2
je 0x140022309
xor al, al
jmp 0x14002242f
cmp dword [rsp + 0x24], 0
je 0x14002238a
mov rcx, qword [rsp + 0xc0]
call fcn.14001c1ec
and eax, 0x800000
test eax, eax
je 0x14002238a
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 0x80]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x70]
call fcn.14001952c
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
add rax, 0x178
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x24]
dec eax
mov eax, eax
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.140029be8
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x80]
inc rax
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0x80], rax
mov r8d, 0x18
mov edx, 1
mov rcx, qword [rsp + 0xc0]
call fcn.14001e700
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0x10], ecx
mov rcx, qword [rsp + 0xc0]
call fcn.14001c1ec
and eax, 0x100000
test eax, eax
je 0x1400223f1
mov byte [rsp + 0x22], 1
jmp 0x1400223f6
mov byte [rsp + 0x22], 0
mov rax, qword [rsp + 0x28]
mov cl, byte [rsp + 0x22]
mov byte [rax + 0x14], cl
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x98], rcx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x90]
mov qword [rax + 0xa0], rcx
mov al, 1
add rsp, 0xb8
ret