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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x140074060]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x78], 0xffffffffffffffff
inc qword [rsp + 0x78]
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x78]
cmp byte [rax + rcx], 0
jne 0x140012104
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x170]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0xd8], 0
jle 0x1400121c9
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x170]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0xe0], rax
jle 0x1400121c9
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x170]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xe8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
jmp 0x1400121d5
mov qword [rsp + 0xa0], 0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0x148]
call fcn.14000c958
nop
mov al, byte [rsp + 0x150]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x14001221c
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14001262a
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x40]
lea rcx, [rsp + 0x118]
call fcn.1400021c0
mov eax, dword [rsp + 0x60]
or eax, 1
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x118]
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call fcn.140016398
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x118]
call fcn.140002204
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + rax + 0x18]
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x8c]
and eax, 0x1c0
cmp eax, 0x40
je 0x1400123c9
jmp 0x1400122ed
mov rax, qword [rsp + 0x50]
dec rax
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jle 0x1400123c9
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x170]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0xa8], rax
movzx eax, word [rsp + 0x88]
mov word [rsp + 0x34], ax
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x170]
movzx eax, word [rcx + rax + 0x58]
mov word [rsp + 0x34], ax
movzx edx, word [rsp + 0x34]
mov rcx, qword [rsp + 0xa8]
call fcn.1400115b4
mov word [rsp + 0x38], ax
movzx eax, word [rsp + 0x38]
mov word [rsp + 0x3a], ax
mov eax, 0xffff
mov word [rsp + 0x3c], ax
movzx eax, word [rsp + 0x3a]
movzx ecx, word [rsp + 0x3c]
cmp ecx, eax
jne 0x14001239e
mov dword [rsp + 0x64], 1
jmp 0x1400123a6
mov dword [rsp + 0x64], 0
mov al, byte [rsp + 0x64]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x1400123c4
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x1400123c9
jmp 0x1400122e0
jmp 0x1400123eb
mov rax, qword [rsp + 0x70]
dec rax
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x178]
inc rax
mov qword [rsp + 0x178], rax
cmp dword [rsp + 0x20], 0
jne 0x1400124e9
cmp qword [rsp + 0x70], 0
jle 0x1400124e9
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x170]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x178]
mov al, byte [rax]
mov byte [rsp + 0x28], al
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x108], rax
mov dl, byte [rsp + 0x28]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x108]
mov word [rsp + 0x3e], ax
movzx eax, word [rsp + 0x3e]
mov word [rsp + 0x40], ax
movzx edx, word [rsp + 0x40]
mov rcx, qword [rsp + 0xb8]
call fcn.1400115b4
mov word [rsp + 0x42], ax
movzx eax, word [rsp + 0x42]
mov word [rsp + 0x44], ax
mov eax, 0xffff
mov word [rsp + 0x46], ax
movzx eax, word [rsp + 0x44]
movzx ecx, word [rsp + 0x46]
cmp ecx, eax
jne 0x1400124c0
mov dword [rsp + 0x68], 1
jmp 0x1400124c8
mov dword [rsp + 0x68], 0
mov al, byte [rsp + 0x68]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400124e4
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x1400123cb
cmp dword [rsp + 0x20], 0
jne 0x1400125df
jmp 0x140012503
mov rax, qword [rsp + 0x50]
dec rax
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jle 0x1400125df
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x170]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0xc0], rax
movzx eax, word [rsp + 0x8a]
mov word [rsp + 0x36], ax
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x170]
movzx eax, word [rcx + rax + 0x58]
mov word [rsp + 0x36], ax
movzx edx, word [rsp + 0x36]
mov rcx, qword [rsp + 0xc0]
call fcn.1400115b4
mov word [rsp + 0x48], ax
movzx eax, word [rsp + 0x48]
mov word [rsp + 0x4a], ax
mov eax, 0xffff
mov word [rsp + 0x4c], ax
movzx eax, word [rsp + 0x4a]
movzx ecx, word [rsp + 0x4c]
cmp ecx, eax
jne 0x1400125b4
mov dword [rsp + 0x6c], 1
jmp 0x1400125bc
mov dword [rsp + 0x6c], 0
mov al, byte [rsp + 0x6c]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x1400125da
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x1400125df
jmp 0x1400124f6
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0xc8]
mov qword [rax + 0x28], 0
jmp 0x14001262a
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x84], eax
mov byte [rsp + 0x33], 0
mov rax, qword [rsp + 0x98]
cmp qword [rax + 0x48], 0
je 0x14001267f
mov dword [rsp + 0x5c], 0
jmp 0x140012687
mov dword [rsp + 0x5c], 4
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x84]
or ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x5c]
mov r8b, byte [rsp + 0x33]
mov edx, eax
mov rcx, qword [rsp + 0x98]
call fcn.1400032c4
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x110], rax
lea rcx, [rsp + 0x148]
call fcn.14000c90c
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140029d90
add rsp, 0x168
ret