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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [rdx]
mov r14, rcx
movzx ebx, byte [rdx + 0x24]
mov rsi, rdx
mov rdi, qword [rcx + 0x10]
not ebx
xor ecx, ecx
and ebx, 1
mov r13d, dword [rax]
mov eax, dword [rdx + 8]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0xc0]
lea r12d, [rbx + r13]
mov dword [rsp + 0x34], ecx
add r12d, dword [rsp + 0xb8]
mov dword [rsp + 0x30], ecx
test eax, eax
je 0x18009ea55
mov r15d, r9d
sub r15d, eax
jmp 0x18009ea64
mov eax, dword [r14 + 0x38]
lea r15d, [rax + 1]
add eax, r12d
mov dword [r14 + 0x38], eax
mov eax, dword [r8 + 0xc]
mov qword [rsp + 0x48], rbp
lea ebp, [rax + 1]
test eax, eax
jne 0x18009ea78
mov ebp, dword [r8 + 8]
mov eax, dword [r14 + 0x44]
mov ecx, 5
mov r9d, dword [rsp + 0xb0]
dec eax
mov dword [r14 + 0x44], eax
test r9d, r9d
mov dword [rdx + 0x1c], eax
mov r8d, r15d
mov rdx, qword [rdx]
mov eax, 1
cmovne eax, ecx
mov dword [rsp + 0x98], ebp
mov rcx, r14
mov byte [rsp + 0x20], al
call fcn.1800661e0
xor r11d, r11d
test ebx, ebx
je 0x18009eb1b
movsxd rcx, dword [rdi + 0x90]
lea edx, [r15 + r13]
mov r8d, dword [rsi + 0xc]
cmp dword [rdi + 0x94], ecx
jg 0x18009eaed
mov r9d, edx
mov dword [rsp + 0x20], r11d
lea edx, [r11 + 0x7e]
mov rcx, rdi
call fcn.1800419d0
xor r11d, r11d
jmp 0x18009eb1b
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x7e
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r11d
mov qword [rax + rcx*8 + 0x10], r11
cmp dword [rsp + 0xc0], 0
jne 0x18009eb9a
mov r9d, dword [rsp + 0xb8]
test r9d, r9d
jle 0x18009eb9a
mov r10, qword [r14 + 0x10]
lea edx, [r15 + r13]
mov r8d, dword [rsp + 0xa8]
add edx, ebx
movsxd rcx, dword [r10 + 0x90]
cmp dword [r10 + 0x94], ecx
jg 0x18009eb6b
mov dword [rsp + 0x20], r9d
mov rcx, r10
mov r9d, edx
mov edx, 0x4f
call fcn.1800419d0
jmp 0x18009eb9a
lea eax, [rcx + 1]
mov dword [r10 + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r10 + 0x88]
mov dword [rax + rcx*8], 0x4f
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r11
cmp dword [rsp + 0x90], 0
jle 0x18009f001
mov r8, qword [rsp + 0xa0]
mov r9d, r15d
mov rdx, rsi
mov dword [rsp + 0x20], r12d
mov rcx, r14
call fcn.18009e930
mov edx, dword [r14 + 0x38]
mov dword [rsp + 0x34], eax
mov eax, r13d
lea r8d, [rdx + 1]
add edx, dword [rsi + 8]
mov dword [r14 + 0x38], edx
sub eax, dword [rsi + 8]
movsxd rbp, dword [rdi + 0x90]
add eax, ebx
mov dword [rsp + 0xc0], r8d
mov dword [rsp + 0xb0], eax
test ebx, ebx
je 0x18009ec51
lea edx, [r15 + r13]
cmp dword [rdi + 0x94], ebp
jg 0x18009ec2d
xor r11d, r11d
mov r8d, edx
xor r9d, r9d
mov dword [rsp + 0x20], r11d
mov rcx, rdi
lea edx, [r11 + 0x11]
call fcn.1800419d0
mov r8d, dword [rsp + 0xc0]
mov ebp, eax
jmp 0x18009ecb5
lea eax, [rbp + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rbp*2]
mov rax, qword [rdi + 0x88]
add rcx, rbp
mov dword [rax + rcx*8], 0x11
jmp 0x18009eca4
mov edx, dword [rsi + 0xc]
cmp dword [rdi + 0x94], ebp
jg 0x18009ec82
xor r11d, r11d
mov r8d, edx
xor r9d, r9d
mov dword [rsp + 0x20], r11d
mov rcx, rdi
lea edx, [r11 + 0x78]
call fcn.1800419d0
mov r8d, dword [rsp + 0xc0]
mov ebp, eax
jmp 0x18009ecb5
lea eax, [rbp + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rbp*2]
mov rax, qword [rdi + 0x88]
add rcx, rbp
mov dword [rax + rcx*8], 0x78
xor r9d, r9d
mov qword [rax + rcx*8 + 0x10], r9
mov qword [rax + rcx*8 + 8], r9
mov dword [rax + rcx*8 + 4], edx
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi + 8]
cmp dword [rdi + 0x94], ecx
jg 0x18009ecdd
mov dword [rsp + 0x20], edx
mov r9d, r15d
mov edx, 0x5a
mov rcx, rdi
call fcn.1800419d0
jmp 0x18009ed0e
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x5a
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
je 0x18009ed20
lea rcx, [0x1801564c0]
jmp 0x18009ed33
movsxd rax, dword [rsi + 0x18]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rcx, [rax + rcx*8]
mov rax, qword [r14]
mov qword [rsp + 0x38], rcx
cmp byte [rax + 0x67], 0
jne 0x18009f272
mov rbx, qword [rcx + 0x10]
xor edx, edx
mov eax, dword [rsp + 0xb8]
add eax, dword [rsp + 0xb0]
mov dword [rcx + 8], eax
movzx r8d, word [rbx + 6]
mov rcx, qword [rbx + 0x18]
call fcn.18011be70
mov r9d, 0xfffffff8
mov r8, rbx
mov rcx, rdi
lea edx, [r9 + 7]
call fcn.1800429d0
movzx r9d, word [rbx + 8]
mov rcx, r14
movzx eax, word [rbx + 6]
mov r8d, dword [rsp + 0x90]
sub r9d, eax
mov rdx, qword [rsi]
dec r9d
call fcn.1800a0950
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x10], rax
movsxd rbx, dword [rdi + 0x90]
lea edx, [rbx + 1]
cmp dword [rdi + 0x94], ebx
jg 0x18009edd7
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, edx
mov rcx, rdi
lea edx, [r9 + 0xe]
call fcn.1800419d0
xor r9d, r9d
jmp 0x18009ee04
mov rax, qword [rdi + 0x88]
lea rcx, [rbx + rbx*2]
mov dword [rdi + 0x90], edx
xor r9d, r9d
mov dword [rax + rcx*8], 0xe
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r9
dec dword [r14 + 0x44]
mov eax, dword [r14 + 0x44]
mov dword [rsi + 0x14], eax
inc dword [r14 + 0x38]
mov edx, dword [r14 + 0x38]
mov r8d, dword [rsi + 0x14]
mov dword [rsi + 0x10], edx
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x18009ee4a
mov dword [rsp + 0x20], r9d
mov rcx, rdi
mov r9d, r8d
mov r8d, edx
mov edx, 0xa
call fcn.1800419d0
xor r9d, r9d
jmp 0x18009ee78
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0xa
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi + 0xc]
cmp dword [rdi + 0x94], ecx
jg 0x18009eea7
mov dword [rsp + 0x20], r9d
mov r8d, edx
xor r9d, r9d
mov edx, 0x92
mov rcx, rdi
call fcn.1800419d0
xor r9d, r9d
jmp 0x18009eed4
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x92
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r9
mov edx, dword [rsp + 0x98]
test edx, edx
je 0x18009ef3a
movsxd rcx, dword [rdi + 0x90]
mov r8d, dword [rsi + 0x1c]
cmp dword [rdi + 0x94], ecx
jg 0x18009ef0c
mov dword [rsp + 0x20], r9d
mov rcx, rdi
mov r9d, r8d
mov r8d, edx
mov edx, 0x11
call fcn.1800419d0
jmp 0x18009ef3a
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x11
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rdi]
mov edx, dword [rdi + 0x90]
cmp byte [rax + 0x67], 0
je 0x18009ef52
lea rax, [0x1801564c0]
jmp 0x18009ef64
movsxd rax, ebp
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rax, [rax + rcx*8]
mov r9d, dword [rsp + 0xc0]
mov dword [rax + 8], edx
mov r10, qword [r14 + 0x10]
mov r8d, dword [rsi + 8]
movsxd rcx, dword [r10 + 0x90]
cmp dword [r10 + 0x94], ecx
jg 0x18009ef9e
mov dword [rsp + 0x20], r8d
mov edx, 0x4f
mov r8d, r15d
mov rcx, r10
call fcn.1800419d0
jmp 0x18009efd0
lea eax, [rcx + 1]
xor edx, edx
mov dword [r10 + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r10 + 0x88]
mov dword [rax + rcx*8], 0x4f
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], rdx
mov rax, qword [rdi]
mov edx, dword [rdi + 0x90]
cmp byte [rax + 0x67], 0
je 0x18009efe8
lea rax, [0x1801564c0]
jmp 0x18009eff7
mov rax, qword [rdi + 0x88]
lea rcx, [rbx + rbx*2]
lea rax, [rax + rcx*8]
mov ebp, dword [rsp + 0x98]
mov dword [rax + 8], edx
test ebp, ebp
je 0x18009f192
movsxd rcx, dword [rdi + 0x90]
mov ebx, dword [rsi + 0xc]
lea edx, [rcx + 4]
cmp dword [rdi + 0x94], ecx
jg 0x18009f03d
xor r11d, r11d
mov r9d, edx
mov r8d, ebp
mov dword [rsp + 0x20], r11d
mov rcx, rdi
lea edx, [r11 + 0x3c]
call fcn.1800419d0
xor r9d, r9d
jmp 0x18009f06d
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x3c
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x18009f098
mov dword [rsp + 0x20], r9d
mov r8d, ebx
xor r9d, r9d
mov rcx, rdi
lea edx, [r9 + 0x20]
call fcn.1800419d0
xor r9d, r9d
jmp 0x18009f0c5
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x20
mov dword [rax + rcx*8 + 4], ebx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r9
mov ebp, dword [rsp + 0x90]
sub r13d, ebp
movsxd r8, dword [rdi + 0x90]
mov dword [rsp + 0x30], r8d
lea edx, [r15 + rbp]
cmp dword [rdi + 0x94], r8d
jg 0x18009f10c
xor r9d, r9d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], edx
mov r8d, ebx
mov rcx, rdi
lea edx, [r9 + 0x28]
call fcn.180041a30
mov dword [rsp + 0x30], eax
xor r9d, r9d
jmp 0x18009f13a
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0xfd28
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edx
mov dword [rax + rcx*8 + 0x10], r13d
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x18009f163
mov dword [rsp + 0x20], r9d
mov r8d, ebx
xor r9d, r9d
mov edx, 0x82
mov rcx, rdi
call fcn.1800419d0
jmp 0x18009f199
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x82
mov dword [rax + rcx*8 + 4], ebx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r9
jmp 0x18009f199
mov ebp, dword [rsp + 0x90]
mov r10d, dword [rsp + 0x34]
test r10d, r10d
jne 0x18009f1c1
mov r8, qword [rsp + 0xa0]
mov r9d, r15d
mov rdx, rsi
mov dword [rsp + 0x20], r12d
mov rcx, r14
call fcn.18009e930
mov r10d, eax
movzx edx, byte [rsi + 0x24]
lea r9d, [r15 + rbp]
movsxd rcx, dword [rdi + 0x90]
and edx, 1
mov r8d, dword [rsi + 0xc]
add edx, 0x8a
sub r12d, ebp
cmp dword [rdi + 0x94], ecx
jg 0x18009f1ff
mov dword [rsp + 0x28], r12d
mov rcx, rdi
mov dword [rsp + 0x20], r9d
mov r9d, r10d
call fcn.180041a30
jmp 0x18009f238
lea eax, [rcx + 1]
xor r11d, r11d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov byte [rax + rcx*8], dl
mov word [rax + rcx*8 + 2], r11w
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r10d
mov dword [rax + rcx*8 + 0xc], r9d
mov dword [rax + rcx*8 + 0x10], r12d
mov byte [rax + rcx*8 + 1], 0xfd
movsxd rcx, dword [rsp + 0x30]
test ecx, ecx
je 0x18009f272
mov edx, dword [rsi + 0x20]
test edx, edx
jne 0x18009f24e
mov edx, dword [rdi + 0x90]
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
je 0x18009f260
lea rax, [0x1801564c0]
jmp 0x18009f26f
mov rax, qword [rdi + 0x88]
lea rcx, [rcx + rcx*2]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret