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

Disassembly:
mov r11, rsp
push rbx
push r14
sub rsp, 0x58
mov rdx, qword [rcx + 0x1b8]
mov rax, qword [rcx]
mov rbx, qword [rcx + 0x10]
mov r14, rcx
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x78], rdx
test rdx, rdx
je 0x14003cc34
mov qword [r11 - 0x18], rsi
mov qword [r11 - 0x20], rdi
mov qword [r11 - 0x28], r12
mov qword [r11 - 0x30], r13
mov qword [r11 - 0x38], r15
xor r15d, r15d
mov qword [r11 + 0x20], rbp
nop dword [rax]
movsxd rcx, dword [rdx + 0x10]
shl rcx, 5
add rcx, qword [rax + 0x20]
mov eax, dword [rdx + 0x14]
mov dword [rsp + 0x70], eax
movzx eax, byte [r14 + 0x1f]
test al, al
jne 0x14003c806
inc dword [r14 + 0x54]
mov r12d, dword [r14 + 0x54]
jmp 0x14003c814
dec al
movzx eax, al
mov byte [r14 + 0x1f], al
mov r12d, dword [r14 + rax*4 + 0x24]
mov rax, qword [rcx + 0x18]
mov rsi, qword [r14 + 0x10]
mov r13d, dword [rdx + 0x10]
mov rdi, qword [rax + 0x68]
test rsi, rsi
jne 0x14003c8a3
mov rcx, r14
call fcn.140069280
mov rsi, rax
mov qword [r14 + 0x10], rax
test rax, rax
je 0x14003c88b
mov rcx, qword [rax + 0x30]
movsxd rbp, dword [rax + 0x3c]
cmp dword [rcx + 0x60], ebp
jg 0x14003c85b
mov edx, 1
mov rcx, rax
call fcn.140029ca0
test eax, eax
jne 0x14003c88b
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
lea rcx, [rbp*2]
add rcx, rbp
mov word [rax + rcx*8], 0x99
mov byte [rax + rcx*8 + 3], 0
mov qword [rax + rcx*8 + 4], 0
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
cmp qword [r14 + 0x1c0], 0
jne 0x14003c8a3
mov rax, qword [r14]
test byte [rax + 0x4c], 8
jne 0x14003c8a3
mov byte [r14 + 0x23], 1
mov rax, qword [rdi]
mov r8d, dword [rdi + 0x3c]
mov r9b, 1
mov edx, r13d
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.140064340
test byte [rdi + 0x48], 0x20
jne 0x14003c985
movsx r15, word [rdi + 0x42]
mov ebp, dword [rdi + 0x3c]
mov rax, qword [rsi + 0x30]
movsxd rdi, dword [rsi + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x14003c8f4
mov edx, 1
mov rcx, rsi
call fcn.140029ca0
test eax, eax
je 0x14003c8f4
mov edi, 1
jmp 0x14003c91e
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
lea rcx, [rdi + rdi*2]
xor edx, edx
mov word [rax + rcx*8], 0x37
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r13d
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
mov rbp, r15
test r8, r8
je 0x14003c970
cmp byte [rcx + 0x50], 0
jne 0x14003c970
test edi, edi
jns 0x14003c93c
mov edi, dword [rsi + 0x3c]
dec edi
movsxd rax, edi
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.140027190
xor r15d, r15d
mov byte [rdi + 1], 0xf2
mov qword [rdi + 0x10], r15
mov dword [rdi + 0x10], ebp
jmp 0x14003ca09
mov r8, r15
mov edx, 0xfffffff2
call fcn.140027190
xor r15d, r15d
jmp 0x14003ca09
mov rdi, qword [rdi + 0x10]
test rdi, rdi
je 0x14003c9a2
nop
mov eax, dword [rdi + 0x64]
and al, 3
cmp al, 2
je 0x14003c9a2
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x14003c990
mov rax, qword [rsi + 0x30]
movsxd rbp, dword [rsi + 0x3c]
mov r15d, dword [rdi + 0x58]
cmp dword [rax + 0x60], ebp
jg 0x14003c9c4
mov edx, 1
mov rcx, rsi
call fcn.140029ca0
test eax, eax
jne 0x14003c9fb
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
xor edx, edx
lea rcx, [rbp*2]
add rcx, rbp
mov dword [rax + rcx*8 + 8], r15d
xor r15d, r15d
mov word [rax + rcx*8], 0x37
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r15
jmp 0x14003c9fe
xor r15d, r15d
mov rdx, rdi
mov rcx, r14
call fcn.140072460
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x14003ca32
mov edx, 1
mov rcx, rbx
call fcn.140029ca0
test eax, eax
je 0x14003ca32
mov ebp, dword [rsp + 0x70]
mov edi, 1
jmp 0x14003ca60
mov rax, qword [rbx + 8]
inc dword [rbx + 0x3c]
mov ebp, dword [rsp + 0x70]
lea rcx, [rdi + rdi*2]
lea rdx, [rax + rcx*8]
lea eax, [rbp + 1]
mov word [rdx], 0x4d
mov byte [rdx + 3], 0
mov dword [rdx + 4], eax
mov qword [rdx + 8], 0
mov qword [rdx + 0x10], r15
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x14003ca7e
mov edx, 1
mov rcx, rbx
call fcn.140029ca0
test eax, eax
jne 0x14003caa8
mov rax, qword [rbx + 8]
inc dword [rbx + 0x3c]
lea rcx, [rsi + rsi*2]
lea rdx, [rax + rcx*8]
lea eax, [rbp + 1]
mov word [rdx], 0x4a
mov byte [rdx + 3], 0
mov dword [rdx + 4], r15d
mov dword [rdx + 8], eax
mov dword [rdx + 0xc], r15d
mov qword [rdx + 0x10], r15
mov edx, dword [rbx + 0x3c]
cmp edx, edi
jbe 0x14003cabd
mov eax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x14003cae7
mov edx, 1
mov rcx, rbx
call fcn.140029ca0
test eax, eax
jne 0x14003cb14
mov rax, qword [rbx + 8]
inc dword [rbx + 0x3c]
lea rcx, [rdi + rdi*2]
lea rdx, [rax + rcx*8]
lea eax, [rbp - 1]
mov word [rdx], 0x31
mov byte [rdx + 3], 0
mov dword [rdx + 4], eax
mov dword [rdx + 8], 2
mov dword [rdx + 0xc], r12d
mov qword [rdx + 0x10], r15
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x14003cb32
mov edx, 1
mov rcx, rbx
call fcn.140029ca0
test eax, eax
jne 0x14003cb5c
mov rax, qword [rbx + 8]
inc dword [rbx + 0x3c]
lea rcx, [rdi + rdi*2]
lea rdx, [rax + rcx*8]
lea eax, [rbp + 1]
mov word [rdx], 0x4b
mov byte [rdx + 3], 0
mov dword [rdx + 4], r15d
mov dword [rdx + 8], r12d
mov dword [rdx + 0xc], eax
mov qword [rdx + 0x10], r15
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14003cb72
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x14003cb90
mov edx, 1
mov rcx, rbx
call fcn.140029ca0
test eax, eax
jne 0x14003cbb9
mov rax, qword [rbx + 8]
inc dword [rbx + 0x3c]
lea rcx, [rdi + rdi*2]
mov word [rax + rcx*8], 0x3d
mov byte [rax + rcx*8 + 3], 0
mov qword [rax + rcx*8 + 4], 0
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
test r12d, r12d
je 0x14003cbf5
movzx edx, byte [r14 + 0x1f]
cmp dl, 8
jae 0x14003cbf5
mov ecx, r15d
lea rax, [r14 + 0x88]
cmp dword [rax + 0xc], r12d
je 0x14003cbf1
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x14003cbd2
movzx eax, dl
mov dword [r14 + rax*4 + 0x24], r12d
inc byte [r14 + 0x1f]
jmp 0x14003cbf5
mov byte [rax + 6], 1
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
mov rdx, qword [rdx]
mov qword [rsp + 0x78], rdx
test rdx, rdx
jne 0x14003c7e0
mov r15, qword [rsp + 0x30]
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x88]
add rsp, 0x58
pop r14
pop rbx
ret