Function at 0x10012d3f
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 qword [rsp + 0x28], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x4c], 0
mov rax, qword [rsp + 0xb0]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x88], 0
jne 0x10012db1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x8c], 0
jne 0x10012db1
xor eax, eax
jmp 0x100131d9
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x88]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
movzx eax, word [rax]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0xb8]
mov qword [rcx], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0xb8]
mov qword [rcx], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x20], 0
jbe 0x10013086
mov dword [rsp + 0x60], 0
jmp 0x10012e93
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x60], eax
jae 0x1001304a
mov dword [rsp + 0x78], 0
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movsx eax, byte [rax]
test eax, eax
je 0x10012efb
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
jmp 0x10012ed6
cmp dword [rsp + 0x78], 0
jle 0x10013045
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1000fde0
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x80], 0
jmp 0x10012f35
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x80], eax
jae 0x10013045
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
cmp dword [rcx + rax*4], 0
je 0x10013040
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax*4]
cmp dword [rsp + 0x7c], eax
jne 0x10013040
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx]
lea rax, [rcx + rax*8]
mov r8, rax
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0xb0]
call fcn.1000d2d8
test eax, eax
jne 0x10012fd6
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx]
mov qword [rcx + rax*8], 0
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + rax*4], 0
mov dword [rsp + 0x84], 0
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x84], eax
jae 0x10013025
mov eax, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x50]
cmp dword [rcx + rax*4], 0
jne 0x10013025
mov eax, dword [rsp + 0x84]
inc eax
mov dword [rsp + 0x84], eax
jmp 0x10012ff4
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x84], eax
jne 0x1001303e
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x60], eax
jmp 0x10013045
jmp 0x10012f25
jmp 0x10012e89
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
lea rax, [rcx + rax*4]
mov rcx, qword [rsp + 0xb8]
mov qword [rcx], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx]
lea rax, [rcx + rax*8]
mov rcx, qword [rsp + 0xc0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
movzx eax, word [rax]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0xb8]
mov qword [rcx], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0xb8]
mov qword [rcx], rax
cmp dword [rsp + 0x48], 0
jbe 0x100131d4
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0
jmp 0x10013105
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x90], eax
jae 0x10013198
mov eax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x40]
sub eax, dword [rcx + 0x10]
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x94]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx]
lea rax, [rcx + rax*8]
mov r8, rax
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0xb0]
call fcn.1000d2d8
test eax, eax
jne 0x10013193
mov eax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx]
mov qword [rcx + rax*8], 0
jmp 0x100130f5
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
lea rax, [rcx + rax*2]
mov rcx, qword [rsp + 0xb8]
mov qword [rcx], rax
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx]
lea rax, [rcx + rax*8]
mov rcx, qword [rsp + 0xc0]
mov qword [rcx], rax
mov eax, 1
add rsp, 0xa8
ret