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

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, qword [rcx]
mov r12, qword [rcx + 8]
mov rbx, qword [rcx + 0x10]
xor eax, eax
cmp byte [r12 + 0x20], 0x4c
mov ebp, r8d
mov r13d, eax
setne r13b
dec dword [rdi + 0x44]
mov r15d, dword [rdi + 0x44]
mov r14d, edx
mov rsi, rcx
mov dword [rsp + 0x80], r13d
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x30], eax
cmp edx, 2
jne 0x1800ba7f8
cmp byte [r12 + 0x21], 0x5a
je 0x1800bacfc
test r8d, r8d
jle 0x1800ba885
cmp byte [r12 + 0x20], 0x59
jne 0x1800ba86d
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x28], r15d
mov r9d, r8d
mov dword [rsp + 0x30], eax
cmp edx, 2
jne 0x1800ba856
cmp byte [r12 + 0x21], 0x56
jne 0x1800ba83f
mov eax, dword [rcx + 0x2c]
mov r8d, dword [rcx + 0x34]
mov edx, 0x37
mov dword [rsp + 0x20], eax
call fcn.1800ba270
jmp 0x1800ba8a0
mov eax, dword [rcx + 0x34]
mov r8d, dword [rcx + 0x2c]
mov edx, 0x39
mov dword [rsp + 0x20], eax
call fcn.1800ba270
jmp 0x1800ba8a0
mov eax, dword [rcx + 0x34]
mov r8d, dword [rcx + 0x3c]
mov edx, 0x36
mov dword [rsp + 0x20], eax
call fcn.1800ba270
jmp 0x1800ba885
mov r9d, r15d
mov edx, 0x3b
mov rcx, rbx
mov dword [rsp + 0x20], 1
call fcn.180035470
cmp r14d, 1
jne 0x1800ba8a0
cmp dword [r12 + 0x84], 0
jne 0x1800ba8a0
xor edx, edx
mov rcx, rsi
call fcn.1800b8d30
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x38], eax
movzx eax, byte [r12 + 0x22]
cmp byte [r12 + 0x21], al
jne 0x1800ba9c8
test ebp, ebp
je 0x1800ba9c8
cmp byte [r12 + 0x20], 0x59
jne 0x1800ba9c8
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1800ba8df
inc dword [rdi + 0x38]
mov ebp, dword [rdi + 0x38]
jmp 0x1800ba8ee
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebp, dword [rdi + rax*4 + 0xe0]
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1800ba8ff
inc dword [rdi + 0x38]
mov r13d, dword [rdi + 0x38]
jmp 0x1800ba90f
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r13d, dword [rdi + rax*4 + 0xe0]
cmp r14d, 2
jne 0x1800ba952
mov r8d, dword [rsi + 0x2c]
mov r9d, ebp
mov edx, 0x87
mov rcx, rbx
mov dword [rsp + 0x20], 0
call fcn.180035470
mov r8d, dword [rsi + 0x3c]
mov r9d, r13d
mov edx, 0x87
mov rcx, rbx
mov dword [rsp + 0x20], 0
call fcn.180035470
mov r8d, r13d
jmp 0x1800ba978
cmp dword [rsi + 0x28], 0
je 0x1800ba98c
mov r8d, dword [rsi + 0x3c]
mov r9d, ebp
mov edx, 0x87
mov rcx, rbx
mov dword [rsp + 0x20], 0
call fcn.180035470
mov r8d, dword [rsi + 0x28]
mov r9d, r15d
mov edx, 0x39
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call fcn.180035470
test ebp, ebp
je 0x1800ba9a5
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1800ba9a5
movzx eax, al
mov dword [rdi + rax*4 + 0xe0], ebp
inc byte [rdi + 0x1f]
test r13d, r13d
je 0x1800ba9c0
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1800ba9c0
movzx eax, al
mov dword [rdi + rax*4 + 0xe0], r13d
inc byte [rdi + 0x1f]
mov r13d, dword [rsp + 0x80]
mov ecx, r14d
dec ecx
je 0x1800baaaa
dec ecx
je 0x1800baa71
cmp dword [r12 + 0x84], 0
mov ebp, dword [rsi + 0x40]
mov r14d, dword [rsi + 0x3c]
mov dword [rsp + 0x80], ebp
je 0x1800baa57
mov edx, dword [r12 + 0x88]
movsxd rcx, dword [rbx + 0x90]
xor ebp, ebp
cmp dword [rbx + 0x94], ecx
jg 0x1800baa28
mov r8d, edx
lea r9d, [rbp + 1]
lea edx, [rbp + 0x56]
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call fcn.180035350
jmp 0x1800baac2
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 1
mov qword [rax + rcx*8 + 0x10], rbp
mov dword [rax + rcx*8], 0x56
jmp 0x1800baac2
mov eax, dword [rsi + 0x20]
xor r9d, r9d
mov r8d, r14d
mov rdx, r12
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.1800b8330
jmp 0x1800baac0
mov edx, dword [r12 + 0x84]
mov ebp, dword [rsi + 0x30]
mov r14d, dword [rsi + 0x2c]
mov dword [rsp + 0x80], ebp
test edx, edx
jne 0x1800ba9fc
mov eax, dword [rsi + 0x20]
lea r9d, [rdx + 1]
mov r8d, r14d
mov rdx, r12
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.1800b8330
jmp 0x1800baac0
mov eax, dword [rsi + 0x38]
mov r14d, dword [rsi + 0x34]
mov rcx, rsi
mov dword [rsp + 0x80], eax
call fcn.1800b9790
xor ebp, ebp
mov eax, dword [rsp + 0x88]
cmp eax, dword [rsi + 0x24]
jne 0x1800bab44
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1800baaf6
xor r9d, r9d
mov r8d, r14d
mov edx, 0x82
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call fcn.180035350
jmp 0x1800bab24
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 4], r14d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbp
mov dword [rax + rcx*8], 0x82
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x1800bab44
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov edx, 2
mov word [rax + rcx*8 - 0x16], dx
cmp dword [rsp + 0x98], 0
mov dword [rsp + 0x20], ebp
mov r8d, r14d
mov edx, 0x27
mov rcx, rbx
je 0x1800bab80
mov r9d, dword [rbx + 0x90]
add r9d, 2
call fcn.180035470
mov edx, 9
mov rcx, rbx
call fcn.180035400
mov dword [rsp + 0x34], eax
jmp 0x1800babea
mov eax, dword [rbx + 0x90]
lea r9d, [rax + r13 + 1]
call fcn.180035470
test r13d, r13d
je 0x1800bac74
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1800babc0
xor r8d, r8d
mov r9d, r15d
mov rcx, rbx
lea edx, [r8 + 9]
mov dword [rsp + 0x20], ebp
call fcn.180035350
jmp 0x1800babea
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov qword [rax + rcx*8], 9
test r13d, r13d
je 0x1800bac74
mov rax, qword [r12 + 0x18]
test rax, rax
je 0x1800bac0f
mov ebp, dword [rax]
test ebp, ebp
je 0x1800bac0f
mov edx, ebp
mov rcx, rdi
call fcn.18005bcc0
jmp 0x1800bac11
xor eax, eax
mov r8d, eax
mov edx, r14d
mov rcx, rsi
mov r13d, eax
call fcn.1800b8210
mov r11d, dword [rsp + 0x38]
mov r9d, dword [rsp + 0x80]
mov rdx, qword [r12 + 0x18]
mov r8d, r13d
mov rcx, rdi
mov dword [rsp + 0x20], r11d
call fcn.1800ba100
cmp ebp, 1
jne 0x1800bac66
test r13d, r13d
je 0x1800bac72
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1800bac72
movzx eax, al
mov dword [rdi + rax*4 + 0xe0], r13d
inc byte [rdi + 0x1f]
jmp 0x1800bac72
cmp ebp, dword [rdi + 0x28]
jle 0x1800bac72
mov dword [rdi + 0x28], ebp
mov dword [rdi + 0x2c], r13d
xor ebp, ebp
mov edx, dword [rsp + 0x30]
test edx, edx
je 0x1800baccc
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1800baca3
xor r8d, r8d
mov r9d, edx
mov rcx, rbx
lea edx, [r8 + 9]
mov dword [rsp + 0x20], ebp
call fcn.180035350
jmp 0x1800baccc
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov qword [rax + rcx*8], 9
mov rcx, qword [rbx + 0x18]
not r15d
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x1800bace8
mov r8d, r15d
mov rdx, rbx
call fcn.180035ec0
jmp 0x1800bacf8
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, r15d
mov dword [rcx + rdx*4], eax
mov eax, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret