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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push r13
push r14
sub rsp, 0x78
mov r14, qword [rcx + 0x10]
mov qword [rax - 0x18], rbx
mov qword [rax - 0x20], rbp
mov rbp, qword [rdx + 0x30]
mov qword [rax - 0x28], rsi
mov qword [rax - 0x30], rdi
xor edi, edi
mov qword [rax - 0x38], r12
mov rbx, rcx
mov qword [rsp + 0x38], rbp
mov byte [rdx], 1
lea r10d, [rdi + 0xa]
mov r12, rdx
mov esi, edi
mov dword [rsp + 0x90], edi
mov r13d, edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0xa8], edi
cmp dword [rdx + 0x38], edi
jle 0x1800880aa
mov qword [rax - 0x40], r15
nop word [rax + rax]
mov rax, qword [rbp]
mov dword [rsp + 0xa0], edi
mov r12, qword [rax + 0x20]
test r12, r12
je 0x180087c89
mov r15d, dword [r12]
mov ecx, dword [rbx + 0x48]
mov r13d, dword [rbx + 0x4c]
cmp r15d, ecx
jg 0x180087c64
lea eax, [r13 + r15]
sub ecx, r15d
mov dword [rbx + 0x4c], eax
mov dword [rbx + 0x48], ecx
jmp 0x180087c71
mov eax, dword [rbx + 0x58]
lea r13d, [rax + 1]
add eax, r15d
mov dword [rbx + 0x58], eax
xor r9d, r9d
mov r8d, r13d
mov rdx, r12
mov rcx, rbx
mov byte [rsp + 0x20], 1
call fcn.180057060
jmp 0x180087c8f
mov r15d, edi
mov r13d, edi
cmp dword [rbp + 0x14], 0
jl 0x180087d12
mov rsi, qword [r14 + 0x30]
movsxd rdi, dword [rsi + 0x80]
lea eax, [rdi + 1]
mov dword [rsi + 0x80], eax
lea eax, [rdi - 1]
test edi, eax
jne 0x180087cd1
mov rdx, qword [rsi + 0x88]
mov rcx, qword [rsi]
lea eax, [rdi + rdi + 1]
movsxd r8, eax
shl r8, 2
call fcn.180017710
mov qword [rsi + 0x88], rax
mov rcx, qword [rsi + 0x88]
test rcx, rcx
je 0x180087ce4
mov dword [rcx + rdi*4], 0xffffffff
mov edx, dword [rbp + 0x14]
or esi, 0xffffffff
mov r9d, 1
sub esi, edi
mov rcx, rbx
mov dword [rsp + 0x20], r13d
mov r8d, esi
mov dword [rsp + 0xa0], esi
call fcn.18007e8d0
mov esi, dword [rsp + 0x90]
xor edi, edi
mov rax, qword [rbp + 8]
test byte [rax + 2], 0x20
je 0x180087e36
mov rsi, qword [r12 + 8]
mov rbp, rdi
cmp edi, r15d
jge 0x180087d48
mov rdx, qword [rsi]
mov rcx, rbx
call fcn.180050de0
inc edi
add rsi, 0x28
mov rbp, rax
test rax, rax
je 0x180087d28
jmp 0x180087d54
test rbp, rbp
jne 0x180087d54
mov rax, qword [rbx]
mov rbp, qword [rax + 0x10]
mov esi, dword [rsp + 0x90]
test esi, esi
jne 0x180087d79
mov rax, qword [rsp + 0x98]
cmp dword [rax + 0x2c], esi
je 0x180087d79
inc dword [rbx + 0x58]
mov esi, dword [rbx + 0x58]
mov dword [rsp + 0x90], esi
mov rax, qword [r14 + 0x30]
movsxd rdx, dword [r14 + 0x3c]
xor r12d, r12d
cmp dword [rax + 0x64], edx
jg 0x180087da5
lea edx, [r12 + 0x22]
xor r9d, r9d
mov r8d, esi
mov rcx, r14
mov dword [rsp + 0x20], r12d
call fcn.18003a660
mov edx, eax
jmp 0x180087dcd
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [r14 + 0x3c], eax
mov rax, qword [r14 + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
mov qword [rax + rcx*8 + 8], r12
mov qword [rax + rcx*8 + 0x10], r12
mov word [rax + rcx*8], 0x22
mov rcx, qword [r14]
cmp byte [rcx + 0x55], 0
je 0x180087dea
mov r8, rbp
mov edx, 0xfffffffc
call fcn.18003b100
mov rbp, qword [rsp + 0x38]
jmp 0x180087e39
test edx, edx
jns 0x180087df4
mov edx, dword [r14 + 0x3c]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x180087e22
mov r9d, 0xfffffffc
mov r8, rbp
mov rcx, r14
call fcn.18003b3c0
mov rbp, qword [rsp + 0x38]
jmp 0x180087e39
test rbp, rbp
je 0x180087de3
mov qword [rdx + 0x10], rbp
mov rbp, qword [rsp + 0x38]
mov byte [rdx + 1], 0xfc
jmp 0x180087e39
xor r12d, r12d
mov rax, qword [r14 + 0x30]
movsxd rdx, dword [r14 + 0x3c]
mov rdi, qword [rbp + 8]
mov r8d, dword [rbp + 0x10]
cmp dword [rax + 0x64], edx
jg 0x180087e6a
mov dword [rsp + 0x20], r8d
mov r9d, r13d
mov edx, 0x8f
xor r8d, r8d
mov rcx, r14
call fcn.18003a660
mov edx, eax
jmp 0x180087e98
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [r14 + 0x3c], eax
mov rax, qword [r14 + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r12
mov word [rax + rcx*8], 0x8f
mov rcx, qword [r14]
cmp byte [rcx + 0x55], 0
je 0x180087eb0
mov r8, rdi
mov edx, 0xfffffffb
call fcn.18003b100
jmp 0x180087ef0
test edx, edx
jns 0x180087eba
mov edx, dword [r14 + 0x3c]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x180087ee3
mov r9d, 0xfffffffb
mov r8, rdi
mov rcx, r14
call fcn.18003b3c0
jmp 0x180087ef0
test rdi, rdi
je 0x180087ef0
mov qword [rdx + 0x10], rdi
mov byte [rdx + 1], 0xfb
mov rax, qword [r14]
cmp byte [rax + 0x55], 0
jne 0x180087f0a
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov byte [rax + rcx*8 - 0x15], r15b
mov r10d, 0xa
lea r9d, [r13 + r15 - 1]
lea rcx, [rbx + 0x9c]
mov r8d, r10d
nop
mov edx, dword [rcx]
cmp edx, r13d
jl 0x180087f4e
cmp edx, r9d
jg 0x180087f4e
cmp byte [rcx - 6], 0
je 0x180087f48
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x180087f44
movzx eax, al
mov dword [rbx + rax*4 + 0x28], edx
inc byte [rbx + 0x1f]
mov byte [rcx - 6], 0
xor edi, edi
mov dword [rcx], edi
jmp 0x180087f50
xor edi, edi
add rcx, 0x14
dec r8
jne 0x180087f20
lea rcx, [rbx + 0x9c]
mov r8, r10
mov edx, dword [rcx]
cmp edx, r13d
jl 0x180087f8d
cmp edx, r9d
jg 0x180087f8d
cmp byte [rcx - 6], 0
je 0x180087f8b
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x180087f87
movzx eax, al
mov dword [rbx + rax*4 + 0x28], edx
inc byte [rbx + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], edi
add rcx, 0x14
dec r8
jne 0x180087f63
cmp r15d, dword [rbx + 0x48]
jle 0x180087fa4
mov dword [rbx + 0x48], r15d
mov dword [rbx + 0x4c], r13d
movsxd rax, dword [rsp + 0xa0]
test eax, eax
je 0x180088011
mov rdx, qword [r14 + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x180087fd1
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [r14 + 0x3c]
mov dword [rcx], eax
mov eax, dword [r14 + 0x3c]
lea rcx, [rbx + 0x9c]
mov r8, r10
dec eax
mov dword [rdx + 0x6c], eax
mov edx, dword [rcx]
test edx, edx
je 0x180088008
cmp byte [rcx - 6], 0
je 0x180088006
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x180088002
movzx eax, al
mov dword [rbx + rax*4 + 0x28], edx
inc byte [rbx + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], edi
add rcx, 0x14
dec r8
jne 0x180087fe4
mov ecx, dword [rsp + 0xa8]
mov r12, qword [rsp + 0x98]
add rbp, 0x18
inc ecx
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0xa8], ecx
cmp ecx, dword [r12 + 0x38]
jl 0x180087c30
mov r15, qword [rsp + 0x48]
test esi, esi
je 0x1800880a5
mov rax, qword [r14 + 0x30]
movsxd r13, dword [r14 + 0x3c]
cmp dword [rax + 0x64], r13d
jg 0x180088075
xor r9d, r9d
mov r8d, esi
mov rcx, r14
lea edx, [r9 + 0x2d]
mov dword [rsp + 0x20], edi
call fcn.18003a660
mov r10d, 0xa
mov r13d, eax
jmp 0x1800880aa
lea rcx, [r13 + r13*2]
lea eax, [r13 + 1]
mov dword [r14 + 0x3c], eax
mov rax, qword [r14 + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rdi
mov word [rax + rcx*8], 0x2d
jmp 0x1800880aa
mov r13d, dword [rsp + 0x30]
mov rbp, qword [rsp + 0x68]
lea rcx, [rbx + 0x9c]
mov r8, r10
nop dword [rax]
mov edx, dword [rcx]
test edx, edx
je 0x1800880e4
cmp byte [rcx - 6], 0
je 0x1800880e2
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1800880de
movzx eax, al
mov dword [rbx + rax*4 + 0x28], edx
inc byte [rbx + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], edi
add rcx, 0x14
dec r8
jne 0x1800880c0
mov esi, edi
mov rdi, qword [r12 + 0x20]
cmp dword [r12 + 0x2c], r8d
jle 0x180088122
add rdi, 0x18
nop
mov r8d, dword [rdi - 4]
mov rdx, qword [rdi]
mov rcx, rbx
call fcn.180056ec0
inc esi
add rdi, 0x20
cmp esi, dword [r12 + 0x2c]
jl 0x180088100
mov r10d, 0xa
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov byte [r12], 0
xor r12d, r12d
lea rcx, [rbx + 0x9c]
nop dword [rax + rax]
mov edx, dword [rcx]
test edx, edx
je 0x180088165
cmp byte [rcx - 6], r12b
je 0x180088162
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x18008815e
movzx eax, al
mov dword [rbx + rax*4 + 0x28], edx
inc byte [rbx + 0x1f]
mov byte [rcx - 6], r12b
mov dword [rcx], r12d
add rcx, 0x14
dec r10
jne 0x180088140
mov r12, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x70]
test r13d, r13d
je 0x1800881c5
mov ecx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov edx, dword [r14 + 0x3c]
test r13d, r13d
jns 0x180088197
lea r13d, [rdx - 1]
mov rax, qword [r14]
cmp byte [rax + 0x55], 0
je 0x1800881b3
lea rax, [0x1802f0540]
mov dword [rax + 8], edx
add rsp, 0x78
pop r14
pop r13
ret
movsxd rax, r13d
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
add rsp, 0x78
pop r14
pop r13
ret