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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x48]
cmp byte [rax + rcx], 0
jne 0x140012fb2
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x140]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
test rax, rax
jle 0x140013083
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x140]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
cmp rax, qword [rsp + 0x50]
jle 0x140013083
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x140]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
sub rax, qword [rsp + 0x50]
mov qword [rsp + 0x90], rax
jmp 0x14001308f
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x110]
call fcn.14000f0c0
nop
movzx eax, byte [rsp + 0x118]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
movzx eax, al
test eax, eax
jne 0x1400130da
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x1400133b7
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x140]
mov eax, dword [rcx + rax + 0x18]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x74]
and eax, 0x1c0
cmp eax, 0x40
je 0x1400131ec
jmp 0x14001311a
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jle 0x1400131ec
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x140]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x140]
movzx eax, byte [rcx + rax + 0x58]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
mov byte [rsp + 0x26], al
movzx edx, byte [rsp + 0x26]
mov rcx, qword [rsp + 0xd8]
call fcn.1400189c0
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x78], 0xffffffff
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x5c], eax
jne 0x1400131bd
mov dword [rsp + 0x38], 1
jmp 0x1400131c5
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x27], al
movzx eax, byte [rsp + 0x27]
movzx eax, al
test eax, eax
je 0x1400131e7
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x1400131ec
jmp 0x14001310d
cmp dword [rsp + 0x20], 0
jne 0x140013280
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x140]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xe8], rax
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x98]
call qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
cmp rax, qword [rsp + 0x50]
je 0x140013280
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14001336c
jmp 0x14001329a
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jle 0x14001336c
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x140]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x140]
movzx eax, byte [rcx + rax + 0x58]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x29], al
movzx edx, byte [rsp + 0x29]
mov rcx, qword [rsp + 0x100]
call fcn.1400189c0
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x70], 0xffffffff
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x64], eax
jne 0x14001333d
mov dword [rsp + 0x3c], 1
jmp 0x140013345
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x2a], al
movzx eax, byte [rsp + 0x2a]
movzx eax, al
test eax, eax
je 0x140013367
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14001336c
jmp 0x14001328d
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x28], 0
jmp 0x1400133b7
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x6c], eax
mov byte [rsp + 0x2c], 0
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x48], 0
je 0x140013409
mov dword [rsp + 0x44], 0
jmp 0x140013411
mov dword [rsp + 0x44], 4
mov eax, dword [rsp + 0x6c]
or eax, dword [rsp + 0x20]
or eax, dword [rsp + 0x44]
movzx r8d, byte [rsp + 0x2c]
mov edx, eax
mov rcx, qword [rsp + 0x88]
call fcn.140009100
nop
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x108], rax
lea rcx, [rsp + 0x110]
call fcn.14000f070
mov rax, qword [rsp + 0x108]
add rsp, 0x138
ret