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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x420]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 4]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x418]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x18], 0
cmp dword [rsp + 0x40], 0
je 0x1400123e5
cmp qword [rsp + 0x98], 0x10
ja 0x1400123e5
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x30], 8
jae 0x1400123e5
mov dword [rsp + 0x30], 8
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 0
jne 0x1400123fc
mov dword [rsp + 0x60], 1
jmp 0x140012404
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x42c], 0
jne 0x140012425
mov dword [rsp + 0x34], 0
cmp dword [rsp + 0x34], 0
jne 0x14001243b
cmp dword [rsp + 0x30], 8
jae 0x14001243b
mov dword [rsp + 0x30], 8
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x14]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 2
ja 0x14001245d
mov dword [rsp + 0x6c], 1
jmp 0x140012499
cmp qword [rsp + 0x58], 4
ja 0x14001246f
mov dword [rsp + 0x68], 2
jmp 0x140012491
cmp qword [rsp + 0x58], 0x10
ja 0x140012481
mov dword [rsp + 0x64], 4
jmp 0x140012489
mov dword [rsp + 0x64], 8
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x74], eax
cmp qword [rsp + 0x58], 0x100
ja 0x1400124c5
cmp dword [rsp + 0x30], 8
ja 0x1400124c5
cmp qword [rsp + 0x58], 0
je 0x1400124c5
mov dword [rsp + 0x70], 1
jmp 0x1400124cd
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x58]
shl rax, 1
cmp qword [rsp + 0x98], rax
jae 0x1400124ef
mov dword [rsp + 0x38], 0
cmp dword [rsp + 0x34], 0
je 0x14001250f
cmp dword [rsp + 0x3c], 0
jne 0x14001250f
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x30], eax
ja 0x14001250f
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x428], 0
jne 0x140012528
mov dword [rsp + 0x38], 0
cmp dword [rsp + 0x38], 0
je 0x14001266d
mov rax, qword [rsp + 0xc0]
add rax, 0x18
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0xb0]
call fcn.1400024c0
mov qword [rsp + 0x50], 0
jmp 0x14001256c
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x14]
cmp qword [rsp + 0x50], rax
je 0x1400125ea
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rax + rcx*4 + 3]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
movzx r9d, byte [rax + rcx*4 + 2]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
movzx r8d, byte [rax + rcx*4 + 1]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
movzx edx, byte [rax + rcx*4]
mov rcx, qword [rsp + 0xb0]
call fcn.140002510
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x1400125e5
jmp 0x1400125ea
jmp 0x14001255f
mov rax, qword [rsp + 0xb0]
mov dword [rax], 3
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x74]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0xb8]
cmp dword [rax], 3
jne 0x140012668
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x10]
cmp qword [rax + 0x10], rcx
jb 0x140012668
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
mov ecx, dword [rcx + 4]
cmp dword [rax + 4], ecx
jne 0x140012668
mov rcx, qword [rsp + 0xb0]
call fcn.1400023a0
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call fcn.1400023c0
jmp 0x140012772
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 4], ecx
cmp dword [rsp + 0x3c], 0
je 0x1400126a9
cmp dword [rsp + 0x34], 0
je 0x140012694
mov dword [rsp + 0x78], 4
jmp 0x14001269c
mov dword [rsp + 0x78], 6
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x80], eax
jmp 0x1400126cd
cmp dword [rsp + 0x34], 0
je 0x1400126ba
mov dword [rsp + 0x7c], 0
jmp 0x1400126c2
mov dword [rsp + 0x7c], 2
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x80]
mov dword [rax], ecx
cmp dword [rsp + 0x40], 0
je 0x140012772
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 4]
mov ecx, 1
mov dword [rsp + 0x90], ecx
movzx ecx, al
mov eax, dword [rsp + 0x90]
shl eax, cl
dec eax
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0xc0]
movzx eax, word [rax + 8]
and eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xb0]
mov dword [rcx + 0x1c], eax
mov rax, qword [rsp + 0xc0]
movzx eax, word [rax + 0xa]
and eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xb0]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0xc0]
movzx eax, word [rax + 0xc]
and eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xb0]
mov dword [rcx + 0x24], eax
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x18], 1
mov eax, dword [rsp + 0x48]
add rsp, 0xa8
ret