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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rbx, qword [rsp + 0x70]
mov ebp, dword [rsp + 0x90]
xor r15d, r15d
mov r10d, dword [rbx + 0x38]
movsxd r12, r9d
mov r11d, r8d
mov rsi, rdx
mov rdi, rcx
mov dword [rsp + 0x70], r15d
lea r14, [rdx + r12*4]
cmp ebp, 3
jne 0x18003c613
movzx edx, word [r14 + 0x22]
lea eax, [r8 - 0xf]
mov byte [r14 + 0x20], 1
cmp eax, 0x4c
ja case.0x18003c323.20
lea r8, [0x180000000]
cdqe
movzx eax, byte [r8 + rax + 0x3c8b8]
mov ecx, dword [r8 + rax*4 + 0x3c884]
add rcx, r8
jmp rcx
mov ecx, dword [rsp + 0x78]
test ecx, ecx
je 0x18003c3c8
dec ecx
je 0x18003c3a1
dec ecx
jne 0x18003c387
cmp r11d, 0x1c
jne 0x18003c346
or dword [rbx + 4], 0x2000000
test dword [rsp + 0xa0], 0x2000000
je 0x18003c35a
or dword [rbx + 4], 0x2000000
mov ecx, dword [rsp + 0x98]
test r10b, 1
je 0x18003c371
or dword [rbx + 4], 0x2000000
add ecx, 8
mov edx, 0x40
mov byte [r14 + 0x21], cl
lea eax, [rdx - 0x3f]
mov word [r14 + 0x22], dx
jmp 0x18003c863
mov ecx, dword [rsp + 0x98]
mov word [r14 + 0x22], dx
mov eax, 1
mov byte [r14 + 0x21], cl
jmp 0x18003c863
or dword [rbx + 4], 0x2000
mov ecx, dword [rsp + 0x98]
test r10b, 1
je 0x18003c5fa
or dword [rbx + 4], 0x2000000
add ecx, 8
jmp 0x18003c5fa
or dword [rbx + 4], 0x2000
mov ecx, dword [rsp + 0x98]
test r10b, 1
je 0x18003c3e6
or dword [rbx + 4], 0x2000000
add ecx, 8
mov edx, 0x10
add ecx, 0x20
lea eax, [rdx - 0xf]
mov word [r14 + 0x22], dx
mov byte [r14 + 0x21], cl
jmp 0x18003c863
mov ecx, dword [rsp + 0x98]
test r10b, 1
je 0x18003c416
or dword [rbx + 4], 0x2000000
add ecx, 8
cmp dword [rdi + 0x1c], 2
jne 0x18003c433
mov eax, dword [rsp + 0xa0]
and eax, 0x3000000
cmp eax, 0x1000000
je 0x18003c371
test r10b, 8
je 0x18003c5fa
or dword [rbx + 4], 0x2000000
jmp 0x18003c371
mov ecx, dword [rsp + 0x98]
test r10b, 1
je 0x18003c460
or dword [rbx + 4], 0x2000000
add ecx, 8
test dword [rbx], 0x2000
je 0x18003c5fa
or dword [rbx + 4], 0x2000
mov edx, 0x10
add ecx, 0x20
mov byte [r14 + 0x21], cl
lea eax, [rdx - 0xf]
mov word [r14 + 0x22], dx
jmp 0x18003c863
mov ecx, dword [rsp + 0x98]
test r10b, 1
je 0x18003c4a3
or dword [rbx + 4], 0x2000000
add ecx, 8
add ecx, 0x20
mov word [r14 + 0x22], dx
mov eax, 1
mov byte [r14 + 0x21], cl
jmp 0x18003c863
cmp dword [rbx + 0x28], 1
jne 0x18003c4f3
mov eax, dword [rsp + 0x98]
or dword [rbx + 4], 0x2000000
and r10d, 1
lea ecx, [rax + r10*8]
lea eax, [rcx - 4]
cmp eax, 3
ja 0x18003c4fa
add ecx, 0x3c
mov word [r14 + 0x22], dx
mov eax, 1
mov byte [r14 + 0x21], cl
jmp 0x18003c863
mov ecx, dword [rsp + 0x98]
add ecx, 0x30
mov word [r14 + 0x22], dx
mov eax, 1
mov byte [r14 + 0x21], cl
jmp 0x18003c863
mov ecx, dword [rsp + 0x98]
mov edx, 0x40
add ecx, 0x53
mov word [r14 + 0x22], dx
lea eax, [rdx - 0x3f]
mov byte [r14 + 0x21], cl
jmp 0x18003c863
mov ecx, dword [rsp + 0x98]
test r10b, 1
je 0x18003c547
or dword [rbx + 4], 0x2000000
add ecx, 8
mov edx, 0x80
add ecx, 0x5b
lea eax, [rdx - 0x7f]
mov word [r14 + 0x22], dx
mov byte [r14 + 0x21], cl
jmp 0x18003c863
mov ecx, dword [rsp + 0x98]
test r10b, 1
je 0x18003c570
add ecx, 8
add ecx, 0x6b
mov word [r14 + 0x22], dx
mov eax, 1
mov byte [r14 + 0x21], cl
jmp 0x18003c863
mov ecx, dword [rsp + 0x98]
test r10b, 1
je 0x18003c596
add ecx, 8
test r10b, 0x10
je 0x18003c547
mov edx, 0x100
add ecx, 0x6b
mov eax, 1
mov word [r14 + 0x22], dx
mov byte [r14 + 0x21], cl
jmp 0x18003c863
mov ecx, dword [rsp + 0x98]
test r10b, 1
je 0x18003c547
mov edx, 0x80
add ecx, 8
add ecx, 0x5b
mov word [r14 + 0x22], dx
lea eax, [rdx - 0x7f]
mov byte [r14 + 0x21], cl
jmp 0x18003c863
mov ecx, dword [rsp + 0x98]
test r10b, 1
je 0x18003c5f0
add ecx, 8
test r10b, 8
jne 0x18003c371
mov edx, 0x20
add ecx, 0x10
lea eax, [rdx - 0x1f]
mov word [r14 + 0x22], dx
mov byte [r14 + 0x21], cl
jmp 0x18003c863
mov rax, qword [rsp + 0x88]
or dword [rbx + 4], 0x4000
test rax, rax
je 0x18003c632
test byte [rbx], 0x10
je 0x18003c632
mov dword [rax], 1
mov r9d, dword [rsp + 0x80]
test r9d, r9d
jne 0x18003c71e
mov edx, dword [rsp + 0x98]
test ebp, ebp
jne 0x18003c67f
cmp edx, 6
jne 0x18003c67f
add dword [rcx + 0x18], 0xfffffffe
mov byte [r14 + 0x20], 5
mov byte [rsi + 0x34], 0x10
js case.0x18003c323.20
mov rcx, qword [rcx + 0x10]
movsx rax, word [rcx]
mov qword [rsi + 8], rax
lea rax, [rcx + 2]
mov qword [rdi + 0x10], rax
jmp 0x18003c846
lea r8, [0x180000000]
movzx eax, byte [rdx + r8 + 0xbc220]
cmp edx, 4
jae 0x18003c6a7
mov byte [r14 + 0x20], 7
mov byte [rsi + 0x32], al
movzx eax, byte [rdx + r8 + 0xbc21c]
jmp 0x18003c6ac
mov byte [r14 + 0x20], 6
mov byte [r14 + 0x21], al
cmp ebp, 1
jne 0x18003c6d4
dec dword [rcx + 0x18]
mov byte [rsi + 0x34], 8
js case.0x18003c323.20
mov rcx, qword [rcx + 0x10]
movsx rax, byte [rcx]
mov qword [rsi + 8], rax
lea rax, [rcx + 1]
jmp 0x18003c6f7
cmp ebp, 2
jne 0x18003c6fb
add dword [rcx + 0x18], 0xfffffffe
mov byte [rsi + 0x34], 0x10
js case.0x18003c323.20
mov rcx, qword [rcx + 0x10]
movsx rax, word [rcx]
mov qword [rsi + 8], rax
lea rax, [rcx + 2]
mov qword [rdi + 0x10], rax
lea eax, [rdx - 2]
cmp eax, 1
jbe 0x18003c714
cmp edx, 6
jne 0x18003c846
test ebp, ebp
je 0x18003c846
mov ecx, 0x100
jmp 0x18003c84b
mov eax, dword [rsp + 0x98]
test ebp, ebp
jne 0x18003c774
cmp eax, 5
jne 0x18003c774
add dword [rcx + 0x18], 0xfffffffc
mov byte [rdx + 0x34], 0x20
js case.0x18003c323.20
cmp dword [rdi + 0x1c], 2
mov rcx, qword [rcx + 0x10]
movsxd rax, dword [rcx]
mov qword [rdx + 8], rax
lea rax, [rcx + 4]
mov qword [rdi + 0x10], rax
jne 0x18003c76a
mov eax, 0x80
mov word [r14 + 0x20], 0x4a06
or word [rdx + 0x18], ax
jmp 0x18003c820
mov byte [r14 + 0x20], 5
jmp 0x18003c820
cmp eax, 4
jne 0x18003c7b3
dec dword [rcx + 0x18]
js case.0x18003c323.20
mov rcx, qword [rcx + 0x10]
mov r8, rbx
mov edx, r12d
movzx eax, byte [rcx]
mov dword [rsp + 0x28], ebp
mov byte [rsp + 0x70], al
lea rax, [rcx + 1]
mov rcx, rsi
mov r15d, dword [rsp + 0x70]
mov qword [rdi + 0x10], rax
mov dword [rsp + 0x20], r15d
call fcn.18003c180
jmp 0x18003c7d4
mov byte [r14 + 0x20], 6
test r10b, 1
je 0x18003c7c8
or dword [rbx + 4], 0x2000000
add eax, 8
cmp r9d, 2
je 0x18003c7d0
add al, 0x10
mov byte [r14 + 0x21], al
cmp ebp, 1
jne 0x18003c7f4
dec dword [rdi + 0x18]
mov byte [rsi + 0x34], 8
js case.0x18003c323.20
mov rcx, qword [rdi + 0x10]
movsx rax, byte [rcx]
mov qword [rsi + 8], rax
lea rax, [rcx + 1]
jmp 0x18003c81c
cmp ebp, 2
je 0x18003c803
and r15d, 7
cmp r15b, 5
jne 0x18003c820
add dword [rdi + 0x18], 0xfffffffc
mov byte [rsi + 0x34], 0x20
js case.0x18003c323.20
mov rcx, qword [rdi + 0x10]
movsxd rax, dword [rcx]
mov qword [rsi + 8], rax
lea rax, [rcx + 4]
mov qword [rdi + 0x10], rax
movzx ecx, byte [rsi + 0x32]
movzx eax, byte [r14 + 0x21]
cmp cl, 0xff
je 0x18003c833
movzx eax, cl
jmp 0x18003c839
cmp byte [rsi + 0x33], 2
jae 0x18003c846
add eax, 0xffffffec
mov ecx, 0x100
cmp eax, 1
jbe 0x18003c84b
mov ecx, 0x200
mov r8d, dword [rdi + 0x1c]
mov r9, rsi
mov rdx, rbx
call fcn.18003b720
mov eax, 1
jmp 0x18003c863
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret