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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov qword [rsp + 0x28], 0
cmp qword [rsp + 0x118], 0
jne 0x1400121aa
xor eax, eax
jmp 0x1400124c3
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x118]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rax, 0x88
mov qword [rsp + 0x50], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x140012206
xor eax, eax
jmp 0x1400124c3
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x118]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x118]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x118]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x118]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x120], 0
je 0x140012317
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x140012297
xor eax, eax
jmp 0x1400124c3
mov eax, dword [rsp + 0x24]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x118]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x70]
call fcn.1400131a8
test eax, eax
jne 0x1400122fc
mov eax, dword [rsp + 0x24]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x78]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x118]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140012315
cmp qword [rsp + 0x28], 0
je 0x140012297
jmp 0x140012347
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov ecx, dword [rsp + 0x128]
sub ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x118]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jb 0x1400124be
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x28], rax
jae 0x1400124be
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x14001239d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x1400123e5
mov eax, dword [rsp + 0x20]
cmp rax, 0x3c
jae 0x1400123e5
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov al, byte [rdx + rax]
mov byte [rsp + rcx + 0x80], al
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movsx eax, byte [rcx + rax]
cmp eax, 0x2e
jne 0x1400123e3
jmp 0x1400123e5
jmp 0x140012393
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
mov byte [rsp + rax + 0x80], 0x64
mov eax, dword [rsp + 0x20]
add eax, 2
mov eax, eax
mov byte [rsp + rax + 0x80], 0x6c
mov eax, dword [rsp + 0x20]
add eax, 3
mov eax, eax
mov byte [rsp + rax + 0x80], 0x6c
mov eax, dword [rsp + 0x20]
add eax, 4
mov eax, eax
mov byte [rsp + rax + 0x80], 0
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x140012454
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x140012488
mov eax, dword [rsp + 0x20]
cmp rax, 0x3f
jae 0x140012488
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov al, byte [rdx + rax]
mov byte [rsp + rcx + 0xc0], al
jmp 0x14001244a
mov eax, dword [rsp + 0x20]
mov byte [rsp + rax + 0xc0], 0
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x110]
call fcn.140004e4c
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rsp, 0x108
ret