Function at 0x1800d66e0
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 r15d, edx
mov r13, qword [rcx + 8]
xor edx, edx
mov rbx, qword [rcx + 0x10]
mov esi, r8d
mov r14, rcx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], edx
movzx ebp, byte [r13 + 0x20]
dec dword [rdi + 0x44]
mov r12d, dword [rdi + 0x44]
mov byte [rsp + 0x80], bpl
cmp r15d, 2
jne 0x1800d6743
cmp byte [r13 + 0x21], 0x5a
jne 0x1800d6743
xor eax, eax
jmp 0x1800d6efe
mov r9d, 0x39
test esi, esi
jle 0x1800d680e
cmp byte [r13 + 0x20], 0x59
movsxd rcx, dword [rbx + 0x90]
jne 0x1800d67bb
mov dword [rsp + 0x34], ecx
cmp r15d, 2
jne 0x1800d6798
cmp byte [r13 + 0x21], 0x56
jne 0x1800d6776
mov r8d, dword [r14 + 0x34]
jmp 0x1800d677a
mov r8d, dword [r14 + 0x2c]
mov edx, 0x37
mov eax, 0x2c
cmovne edx, r9d
mov r9d, 0x34
cmovne eax, r9d
mov ecx, dword [rax + r14]
jmp 0x1800d67a5
mov r8d, dword [r14 + 0x3c]
mov edx, 0x36
mov ecx, dword [r14 + 0x34]
mov dword [rsp + 0x28], r12d
mov r9d, esi
mov dword [rsp + 0x20], ecx
mov rcx, r14
call fcn.1800d6030
jmp 0x1800d680e
cmp dword [rbx + 0x94], ecx
jg 0x1800d67dd
mov r9d, r12d
mov dword [rsp + 0x20], 1
mov edx, 0x3b
mov rcx, rbx
call fcn.1800419d0
jmp 0x1800d680e
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x3b
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], 1
mov qword [rax + rcx*8 + 0x10], rdx
cmp r15d, 1
jne 0x1800d6828
cmp dword [r13 + 0x84], 0
jne 0x1800d6828
xor edx, edx
mov rcx, r14
call fcn.1800d46a0
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x38], eax
movzx eax, byte [r13 + 0x22]
cmp byte [r13 + 0x21], al
jne 0x1800d6a9d
test esi, esi
je 0x1800d6a9d
cmp byte [r13 + 0x20], 0x59
jne 0x1800d6a9d
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1800d686a
inc dword [rdi + 0x38]
mov esi, dword [rdi + 0x38]
inc dword [rdi + 0x38]
mov ebp, dword [rdi + 0x38]
jmp 0x1800d6894
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov esi, dword [rdi + rax*4 + 0xe8]
test al, al
jne 0x1800d6885
inc dword [rdi + 0x38]
mov ebp, dword [rdi + 0x38]
jmp 0x1800d6894
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebp, dword [rdi + rax*4 + 0xe8]
cmp r15d, 2
jne 0x1800d69a4
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [r14 + 0x2c]
cmp dword [rbx + 0x94], ecx
jg 0x1800d68cf
xor eax, eax
mov r8d, edx
mov edx, 0x87
mov dword [rsp + 0x20], eax
mov r9d, esi
mov rcx, rbx
call fcn.1800419d0
xor r8d, r8d
jmp 0x1800d68ff
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x87
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [r14 + 0x3c]
cmp dword [rbx + 0x94], ecx
jg 0x1800d692f
mov dword [rsp + 0x20], r8d
mov r9d, ebp
mov r8d, edx
mov rcx, rbx
mov edx, 0x87
call fcn.1800419d0
xor r8d, r8d
jmp 0x1800d695c
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x87
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1800d6987
mov r9d, r12d
mov dword [rsp + 0x20], esi
mov r8d, ebp
mov edx, 0x39
mov rcx, rbx
call fcn.1800419d0
jmp 0x1800d6a69
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 4], ebp
jmp 0x1800d6a54
cmp dword [r14 + 0x28], 0
je 0x1800d6a69
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [r14 + 0x3c]
cmp dword [rbx + 0x94], ecx
jg 0x1800d69e0
xor eax, eax
mov r8d, edx
mov edx, 0x87
mov dword [rsp + 0x20], eax
mov r9d, esi
mov rcx, rbx
call fcn.1800419d0
xor r8d, r8d
jmp 0x1800d6a10
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x87
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [r14 + 0x28]
cmp dword [rbx + 0x94], ecx
jg 0x1800d6a3c
mov r8d, edx
mov dword [rsp + 0x20], esi
mov edx, 0x39
mov r9d, r12d
mov rcx, rbx
call fcn.1800419d0
jmp 0x1800d6a69
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 0x10], r8
mov dword [rax + rcx*8 + 0xc], esi
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8], 0x39
test esi, esi
je 0x1800d6a7f
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1800d6a7f
mov dword [rdi + rax*4 + 0xe8], esi
inc byte [rdi + 0x1f]
test ebp, ebp
je 0x1800d6a95
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1800d6a95
mov dword [rdi + rax*4 + 0xe8], ebp
inc byte [rdi + 0x1f]
movzx ebp, byte [rsp + 0x80]
mov ecx, r15d
sub ecx, 1
je 0x1800d6b85
cmp ecx, 1
je 0x1800d6b4b
cmp dword [r13 + 0x84], 0
mov esi, dword [r14 + 0x40]
mov r15d, dword [r14 + 0x3c]
mov dword [rsp + 0x80], esi
je 0x1800d6b30
mov edx, dword [r13 + 0x88]
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1800d6afe
xor eax, eax
mov r8d, edx
mov rcx, rbx
mov dword [rsp + 0x20], eax
lea r9d, [rax + 1]
lea edx, [rax + 0x56]
call fcn.1800419d0
jmp 0x1800d6b9c
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x56
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 1
mov qword [rax + rcx*8 + 0x10], r8
jmp 0x1800d6b9f
mov eax, dword [r14 + 0x20]
xor r9d, r9d
mov r8d, r15d
mov dword [rsp + 0x20], eax
mov rdx, r13
mov rcx, r14
call fcn.1800d3cf0
jmp 0x1800d6b9c
mov edx, dword [r13 + 0x84]
mov esi, dword [r14 + 0x30]
mov r15d, dword [r14 + 0x2c]
mov dword [rsp + 0x80], esi
test edx, edx
jne 0x1800d6ad2
mov eax, dword [r14 + 0x20]
lea r9d, [rdx + 1]
mov rdx, r13
mov dword [rsp + 0x20], eax
mov r8d, r15d
mov rcx, r14
call fcn.1800d3cf0
jmp 0x1800d6b9c
mov eax, dword [r14 + 0x38]
mov rcx, r14
mov r15d, dword [r14 + 0x34]
mov dword [rsp + 0x80], eax
call fcn.1800d52a0
xor r8d, r8d
mov eax, dword [rsp + 0x88]
cmp eax, dword [r14 + 0x24]
jne 0x1800d6c23
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1800d6bd8
mov dword [rsp + 0x20], r8d
xor r9d, r9d
mov r8d, r15d
mov edx, 0x82
mov rcx, rbx
call fcn.1800419d0
xor r8d, r8d
jmp 0x1800d6c06
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x82
mov dword [rax + rcx*8 + 4], r15d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x1800d6c23
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], 2
cmp dword [rsp + 0x98], 0
movsxd rcx, dword [rbx + 0x90]
mov eax, dword [rbx + 0x94]
je 0x1800d6cfb
lea edx, [rcx + 2]
cmp eax, ecx
jg 0x1800d6c62
mov dword [rsp + 0x20], r8d
mov r9d, edx
mov r8d, r15d
mov edx, 0x27
mov rcx, rbx
call fcn.1800419d0
xor r8d, r8d
jmp 0x1800d6c90
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rsi, dword [rbx + 0x90]
mov dword [rsp + 0x30], esi
cmp dword [rbx + 0x94], esi
jg 0x1800d6cc2
xor r9d, r9d
mov dword [rsp + 0x20], r8d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 9]
call fcn.1800419d0
mov esi, eax
mov dword [rsp + 0x30], eax
jmp 0x1800d6cec
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 9
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
cmp bpl, 0x4c
je 0x1800d6e72
jmp 0x1800d6db5
cmp bpl, 0x4c
mov edx, r8d
setne dl
inc edx
add edx, ecx
cmp eax, ecx
jg 0x1800d6d2a
mov dword [rsp + 0x20], r8d
mov r9d, edx
mov r8d, r15d
mov edx, 0x27
mov rcx, rbx
call fcn.1800419d0
xor r8d, r8d
jmp 0x1800d6d58
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
cmp bpl, 0x4c
je 0x1800d6e6e
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1800d6d8a
mov dword [rsp + 0x20], r8d
mov r9d, r12d
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 9]
call fcn.1800419d0
jmp 0x1800d6db5
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 9
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rbp, qword [r13 + 0x18]
test rbp, rbp
je 0x1800d6e0f
mov ebp, dword [rbp]
test ebp, ebp
je 0x1800d6e15
cmp ebp, 1
jne 0x1800d6deb
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1800d6dda
inc dword [rdi + 0x38]
mov esi, dword [rdi + 0x38]
jmp 0x1800d6e19
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov esi, dword [rdi + rax*4 + 0xe8]
jmp 0x1800d6e19
mov ecx, dword [rdi + 0x28]
mov esi, dword [rdi + 0x2c]
cmp ebp, ecx
jg 0x1800d6e02
lea eax, [rsi + rbp]
sub ecx, ebp
mov dword [rdi + 0x2c], eax
mov dword [rdi + 0x28], ecx
jmp 0x1800d6e19
mov eax, dword [rdi + 0x38]
lea esi, [rax + 1]
add eax, ebp
mov dword [rdi + 0x38], eax
jmp 0x1800d6e19
xor eax, eax
mov ebp, eax
jmp 0x1800d6e17
xor eax, eax
mov esi, eax
mov r8d, esi
mov edx, r15d
mov rcx, r14
call fcn.1800d3be0
mov eax, dword [rsp + 0x38]
mov r8d, esi
mov r9d, dword [rsp + 0x80]
mov rcx, rdi
mov rdx, qword [r13 + 0x18]
mov dword [rsp + 0x20], eax
call fcn.1800d5e00
cmp ebp, 1
jne 0x1800d6e63
test esi, esi
je 0x1800d6e6e
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1800d6e6e
mov dword [rdi + rax*4 + 0xe8], esi
inc byte [rdi + 0x1f]
jmp 0x1800d6e6e
cmp ebp, dword [rdi + 0x28]
jle 0x1800d6e6e
mov dword [rdi + 0x28], ebp
mov dword [rdi + 0x2c], esi
mov esi, dword [rsp + 0x30]
mov edx, dword [rsp + 0x34]
test edx, edx
je 0x1800d6ecf
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1800d6ea2
xor eax, eax
mov r9d, edx
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea edx, [rax + 9]
call fcn.1800419d0
jmp 0x1800d6ecf
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 9
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [rbx + 0x18]
not r12d
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x1800d6eeb
mov r8d, r12d
mov rdx, rbx
call fcn.180042190
jmp 0x1800d6efc
mov rdx, qword [rcx + 0x50]
mov ecx, dword [rbx + 0x90]
movsxd r8, r12d
mov dword [rdx + r8*4], ecx
mov eax, esi
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret