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

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov qword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x128]
mov byte [rsp + 0x38], al
cmp byte [rsp + 0x38], 0
je 0x180012d58
cmp byte [rsp + 0x38], 1
je 0x180012d33
jmp 0x180012de9
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
jmp 0x180012de9
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rcx, rax
call fcn.1800100c0
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
cmp byte [rax + rcx], 0
jne 0x180012d9b
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x90], rax
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x50]
call fcn.18000fa70
mov rcx, qword [rsp + 0x50]
call fcn.1800129c0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x138], 0
jbe 0x180012e01
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180012e10
xor eax, eax
jmp 0x180012fcb
cmp qword [rsp + 0x130], 0
je 0x180012e2b
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x48], eax
mov r8, qword [rsp + 0x120]
lea rdx, [rsp + 0xc8]
lea rcx, [0x180478210]
call fcn.1800115f0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 2
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x28], 0
jmp 0x180012ee7
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x48]
sub rcx, qword [rsp + 0x60]
cmp rax, rcx
jae 0x180012faa
mov byte [rsp + 0x20], 1
mov dword [rsp + 0x24], 0
jmp 0x180012f16
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
cmp rax, qword [rsp + 0x60]
jae 0x180012f5e
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x68]
cmp eax, dword [rdx + rcx*4]
je 0x180012f5c
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x68]
cmp dword [rcx + rax*4], 0xffffffff
je 0x180012f5c
mov byte [rsp + 0x20], 0
jmp 0x180012f5e
jmp 0x180012f0c
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x180012fa5
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0xc8]
call fcn.180011ce0
mov rax, qword [rsp + 0xb8]
jmp 0x180012fcb
jmp 0x180012edd
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xc8]
call fcn.180011ce0
mov rax, qword [rsp + 0xc0]
add rsp, 0x108
ret