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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
cmp word [rax + rcx*2], 0
jne 0x1400129f2
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x130]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
test rax, rax
jle 0x140012ac4
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x130]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
cmp rax, qword [rsp + 0x60]
jle 0x140012ac4
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x130]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
sub rax, qword [rsp + 0x60]
mov qword [rsp + 0x88], rax
jmp 0x140012ad0
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0x108]
call fcn.14000f0c0
nop
movzx eax, byte [rsp + 0x110]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
movzx eax, al
test eax, eax
jne 0x140012b1b
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x140012e0e
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x130]
mov eax, dword [rcx + rax + 0x18]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
and eax, 0x1c0
cmp eax, 0x40
je 0x140012c38
jmp 0x140012b5b
mov rax, qword [rsp + 0x40]
dec rax
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jle 0x140012c38
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x130]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x130]
movzx eax, word [rcx + rax + 0x58]
mov word [rsp + 0x2a], ax
movzx eax, word [rsp + 0x2a]
mov word [rsp + 0x2c], ax
movzx edx, word [rsp + 0x2c]
mov rcx, qword [rsp + 0xd0]
call fcn.140012330
mov word [rsp + 0x32], ax
mov eax, 0xffff
mov word [rsp + 0x2e], ax
movzx eax, word [rsp + 0x2e]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
movzx ecx, word [rsp + 0x32]
cmp eax, ecx
jne 0x140012c09
mov dword [rsp + 0x48], 1
jmp 0x140012c11
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
movzx eax, al
test eax, eax
je 0x140012c33
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x140012c38
jmp 0x140012b4e
cmp dword [rsp + 0x20], 0
jne 0x140012ccc
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x130]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xe0], rax
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x90]
call qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
cmp rax, qword [rsp + 0x60]
je 0x140012ccc
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140012dc3
jmp 0x140012ce6
mov rax, qword [rsp + 0x40]
dec rax
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jle 0x140012dc3
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x130]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x130]
movzx eax, word [rcx + rax + 0x58]
mov word [rsp + 0x34], ax
movzx eax, word [rsp + 0x34]
mov word [rsp + 0x36], ax
movzx edx, word [rsp + 0x36]
mov rcx, qword [rsp + 0xf8]
call fcn.140012330
mov word [rsp + 0x3c], ax
mov eax, 0xffff
mov word [rsp + 0x38], ax
movzx eax, word [rsp + 0x38]
mov word [rsp + 0x3a], ax
movzx eax, word [rsp + 0x3a]
movzx ecx, word [rsp + 0x3c]
cmp eax, ecx
jne 0x140012d94
mov dword [rsp + 0x4c], 1
jmp 0x140012d9c
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x26], al
movzx eax, byte [rsp + 0x26]
movzx eax, al
test eax, eax
je 0x140012dbe
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x140012dc3
jmp 0x140012cd9
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x130]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x28], 0
jmp 0x140012e0e
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x130]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x70], eax
mov byte [rsp + 0x28], 0
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x48], 0
je 0x140012e60
mov dword [rsp + 0x50], 0
jmp 0x140012e68
mov dword [rsp + 0x50], 4
mov eax, dword [rsp + 0x70]
or eax, dword [rsp + 0x20]
or eax, dword [rsp + 0x50]
movzx r8d, byte [rsp + 0x28]
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.140009100
nop
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x100], rax
lea rcx, [rsp + 0x108]
call fcn.14000f070
mov rax, qword [rsp + 0x100]
add rsp, 0x128
ret