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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov r12, qword [rcx + 0x10]
mov r14d, r9d
xor ebx, ebx
cmp r8d, r14d
lea r9, [rax + 0x10]
mov r15d, r8d
lea r8d, [rbx + 3]
cmove r9, rbx
mov rsi, rdx
mov rdi, rcx
mov dword [rax + 0x10], ebx
call fcn.18009cfe0
mov rcx, rsi
mov ebp, eax
call fcn.180029350
movzx ecx, byte [rdi + 0x1f]
inc dword [rdi + 0x70]
mov byte [rsp + 0xa0], al
test cl, cl
jne 0x1800a1bb9
inc dword [rdi + 0x54]
mov r13d, dword [rdi + 0x54]
jmp 0x1800a1bc6
dec cl
movzx eax, cl
mov byte [rdi + 0x1f], al
mov r13d, dword [rdi + rax*4 + 0x24]
mov rdx, qword [rsi + 0x10]
mov r8d, r13d
mov rcx, rdi
call fcn.1800acf90
cmp ebp, 5
jne 0x1800a1fc8
mov rax, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x10]
mov rcx, rdi
mov qword [rsp + 0x40], rax
call fcn.180068ae0
mov rsi, qword [r12 + 0x30]
movsxd rbx, dword [rsi + 0x78]
mov r14, rax
lea ecx, [rbx + 1]
mov dword [rsi + 0x78], ecx
lea ecx, [rbx - 1]
test ebx, ecx
jne 0x1800a1c2d
mov rdx, qword [rsi + 0x80]
lea ecx, [rbx + rbx + 1]
movsxd r8, ecx
mov rcx, qword [rsi]
shl r8, 2
call fcn.18003bc90
mov qword [rsi + 0x80], rax
mov rcx, qword [rsi + 0x80]
or edx, 0xffffffff
test rcx, rcx
je 0x1800a1c3f
mov dword [rcx + rbx*4], edx
mov eax, edx
xor ebp, ebp
sub eax, ebx
mov ebx, dword [rsp + 0xb8]
mov dword [rsp + 0x30], eax
cmp ebx, r15d
je 0x1800a1c88
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1800a1c65
inc dword [rdi + 0x54]
mov ebp, dword [rdi + 0x54]
jmp 0x1800a1c71
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebp, dword [rdi + rax*4 + 0x24]
mov r9d, r13d
mov r8d, r13d
mov edx, 0x55
mov rcx, r12
mov dword [rsp + 0x20], ebp
call fcn.180042780
mov rsi, qword [rsp + 0x40]
xor r15d, r15d
cmp dword [rsi], r15d
jle 0x1800a1f0f
xor eax, eax
mov qword [rsp + 0x38], rax
mov rdx, qword [rsi + 8]
lea r8, [rsp + 0x34]
mov rcx, rdi
mov rdx, qword [rax + rdx]
call fcn.18004bfc0
mov ebx, eax
test ebp, ebp
je 0x1800a1d43
mov rcx, qword [rsi + 8]
mov r8, qword [rsp + 0x38]
mov r8, qword [r8 + rcx]
nop dword [rax]
movzx ecx, byte [r8]
cmp cl, 0x9e
je 0x1800a1cde
cmp cl, 0x9d
jne 0x1800a1ce4
mov r8, qword [r8 + 0x10]
jmp 0x1800a1cd0
movzx eax, byte [r8]
cmp al, 0x9f
jne 0x1800a1cf0
mov al, byte [r8 + 0x36]
cmp al, 0x61
je 0x1800a1d43
cmp al, 0x83
jbe 0x1800a1d2c
cmp al, 0x86
jbe 0x1800a1d43
cmp al, 0x9a
jne 0x1800a1d2c
bt dword [r8 + 4], 0x14
jb 0x1800a1d2c
movzx eax, word [r8 + 0x30]
test ax, ax
js 0x1800a1d43
movsx rax, ax
lea rdx, [rax + rax*2]
mov rax, qword [r8 + 0x40]
mov rcx, qword [rax + 8]
add rdx, rdx
cmp byte [rcx + rdx*8 + 0x28], 0
jne 0x1800a1d43
mov r9d, ebx
mov r8d, ebp
mov edx, 0x55
mov rcx, r12
mov dword [rsp + 0x20], ebp
call fcn.180042780
mov eax, dword [rsi]
dec eax
cmp r15d, eax
jl 0x1800a1e0b
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0xb8], eax
jne 0x1800a1e0b
mov r9d, eax
mov r8d, r13d
mov edx, 0x4e
mov rcx, r12
mov dword [rsp + 0x20], ebx
call fcn.180042780
mov rsi, qword [r12 + 8]
mov rcx, qword [r12]
test rsi, rsi
je 0x1800a1dd2
cmp byte [rcx + 0x51], 0
jne 0x1800a1dd2
test eax, eax
jns 0x1800a1d9a
mov eax, dword [r12 + 0x3c]
dec eax
cdqe
lea rbx, [rax + rax*2]
movsx edx, byte [rsi + rbx*8 + 1]
mov r8, qword [rsi + rbx*8 + 0x10]
call fcn.180046990
xor eax, eax
mov qword [rsi + rbx*8 + 0x10], rax
test r14, r14
jne 0x1800a1dc6
mov qword [rsi + rbx*8 + 0x10], rax
mov byte [rsi + rbx*8 + 1], al
jmp 0x1800a1ddf
mov qword [rsi + rbx*8 + 0x10], r14
mov byte [rsi + rbx*8 + 1], 0xfc
jmp 0x1800a1ddf
mov r8, r14
mov edx, 0xfffffffc
call fcn.180046990
mov r8, qword [r12 + 8]
test r8, r8
je 0x1800a1eac
movsxd rax, dword [r12 + 0x3c]
movzx edx, byte [rsp + 0xa0]
lea rcx, [rax + rax*2]
or dl, 0x10
mov byte [r8 + rcx*8 - 0x15], dl
jmp 0x1800a1eac
mov r9d, dword [rsp + 0x30]
mov r8d, r13d
mov edx, 0x4f
mov rcx, r12
mov dword [rsp + 0x20], ebx
call fcn.180042780
mov rsi, qword [r12 + 8]
mov rcx, qword [r12]
test rsi, rsi
je 0x1800a1e80
cmp byte [rcx + 0x51], 0
jne 0x1800a1e80
test eax, eax
jns 0x1800a1e43
mov eax, dword [r12 + 0x3c]
dec eax
cdqe
lea rbx, [rax + rax*2]
movsx edx, byte [rsi + rbx*8 + 1]
mov r8, qword [rsi + rbx*8 + 0x10]
call fcn.180046990
xor eax, eax
mov qword [rsi + rbx*8 + 0x10], rax
test r14, r14
jne 0x1800a1e6f
mov qword [rsi + rbx*8 + 0x10], rax
mov byte [rsi + rbx*8 + 1], al
jmp 0x1800a1e8d
mov qword [rsi + rbx*8 + 0x10], r14
mov byte [rsi + rbx*8 + 1], 0xfc
jmp 0x1800a1e8d
mov r8, r14
mov edx, 0xfffffffc
call fcn.180046990
mov rdx, qword [r12 + 8]
test rdx, rdx
je 0x1800a1eac
movsxd rax, dword [r12 + 0x3c]
lea rcx, [rax + rax*2]
movzx eax, byte [rsp + 0xa0]
mov byte [rdx + rcx*8 - 0x15], al
mov edx, dword [rsp + 0x34]
test edx, edx
je 0x1800a1ee9
movzx r8d, byte [rdi + 0x1f]
cmp r8b, 8
jae 0x1800a1ee9
xor ecx, ecx
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], edx
je 0x1800a1ee5
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x1800a1ec8
movzx eax, r8b
mov dword [rdi + rax*4 + 0x24], edx
inc byte [rdi + 0x1f]
jmp 0x1800a1ee9
mov byte [rax + 6], 1
mov rax, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
inc r15d
add rax, 0x28
cmp r15d, dword [rsi]
mov qword [rsp + 0x38], rax
jl 0x1800a1ca0
mov ebx, dword [rsp + 0xb8]
test ebp, ebp
je 0x1800a1f4d
mov r9d, ebx
mov r8d, ebp
mov edx, 0x4c
mov rcx, r12
mov dword [rsp + 0x20], 0
call fcn.180042780
mov r9d, dword [rsp + 0xb0]
xor r8d, r8d
lea edx, [r8 + 0x10]
mov rcx, r12
mov dword [rsp + 0x20], 0
call fcn.180042780
mov r8, qword [r12 + 0x30]
or eax, 0xffffffff
sub eax, dword [rsp + 0x30]
js 0x1800a1f72
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1800a1f72
movsxd rcx, eax
mov eax, dword [r12 + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [r12 + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
test ebp, ebp
je 0x1800a220e
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x1800a220e
xor ecx, ecx
lea rax, [rdi + 0x88]
nop dword [rax + rax]
cmp dword [rax + 0xc], ebp
je 0x1800a1fbf
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x1800a1fa0
movzx eax, dl
mov dword [rdi + rax*4 + 0x24], ebp
inc byte [rdi + 0x1f]
jmp 0x1800a220e
mov byte [rax + 6], 1
jmp 0x1800a220e
mov rcx, qword [rsi + 0x10]
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0x9e
je 0x1800a1fdb
cmp al, 0x9d
jne 0x1800a1fe1
mov rcx, qword [rcx + 0x10]
jmp 0x1800a1fd0
movzx eax, byte [rcx]
cmp al, 0x9f
jne 0x1800a1feb
mov al, byte [rcx + 0x36]
cmp al, 0x61
je 0x1800a20bd
cmp al, 0x83
jbe 0x1800a2034
cmp al, 0x86
jbe 0x1800a20bd
cmp al, 0x9a
jne 0x1800a2034
bt dword [rcx + 4], 0x14
jb 0x1800a2034
movzx eax, word [rcx + 0x30]
test ax, ax
js 0x1800a20bd
movsx rax, ax
lea rdx, [rax + rax*2]
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax + 8]
add rdx, rdx
cmp byte [rcx + rdx*8 + 0x28], bl
jne 0x1800a20bd
mov dword [rsp + 0x20], ebx
mov r8d, r13d
mov rcx, r12
cmp r14d, r15d
jne 0x1800a2052
mov r9d, r14d
mov edx, 0x4c
call fcn.180042780
jmp 0x1800a20bd
xor r9d, r9d
lea edx, [r9 + 0x4d]
call fcn.180042780
mov r8d, dword [rsi + 0x2c]
mov r9d, r15d
mov edx, 0x6c
mov rcx, r12
mov dword [rsp + 0x20], 0
mov ebx, eax
call fcn.180042780
xor r8d, r8d
lea edx, [r8 + 0x10]
mov r9d, r14d
mov rcx, r12
mov dword [rsp + 0x20], 0
call fcn.180042780
mov edx, dword [r12 + 0x3c]
cmp edx, ebx
jbe 0x1800a20ac
mov rax, qword [r12 + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [r12 + 0x3c]
mov rax, qword [r12 + 0x30]
dec ecx
xor ebx, ebx
mov dword [rax + 0x64], ecx
mov dword [rsp + 0x20], ebx
mov r8d, r13d
mov rcx, r12
cmp ebp, 1
jne 0x1800a20f3
lea edx, [rbp + 0x25]
mov r9d, r15d
call fcn.180042780
mov r8d, dword [rsi + 0x2c]
lea edx, [rbp + 0x45]
mov r9d, r15d
mov rcx, r12
mov dword [rsp + 0x20], r13d
call fcn.180042780
jmp 0x1800a220e
mov r9d, 1
lea edx, [r9 + 0x2f]
call fcn.180042780
mov rbp, qword [r12 + 8]
mov rcx, qword [r12]
test rbp, rbp
je 0x1800a2162
cmp byte [rcx + 0x51], 0
jne 0x1800a2162
test eax, eax
jns 0x1800a2121
mov eax, dword [r12 + 0x3c]
dec eax
cdqe
lea rbx, [rax + rax*2]
movsx edx, byte [rbp + rbx*8 + 1]
mov r8, qword [rbp + rbx*8 + 0x10]
call fcn.180046990
mov qword [rbp + rbx*8 + 0x10], 0
mov rcx, qword [r12]
lea rdx, [rsp + 0xa0]
mov r8d, 1
call fcn.180034f20
mov byte [rbp + rbx*8 + 1], 0xff
mov qword [rbp + rbx*8 + 0x10], rax
jmp 0x1800a2174
lea r8, [rsp + 0xa0]
mov edx, 1
call fcn.180046990
cmp dword [rsp + 0xa8], 0
mov r8d, dword [rsi + 0x2c]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r13d
mov rcx, r12
jne 0x1800a21a1
mov r9d, r15d
mov edx, 0x44
call fcn.18004d7b0
jmp 0x1800a220e
xor r9d, r9d
lea edx, [r9 + 0x45]
call fcn.18004d7b0
mov r8d, dword [rsp + 0xa8]
mov r9d, r14d
mov edx, 0x4c
mov rcx, r12
mov dword [rsp + 0x20], 0
mov ebx, eax
call fcn.180042780
xor r8d, r8d
lea edx, [r8 + 0x10]
mov r9d, r15d
mov rcx, r12
mov dword [rsp + 0x20], 0
call fcn.180042780
mov edx, dword [r12 + 0x3c]
cmp edx, ebx
jbe 0x1800a21ff
mov rax, qword [r12 + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [r12 + 0x3c]
mov rax, qword [r12 + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
test r13d, r13d
je 0x1800a2247
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x1800a2247
xor ecx, ecx
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], r13d
je 0x1800a2243
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x1800a2225
movzx eax, dl
mov dword [rdi + rax*4 + 0x24], r13d
inc byte [rdi + 0x1f]
jmp 0x1800a2247
mov byte [rax + 6], 1
dec dword [rdi + 0x70]
lea rcx, [rdi + 0x94]
mov r8d, 0xa
mov edx, dword [rcx]
test edx, edx
je 0x1800a2287
mov eax, dword [rdi + 0x70]
cmp dword [rcx - 4], eax
jle 0x1800a2287
cmp byte [rcx - 6], 0
je 0x1800a2281
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1800a227d
movzx eax, al
mov dword [rdi + rax*4 + 0x24], edx
inc byte [rdi + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], 0
add rcx, 0x14
sub r8, 1
jne 0x1800a2257
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret