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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r12
push r15
sub rsp, 0x60
xor bpl, bpl
xor r12b, r12b
mov r15, rdx
test rcx, rcx
je 0x18013b487
test rdx, rdx
je 0x18013b487
movzx ecx, byte [rdx + 9]
mov qword [rax + 0x10], rbx
mov ebx, dword [rdx]
mov qword [rax - 0x20], rsi
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
mov qword [rax - 0x28], rdi
mov eax, dword [rdx + 4]
mov dword [rsp + 0x38], eax
movzx eax, byte [rdx + 0xa]
mov byte [rsp + 0x90], al
mov byte [rsp + 0x24], cl
test cl, cl
jne 0x18013ab08
test al, al
jne 0x18013ab08
xor dil, dil
jmp 0x18013ab0b
mov dil, 1
movzx eax, byte [rdx + 0xb]
xor r13d, r13d
movzx ecx, byte [rdx + 0x1c]
movzx esi, byte [rdx + 0xc]
mov r8d, dword [r15 + 0x24]
movzx r14d, byte [r15 + 0x30]
mov byte [rsp + 0x23], al
movzx eax, byte [rdx + 8]
mov byte [rsp + 0x22], al
movzx eax, byte [rdx + 0x14]
movzx edx, byte [rdx + 0x1d]
mov byte [rsp + 0x21], al
mov eax, dword [r15 + 0x10]
mov dword [rsp + 0x28], eax
mov eax, dword [r15 + 0x20]
mov dword [rsp + 0x30], eax
mov eax, dword [r15 + 0x28]
mov dword [rsp + 0x3c], eax
mov eax, dword [r15 + 0x2c]
mov dword [rsp + 0x2c], eax
lea eax, [rbx - 0x22]
mov byte [rsp + 0x20], cl
mov byte [rsp + 0x98], dl
mov dword [rsp + 0x34], r8d
cmp eax, 1
jbe case.0x18013b2e2.9
lea eax, [rbx - 0x15]
cmp eax, 1
jbe case.0x18013b2e2.9
lea eax, [rbx - 0x15e]
cmp eax, 0xa
jbe 0x18013aba6
lea eax, [rbx - 0x190]
cmp eax, 0xe
jbe 0x18013aba6
test cl, cl
jne 0x18013aba1
test dl, dl
je 0x18013aba6
mov dword [rsp + 0x28], r13d
mov ecx, ebx
call fcn.180043710
lea ecx, [rbx - 1]
mov r8d, eax
cmp ecx, 2
jbe 0x18013abc5
lea ecx, [rbx - 0x20]
cmp ecx, 1
jbe 0x18013abc5
mov r10b, 1
jmp 0x18013abc8
xor r10b, r10b
movzx r9d, r10b
cmp ebx, 0x11
je 0x18013abd9
lea eax, [rbx - 4]
cmp eax, 1
ja 0x18013abe2
test dil, dil
je 0x18013ac6e
cmp ebx, 0x1e
ja 0x18013abf1
mov eax, 0x780180c0
bt eax, ebx
jb 0x18013ac6e
lea eax, [rbx - 0x24]
cmp eax, 0x3f
ja 0x18013ac09
movabs rcx, 0xcc1c700000000003
bt rcx, rax
jb 0x18013ac6e
lea eax, [rbx - 0xc8]
cmp eax, 0x3b
ja 0x18013ac24
movabs rcx, 0xc1c000000000307
bt rcx, rax
jb 0x18013ac6e
movzx edx, byte [rsp + 0x22]
movzx r11d, byte [rsp + 0x23]
test dl, dl
jne 0x18013ac3f
test r11b, r11b
je 0x18013ac3f
test sil, sil
je 0x18013ac79
jmp 0x18013ac44
test sil, sil
je 0x18013ac7c
lea eax, [rbx - 0x64]
cmp eax, 9
jbe 0x18013ac62
lea eax, [rbx - 0xd2]
cmp eax, 2
jbe 0x18013ac62
lea eax, [rbx - 0x106]
cmp eax, 4
ja 0x18013ac7c
cmp byte [rsp + 0x90], bpl
je 0x18013ac7c
jmp 0x18013ac79
movzx edx, byte [rsp + 0x22]
movzx r11d, byte [rsp + 0x23]
xor r9b, r9b
lea eax, [rbx - 1]
cmp ebx, 0x12
jne 0x18013ac8f
mov r8d, 8
xor r9b, r9b
jmp 0x18013acba
cmp ebx, 0x13
jne 0x18013ac9f
mov r8d, 2
xor r9b, r9b
jmp 0x18013acba
cmp ebx, 0x14
jne 0x18013acaf
mov r8d, 1
xor r9b, r9b
jmp 0x18013acba
cmp eax, 0x19d
ja case.0x18013b2e2.9
cdqe
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x13b4c0]
mov ecx, dword [rcx + rax*4 + 0x13b494]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
test dil, dil
mov edx, 0x81
mov eax, 0x8d
cmovne edx, eax
jmp 0x18013b03a
test dil, dil
je 0x18013ad30
cmp byte [rsp + 0x90], bpl
je 0x18013ad19
cmp byte [rsp + 0x21], bpl
mov edx, 0x8b
mov eax, 0x8e
cmovne edx, eax
jmp 0x18013b03a
cmp byte [rsp + 0x21], bpl
mov edx, 0x88
mov eax, 0x91
cmovne edx, eax
jmp 0x18013b03a
cmp byte [rsp + 0x21], bpl
je 0x18013ad45
mov edx, 0xb1
test r11b, r11b
jne 0x18013b03a
mov edx, 0x84
jmp 0x18013b03a
test dil, dil
je 0x18013ada3
cmp byte [rsp + 0x90], bpl
je 0x18013ad8c
mov eax, 0x8f
test r11b, r11b
je 0x18013ad7a
cmp byte [rsp + 0x21], bpl
mov edx, 0x8a
cmovne edx, eax
jmp 0x18013b03a
cmp byte [rsp + 0x21], bpl
mov edx, 0x8c
cmovne edx, eax
jmp 0x18013b03a
cmp byte [rsp + 0x21], bpl
mov edx, 0x89
mov eax, 0x92
cmovne edx, eax
jmp 0x18013b03a
mov edx, 0xb1
mov eax, 0x87
test r11b, r11b
jne 0x18013adb7
mov eax, 0x85
cmp byte [rsp + 0x21], bpl
cmovne eax, edx
mov edx, eax
jmp 0x18013b03a
movzx esi, byte [rsp + 0x20]
test sil, sil
je 0x18013adda
mov edx, 0xc1
jmp 0x18013b03f
test dl, dl
je 0x18013adf6
mov edx, r13d
cmp byte [rsp + 0x90], dl
setne dl
add edx, 0x94
jmp 0x18013b03f
test r11b, r11b
je 0x18013ae17
cmp byte [rsp + 0x90], bpl
mov edx, 0x8a
mov eax, 0x87
cmovne eax, edx
mov edx, eax
jmp 0x18013b03f
mov eax, r13d
mov edx, 0x89
cmp byte [rsp + 0x90], al
setne al
add edx, eax
jmp 0x18013b03f
test sil, sil
je 0x18013aeaf
movzx r14d, byte [rsp + 0x98]
test r14b, r14b
je 0x18013ae52
movzx esi, byte [rsp + 0x20]
mov edx, 0xce
jmp 0x18013b048
cmp byte [rsp + 0x20], bpl
je 0x18013ae68
movzx esi, byte [rsp + 0x20]
mov edx, 0xc0
jmp 0x18013b048
test dil, dil
je 0x18013aea0
cmp byte [rsp + 0x90], bpl
je 0x18013ae91
movzx esi, byte [rsp + 0x20]
test r11b, r11b
mov edx, 0x96
mov eax, 0x98
cmovne edx, eax
jmp 0x18013b048
movzx esi, byte [rsp + 0x20]
mov edx, 0x97
jmp 0x18013b048
movzx esi, byte [rsp + 0x20]
mov edx, 0x96
jmp 0x18013b048
test dil, dil
je 0x18013aefb
cmp byte [rsp + 0x90], bpl
je 0x18013aee3
movzx r14d, byte [rsp + 0x98]
mov edx, 0x8a
movzx esi, byte [rsp + 0x20]
test r11b, r11b
mov eax, 0x8c
cmovne eax, edx
mov edx, eax
jmp 0x18013b048
movzx r14d, byte [rsp + 0x98]
mov edx, 0x89
movzx esi, byte [rsp + 0x20]
jmp 0x18013b048
movzx r14d, byte [rsp + 0x98]
test r11b, r11b
movzx esi, byte [rsp + 0x20]
mov edx, 0x85
mov eax, 0x87
cmovne edx, eax
jmp 0x18013b048
test r14b, r14b
je 0x18013af4c
cmp byte [rsp + 0x90], bpl
je 0x18013af42
test r11b, r11b
mov edx, 0x96
mov eax, 0x98
cmovne edx, eax
jmp 0x18013b03a
mov edx, 0x97
jmp 0x18013b03a
mov edx, 0xce
test r11b, r11b
mov eax, 0xc0
cmovne eax, edx
mov edx, eax
jmp 0x18013b03a
movzx r14d, byte [rsp + 0x98]
movzx edi, byte [rsp + 0x90]
test sil, sil
je 0x18013afbd
test r14b, r14b
je 0x18013af8d
movzx esi, byte [rsp + 0x20]
mov edx, 0xce
jmp 0x18013b050
cmp byte [rsp + 0x20], bpl
je 0x18013afa3
movzx esi, byte [rsp + 0x20]
mov edx, 0xc0
jmp 0x18013b050
movzx esi, byte [rsp + 0x20]
test dil, dil
mov eax, r13d
mov edx, 0x97
setne al
add edx, eax
jmp 0x18013b050
movzx esi, byte [rsp + 0x20]
test dil, dil
mov eax, r13d
mov edx, 0x89
setne al
add edx, eax
jmp 0x18013b050
movzx edi, byte [rsp + 0x90]
test r14b, r14b
je 0x18013b001
movzx esi, byte [rsp + 0x20]
test dil, dil
movzx r14d, byte [rsp + 0x98]
mov eax, r13d
setne al
mov edx, 0x97
add edx, eax
jmp 0x18013b050
movzx esi, byte [rsp + 0x20]
test r11b, r11b
movzx r14d, byte [rsp + 0x98]
mov edx, 0xce
mov eax, 0xd1
cmovne edx, eax
jmp 0x18013b050
cmp byte [rsp + 0x22], bpl
mov edx, 0xd0
mov eax, 0xd2
cmovne edx, eax
jmp 0x18013b03a
mov edx, 0xd2
movzx esi, byte [rsp + 0x20]
movzx r14d, byte [rsp + 0x98]
movzx edi, byte [rsp + 0x90]
lea eax, [r8 - 1]
cmp eax, 9
ja case.0x18013b2e2.9
lea r8, [0x180000000]
cdqe
mov ecx, dword [r8 + rax*4 + 0x13b660]
add rcx, r8
jmp rcx
mov r8b, 2
jmp 0x18013b0a3
mov r8b, 3
jmp 0x18013b0a3
mov r8b, 5
jmp 0x18013b0a3
mov r8b, 6
jmp 0x18013b0a3
mov r8b, 7
jmp 0x18013b0a3
mov r8b, 4
jmp 0x18013b0a3
mov r8b, 8
jmp 0x18013b0a3
mov r8b, 9
jmp 0x18013b0a3
mov r8b, 0xa
jmp 0x18013b0a3
mov r8b, 0xb
mov ecx, dword [rsp + 0x30]
neg r9b
sbb al, al
shl r10b, 6
and al, 0x80
shl cl, 4
or al, cl
or al, r10b
mov r10d, 0xfe3c3f
or r8b, al
cmp byte [rsp + 0x21], bpl
jne 0x18013b12b
cmp ebx, 0x1b
ja 0x18013b0d9
mov eax, 0xc01e000
bt eax, ebx
jb 0x18013b0e1
lea eax, [rbx - 0x6e]
cmp eax, 0xb
ja 0x18013b0e4
mov bpl, 0x40
lea eax, [rbx - 0x56]
cmp eax, 0x17
ja 0x18013b0f2
bt r10d, eax
jb 0x18013b10d
lea eax, [rbx - 0xfa]
cmp eax, 0x39
ja 0x18013b111
movabs rcx, 0x3e00000003fffff
bt rcx, rax
jae 0x18013b111
mov al, 0x40
jmp 0x18013b113
xor al, al
or bpl, al
mov ecx, 0x40
lea eax, [rbx - 0x190]
cmp eax, 0xe
cmova ecx, r13d
or bpl, cl
test ebx, ebx
je 0x18013b1f1
lea eax, [rbx - 1]
cmp eax, 0x1d
jbe 0x18013b143
lea eax, [rbx - 0x6e]
cmp eax, 0xb
ja 0x18013b17a
cmp ebx, 0x1b
ja 0x18013b156
mov eax, 0xc03e030
bt eax, ebx
jb 0x18013b1f1
movzx r9d, byte [rsp + 0x24]
lea eax, [rbx - 0x6e]
cmp eax, 0xb
jbe 0x18013b1d0
test sil, sil
jne 0x18013b174
test r9b, r9b
jne 0x18013b174
or bpl, 0x20
jmp 0x18013b180
or bpl, 0x80
jmp 0x18013b180
movzx r9d, byte [rsp + 0x24]
lea eax, [rbx - 0x50]
cmp eax, 0x1d
jbe 0x18013b193
lea eax, [rbx - 0xc8]
cmp eax, 0x6b
ja 0x18013b1d0
lea eax, [rbx - 0x56]
cmp eax, 0x17
ja 0x18013b1a1
bt r10d, eax
jb 0x18013b1f7
lea eax, [rbx - 0x12f]
cmp eax, 4
jbe 0x18013b1f7
lea eax, [rbx - 0xfa]
cmp eax, 0x15
jbe 0x18013b1d0
test sil, sil
jne 0x18013b1cc
test r14b, r14b
jne 0x18013b1cc
test r9b, r9b
jne 0x18013b1cc
or bpl, 0x20
jmp 0x18013b1d0
or bpl, 0x80
lea eax, [rbx - 0x15e]
cmp eax, 0xa
ja 0x18013b1f7
test dil, dil
je 0x18013b1eb
test r11b, r11b
je 0x18013b1eb
or bpl, 0x20
jmp 0x18013b1f7
or bpl, 0x80
jmp 0x18013b1f7
movzx r9d, byte [rsp + 0x24]
mov r10d, dword [rsp + 0x34]
mov ecx, r10d
sar ecx, 1
and r10b, 1
and cl, 1
test ebx, ebx
je 0x18013b26c
lea eax, [rbx - 1]
cmp eax, 0x1d
jbe 0x18013b21c
lea eax, [rbx - 0x6e]
cmp eax, 0xb
ja 0x18013b24e
cmp ebx, 0x11
je 0x18013b26c
lea eax, [rbx - 4]
cmp eax, 1
jbe 0x18013b26c
test sil, sil
jne 0x18013b23b
test r9b, r9b
jne 0x18013b23b
movzx eax, cl
shl al, 7
jmp 0x18013b241
movzx eax, cl
shl al, 5
or bpl, al
movzx eax, r10b
shl al, 4
or bpl, al
lea eax, [rbx - 0x50]
cmp eax, 0x1d
jbe 0x18013b277
lea eax, [rbx - 0xc8]
cmp eax, 0x6b
jbe 0x18013b277
lea eax, [rbx - 0x15e]
cmp eax, 0xa
jbe 0x18013b277
lea eax, [rbx - 0x190]
cmp eax, 0xe
ja 0x18013b296
test sil, sil
jne 0x18013b28b
test r14b, r14b
jne 0x18013b28b
test r9b, r9b
jne 0x18013b28b
shl cl, 3
jmp 0x18013b28d
add cl, cl
or cl, r10b
shl cl, 4
or bpl, cl
mov r9d, dword [rsp + 0x38]
cmp r9d, 0x20
jne 0x18013b2af
movzx eax, byte [r15 + 8]
neg al
sbb r9d, r9d
and r9d, 7
movzx r10d, byte [rsp + 0x22]
test r10b, r10b
je 0x18013b2f0
cmp r9d, 0x15
ja case.0x18013b2e2.9
lea r11, [0x180000000]
movsxd rax, r9d
movzx eax, byte [r11 + rax + 0x13b694]
mov ecx, dword [r11 + rax*4 + 0x13b688]
add rcx, r11
jmp rcx
or bpl, 6
jmp 0x18013b30b
or bpl, 2
jmp 0x18013b30b
mov ecx, r9d
test r9d, r9d
je 0x18013b30b
sub ecx, 1
je 0x18013b30b
sub ecx, 4
je 0x18013b30b
cmp ecx, 3
jne case.0x18013b2e2.9
movzx ecx, byte [r15 + 0xc]
test cl, cl
je 0x18013b34d
test dil, dil
je 0x18013b33c
lea eax, [rbx - 0x64]
cmp eax, 9
jbe 0x18013b341
lea eax, [rbx - 0xd2]
cmp eax, 0x38
ja 0x18013b33c
movabs r11, 0x1f0000000000007
bt r11, rax
jb 0x18013b341
test r10b, r10b
je 0x18013b353
movzx r12d, byte [rsp + 0x28]
shl r12b, 5
jmp 0x18013b35d
cmp byte [r15 + 0xd], r12b
je 0x18013b35d
movzx r12d, byte [rsp + 0x28]
shl r12b, 6
cmp byte [rsp + 0x21], r13b
je 0x18013b376
movzx eax, byte [r15 + 0x15]
shl al, 4
or al, byte [r15 + 0x18]
shl al, 2
or r12b, al
lea eax, [rbx - 0x15e]
cmp eax, 0xa
jbe 0x18013b3b3
lea eax, [rbx - 0x190]
cmp eax, 0xe
jbe 0x18013b3b3
lea eax, [rbx - 0x50]
cmp eax, 0x1d
jbe 0x18013b3b3
lea eax, [rbx - 0xc8]
cmp eax, 0x6b
jbe 0x18013b3b3
test ebx, ebx
je 0x18013b403
lea eax, [rbx - 1]
cmp eax, 0x1d
jbe 0x18013b3b3
lea eax, [rbx - 0x6e]
cmp eax, 0xb
ja 0x18013b3bd
mov eax, dword [rsp + 0x3c]
shl al, 4
or r12b, al
lea eax, [rbx - 0x50]
cmp eax, 0x1d
jbe 0x18013b3d5
lea eax, [rbx - 0xc8]
cmp eax, 0x6b
ja 0x18013b403
cmp ebx, 0x50
jl 0x18013b3da
cmp ebx, 0x6e
jl 0x18013b3fb
lea eax, [rbx - 0x12c]
cmp eax, 7
jbe 0x18013b3fb
lea eax, [rbx - 0x15e]
cmp eax, 0xa
jbe 0x18013b3fb
lea eax, [rbx - 0x190]
cmp eax, 0xe
ja 0x18013b403
test cl, cl
je 0x18013b403
or r12b, 4
cmp r9d, 0x1f
ja case.0x18013b2e2.9
lea eax, [r9 - 0x10]
cmp eax, 1
ja 0x18013b421
cmp dword [rsp + 0x2c], r13d
setne r13b
add r13d, 2
jmp 0x18013b42a
cmp dword [rsp + 0x2c], r13d
sete r13b
shl edx, 8
movzx eax, r8b
or edx, eax
movzx eax, bpl
shl edx, 8
or edx, eax
movzx eax, r12b
shl edx, 8
or edx, eax
mov rax, qword [rsp + 0x80]
or edx, r13d
mov dword [rax], edx
mov rdi, qword [rsp + 0x50]
mov al, 1
mov r13, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x88]
mov r14, qword [rsp + 0x40]
add rsp, 0x60
pop r15
pop r12
pop rbp
ret
mov rax, qword [rsp + 0x80]
mov dword [rax], r13d
jmp 0x18013b452
xor al, al
add rsp, 0x60
pop r15
pop r12
pop rbp
ret