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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
cmp byte [rcx + 0x426cd], 0
mov rsi, rdx
mov rbx, rcx
je 0x18002ba4f
call fcn.18002d5f0
cmp byte [rbx + 0x2f], 0
je 0x18002ba67
mov ebp, dword [rsi + 0xa4]
cmp ebp, 1
je 0x18002ba69
mov byte [rsp + 0x70], 0
jmp 0x18002ba6e
xor ebp, ebp
mov byte [rsp + 0x70], 1
lea rdi, [rbx + 0x423c8]
mov qword [rsp + 0x38], r13
lea rcx, [rdi + 0x28]
mov qword [rsp + 0x30], r15
mov edx, 0xffffffff
call fcn.1800645f0
test al, al
je 0x18002baff
lea rcx, [rdi + 8]
mov qword [rsp + 0x80], r12
call fcn.1800645e0
mov ecx, dword [rdi + 0x40]
mov rax, qword [rdi]
mov r15d, dword [rdi + 0x38]
mov r14, qword [rax + rcx*8]
lea eax, [rcx + 1]
mov dword [rdi + 0x40], eax
cmp eax, r15d
jb 0x18002bac1
sub eax, r15d
mov dword [rdi + 0x40], eax
mov r13d, dword [rdi + 0x3c]
lea rcx, [rdi + 0x18]
lea eax, [r13 - 1]
mov dword [rdi + 0x3c], eax
call fcn.180064e00
lea rcx, [rdi + 8]
call fcn.180065570
mov rcx, qword [rdi + 0x48]
mov r12, qword [rsp + 0x80]
test rcx, rcx
je 0x18002bb04
cmp r13d, r15d
jne 0x18002bb04
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x10]
jmp 0x18002bb04
mov r14, qword [rsp + 0x70]
mov r8, qword [rsi + 0x30]
mov rdx, r14
mov rcx, rbx
call fcn.180026c80
mov rax, qword [rsi + 0x38]
lea rdi, [rbx + 0x42378]
lea rcx, [rdi + 0x18]
mov qword [r14 + 8], rax
xor edx, edx
call fcn.1800645f0
mov r13, qword [rsp + 0x38]
test al, al
je 0x18002bb91
lea rcx, [rdi + 8]
call fcn.1800645e0
mov ecx, dword [rdi + 0x44]
mov rax, qword [rdi]
mov qword [rax + rcx*8], r14
mov eax, dword [rdi + 0x44]
mov edx, dword [rdi + 0x38]
inc eax
mov dword [rdi + 0x44], eax
cmp eax, edx
jb 0x18002bb5d
sub eax, edx
mov dword [rdi + 0x44], eax
mov r14d, dword [rdi + 0x3c]
lea rcx, [rdi + 0x28]
lea eax, [r14 + 1]
mov dword [rdi + 0x3c], eax
call fcn.180064e00
lea rcx, [rdi + 8]
call fcn.180065570
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x18002bb91
test r14d, r14d
jne 0x18002bb91
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
test byte [rsi + 0x10], 0x20
je 0x18002bbda
test dword [rbx + 0xa39c], 0x4000
je 0x18002bbda
lea rcx, [rbx + 0x425e8]
mov r8d, 0xffffffff
lea rdx, [rsp + 0x78]
call fcn.18002ee60
mov rax, qword [rsi + 0x6e0]
lea rcx, [rbx + 0x42598]
xor r8d, r8d
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x78]
call fcn.18002b0c0
mov eax, dword [rbx + 0x426c0]
mov r8d, 0xd28
mov rdi, qword [rbx + 0x426b8]
imul rdx, rax, 0x1ab8
movsxd rax, ebp
add rdi, 8
imul rcx, rax, 0xd28
add rdx, rcx
add rdi, rdx
mov rdx, rsi
mov rcx, rdi
call fcn.18006b4f0
mov eax, dword [rbx + 0x426c0]
imul rcx, rax, 0x1ab8
mov rax, qword [rbx + 0x426b8]
mov dword [rcx + rax], 0xff
cmp qword [rdi + 0x678], 0
je 0x18002bd97
mov rdx, rsi
mov rcx, rbx
call fcn.18002a8c0
test al, al
jne 0x18002bc60
mov eax, 8
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r9d, dword [rbx + 0x1c]
lea rdx, [rbx + 0xa3c0]
mov r8d, dword [rbx + 0x18]
add r9d, 0xf
mov rax, qword [rbx]
add r8d, 0xf
shr r9d, 4
mov rcx, rbx
shr r8d, 4
call qword [rax + 0xc8]
mov r9d, dword [rbx + 0x1c]
lea rdx, [rdi + 0x658]
mov r8d, dword [rbx + 0x18]
add r9d, 0xf
mov r10, qword [rbx]
add r8d, 0xf
shr r9d, 4
mov rcx, rbx
shr r8d, 4
mov r14, rax
call qword [r10 + 0xc8]
cmp rax, r14
jae 0x18002bcef
mov r9d, dword [rbx + 0x1c]
lea rdx, [rdi + 0x658]
mov r8d, dword [rbx + 0x18]
add r9d, 0xf
mov rax, qword [rbx]
add r8d, 0xf
shr r9d, 4
mov rcx, rbx
shr r8d, 4
call qword [rax + 0xc8]
mov rbp, rax
jmp 0x18002bcf2
mov rbp, r14
mov eax, dword [rbx + 0x426c0]
mov r15, qword [rdi + 0x678]
imul rcx, rax, 0x1ab8
mov rax, qword [rbx + 0x426b8]
mov rcx, qword [rcx + rax + 0x1a78]
test rbp, rbp
je 0x18002bd74
test rcx, rcx
jne 0x18002bd2c
call fcn.18007a210
mov dword [rax], 0x16
jmp 0x18002bd6f
test r15, r15
je 0x18002bd43
cmp r14, rbp
jb 0x18002bd43
mov r8, rbp
mov rdx, r15
call fcn.18006b4f0
jmp 0x18002bd74
mov r8, r14
xor edx, edx
call fcn.18006b2e0
test r15, r15
jne 0x18002bd5f
call fcn.18007a210
mov dword [rax], 0x16
jmp 0x18002bd6f
cmp r14, rbp
jae 0x18002bd74
call fcn.18007a210
mov dword [rax], 0x22
call fcn.18007a018
mov eax, dword [rbx + 0x426c0]
imul rcx, rax, 0x1ab8
mov rax, qword [rbx + 0x426b8]
mov rcx, qword [rcx + rax + 0x1a78]
mov qword [rdi + 0x678], rcx
mov rax, qword [rbx + 0xa3b0]
cmp dword [rax + 0x88], 0
je 0x18002be3d
mov rdx, qword [rdi + 0x6b0]
test rdx, rdx
je 0x18002be3d
cmp dword [rdi + 0x6b8], 0
je 0x18002be3d
mov ecx, dword [rbx + 0x18]
mov eax, dword [rbx + 0x1c]
add ecx, 0xf
add eax, 0xf
shr ecx, 4
shr eax, 4
imul ecx, eax
cmp dword [rsi + 0x6b8], ecx
jae 0x18002bdf6
mov eax, 0xe
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x426c0]
mov r8d, ecx
mov rcx, qword [rbx + 0x426b8]
imul r9, rax, 0x1ab8
mov rcx, qword [r9 + rcx + 0x1a80]
call fcn.18006b4f0
mov eax, dword [rbx + 0x426c0]
imul rcx, rax, 0x1ab8
mov rax, qword [rbx + 0x426b8]
mov rcx, qword [rcx + rax + 0x1a80]
mov qword [rdi + 0x6b0], rcx
mov eax, dword [rbx + 0x426c0]
mov r8, rdi
mov r10, qword [rbx]
mov rdx, rdi
imul r9, rax, 0x1ab8
mov rcx, rbx
add r9, qword [rbx + 0x426b8]
lea rax, [r9 + 0x1a98]
add r9, 0x1a90
mov qword [rsp + 0x20], rax
call qword [r10 + 0xa8]
test eax, eax
jne 0x18002bee4
cmp byte [rsp + 0x70], al
je 0x18002bece
inc dword [rbx + 0x426c0]
xor edx, edx
inc dword [rbx + 0x42360]
mov rcx, rbx
inc dword [rbx + 0x42364]
inc dword [rbx + 0x42368]
cmp byte [rbx + 0x4234b], dl
je 0x18002beba
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
jmp 0x18002cd90
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.18002c9e0
cmp dword [rbx + 0xa394], 0
mov ecx, 0x11
cmove eax, ecx
cmp byte [rbx + 0x2f], 0
cmovne eax, ecx
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14d, dword [rcx + 0x426c0]
xor edi, edi
movzx r15d, dl
mov rbx, rcx
test r14d, r14d
je 0x18002d1d8
mov r13d, dword [rcx + 0xb820]
dec r14d
mov eax, r14d
imul rsi, rax, 0x1ab8
add rsi, qword [rcx + 0x426b8]
mov rcx, qword [rcx + 0x42350]
lea rdx, [rsi + 8]
mov ebp, dword [rcx + 0x1ae0c]
test ebp, ebp
setne byte [rsp + 0x70]
call fcn.1800277d0
mov rcx, qword [rbx + 0x42350]
cmp byte [rcx + 0x1aee1], dil
jne 0x18002cf8a
dec dword [rbx + 0x42360]
lea rdx, [rsi + 8]
dec dword [rbx + 0x42364]
dec dword [rbx + 0x42368]
call fcn.180027b30
mov rcx, qword [rbx + 0x42350]
mov dword [rsp + 0x70], edi
test al, al
je 0x18002ce92
mov r9b, 1
mov byte [rsp + 0x20], dil
lea r8, [rsp + 0x70]
mov rdx, rsi
call fcn.1800275a0
mov r8d, dword [rsp + 0x70]
mov rdx, rsi
mov rcx, rbx
call fcn.18002c250
dec dword [rbx + 0x426c0]
test ebp, ebp
je 0x18002ce7b
mov rcx, rbx
call fcn.18002b400
test eax, eax
je 0x18002ce8b
jmp 0x18002d1da
mov rcx, qword [rbx + 0x42350]
mov eax, dword [rsi + 0x1c]
mov dword [rcx + 0x1aedc], eax
xor eax, eax
jmp 0x18002d1da
cmp byte [rcx + 0x240], dil
je 0x18002cf4a
cmp byte [rcx + 0x241], dil
je 0x18002cf4a
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor r8d, r8d
mov rdx, rsi
call fcn.1800275a0
mov rax, qword [rbx + 0x42350]
cmp byte [rax + 0x1aee2], dil
je 0x18002cee7
mov rdx, rsi
mov rcx, rax
call fcn.18002a5d0
dec dword [rbx + 0x426c0]
xor eax, eax
jmp 0x18002d1da
cmp dword [rax + 0x23c], edi
je 0x18002cef7
mov rcx, rbx
call fcn.18002c8d0
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.18002c250
dec dword [rbx + 0x426c0]
mov esi, eax
test ebp, ebp
je 0x18002cf43
mov rcx, qword [rbx + 0x42350]
xor edx, edx
add rcx, 0x238
mov qword [rbx + 0x42360], rdi
mov r8d, 0x1aba8
mov dword [rbx + 0x42368], edi
mov dword [rbx + 0x42370], 1
call fcn.18006b2e0
mov eax, esi
jmp 0x18002d1da
xor r9d, r9d
mov byte [rsp + 0x20], dil
lea r8, [rsp + 0x70]
mov rdx, rsi
call fcn.1800275a0
mov r8d, dword [rsp + 0x70]
mov rdx, rsi
mov rcx, rbx
call fcn.18002c250
dec dword [rbx + 0x426c0]
test ebp, ebp
je 0x18002d1da
mov rcx, rbx
call fcn.18002b400
jmp 0x18002d1da
test r15b, r15b
mov r9d, r13d
mov r8d, r14d
mov rdx, rsi
setne al
mov rcx, rbx
mov byte [rsp + 0x20], al
call fcn.18002b270
cmp dword [rsi], 6
jne 0x18002cfb0
mov dword [rbx + 0x4236c], edi
test dword [rbx + 0xb818], 0x400
je 0x18002cfca
cmp dword [rbx + 0xbe50], edi
je 0x18002cfca
inc dword [rbx + 0x4236c]
test al, al
je 0x18002d089
test r14d, r14d
je 0x18002d089
mov rax, qword [rbx + 0x42350]
mov rdx, rsi
mov byte [rax + 0x230], 1
mov eax, dword [rbx + 0x426c0]
mov r8d, dword [rbx + 0x42370]
sub eax, 2
mov r9d, dword [rsi]
add r8d, r14d
imul rcx, rax, 0x1ab8
add rcx, qword [rbx + 0x426b8]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rbx + 0x42350]
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], r14d
call fcn.18002a0c0
mov eax, dword [rbx + 0x426c0]
dec r14d
sub eax, 2
imul rcx, rax, 0x1ab8
mov rax, qword [rbx + 0x426b8]
mov dword [rcx + rax], edi
mov edx, dword [rbx + 0x426c0]
lea ecx, [rdx - 2]
imul rsi, rcx, 0x1ab8
lea eax, [rdx - 1]
add rsi, qword [rbx + 0x426b8]
mov ebp, dword [rsi + 0x18]
dec dword [rbx + 0x42364]
dec dword [rbx + 0x42360]
shr ebp, 4
not bpl
mov dword [rbx + 0x426c0], eax
and bpl, 1
dec dword [rbx + 0x42368]
jmp 0x18002d08d
mov ebp, dword [rsp + 0x70]
mov eax, r14d
imul rcx, rax, 0x1ab8
mov rax, qword [rbx + 0x426b8]
cmp dword [rcx + rax], 2
jne 0x18002d0ab
mov dword [rbx + 0x42364], r14d
cmp dword [rcx + rax], 3
jne 0x18002d0be
mov dword [rbx + 0x42370], edi
mov qword [rbx + 0x42360], rdi
cmp dword [rcx + rax], 1
je 0x18002d0ca
mov dword [rbx + 0x42368], edi
mov r8d, dword [rbx + 0x42370]
mov rdx, rsi
mov r9d, dword [rsi]
add r8d, r14d
mov rcx, qword [rbx + 0x42350]
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x28], dil
mov dword [rsp + 0x20], r14d
call fcn.18002a0c0
cmp dword [rsi], 1
jne 0x18002d159
mov eax, dword [rbx + 0x426c0]
cmp eax, 2
jb 0x18002d12b
add eax, 0xfffffffe
mov ecx, eax
mov eax, dword [rsi + 0x1c]
imul rdx, rcx, 0x1ab8
mov rcx, qword [rbx + 0x426b8]
cmp dword [rdx + rcx + 0x1c], eax
jne 0x18002d12b
mov eax, 8
jmp 0x18002d1da
cmp byte [rbx + 0x30], dil
jne 0x18002d159
mov eax, 0x11
cmp dword [rbx + 0xa394], edi
je 0x18002d1da
mov ecx, dword [0x1800ef500]
and ecx, 0xfffffff0
cmp ecx, 0xa0
cmovb eax, edi
jmp 0x18002d1da
mov eax, dword [rbx + 0x426c0]
mov rcx, rbx
mov r8d, dword [rbx + 0x42370]
dec eax
imul rdx, rax, 0x1ab8
add r8d, r14d
add rdx, qword [rbx + 0x426b8]
call fcn.18002c250
test eax, eax
cmovne edi, eax
test bpl, bpl
jne 0x18002d1ba
mov eax, dword [rbx + 0x426c0]
mov rcx, qword [rbx + 0x42350]
dec eax
imul rdx, rax, 0x1ab8
mov rax, qword [rbx + 0x426b8]
mov eax, dword [rdx + rax + 0x1c]
mov dword [rcx + 0x1aedc], eax
dec dword [rbx + 0x426c0]
jmp 0x18002d1ce
dec dword [rbx + 0x426c0]
mov rcx, rbx
call fcn.18002b400
mov edi, eax
test eax, eax
jne 0x18002d1da
lea eax, [r14 + 1]
add dword [rbx + 0x42370], eax
mov eax, edi
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret