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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov rdi, qword [rsp + 0xd0]
xor esi, esi
mov r12, qword [rsp + 0xc8]
mov r10, r8
mov r14, qword [rcx + 0x10]
mov rbx, rcx
mov dword [rsp + 0x34], esi
movzx r8d, byte [rdi]
mov eax, dword [rdi + 4]
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], eax
test r12, r12
je 0x180065371
movzx eax, byte [r12 + 1]
jmp 0x180065373
mov eax, esi
mov r13, qword [rsp + 0xc0]
mov dword [rsp + 0x3c], eax
test r13, r13
je 0x180065395
cmp qword [r13], rsi
jne 0x1800653c1
mov r13, rsi
mov qword [rsp + 0xc0], rsi
test eax, eax
jne 0x1800653c1
mov r8d, dword [rsp + 0xd8]
mov rcx, r14
mov edx, dword [rdx + 0x10]
call fcn.1800651a0
mov r9d, dword [rsp + 0xb8]
mov r8d, dword [rsp + 0x38]
mov r10, qword [rsp + 0xb0]
movsxd r15, dword [r10]
mov eax, dword [rdi + 8]
mov dword [rsp + 0x44], r15d
test eax, eax
jne 0x1800653fb
test r13, r13
je 0x1800653ed
mov rax, qword [r13]
test byte [r13 + 0x1c], 1
mov ecx, dword [rax]
lea edx, [rcx + 1]
cmovne edx, ecx
add dword [rbx + 0x54], edx
mov dword [rsp + 0x34], edx
mov eax, dword [rbx + 0x54]
inc eax
mov dword [rdi + 8], eax
add dword [rbx + 0x54], r15d
jmp 0x18006540c
mov ecx, dword [rbx + 0x54]
add eax, r15d
cmp eax, ecx
jle 0x18006540c
lea eax, [rcx + r15]
mov dword [rbx + 0x54], eax
mov ebp, dword [rdi + 8]
mov dword [rdi + 0xc], r15d
test r9d, r9d
js 0x18006547f
mov edi, esi
test r15d, r15d
jle 0x18006549d
nop
mov rax, qword [r14 + 0x30]
movsxd r12, dword [r14 + 0x3c]
cmp dword [rax + 0x60], r12d
jg 0x180065442
mov rcx, r14
call fcn.180026b70
mov r9d, dword [rsp + 0xb8]
test eax, eax
jne 0x18006546e
mov rax, qword [r14 + 8]
lea rcx, [r12 + r12*2]
inc dword [r14 + 0x3c]
mov word [rax + rcx*8], 0x2f
mov byte [rax + rcx*8 + 3], sil
lea rdx, [rax + rcx*8]
lea eax, [rdi + rbp]
mov dword [rdx + 4], r9d
mov dword [rdx + 0xc], eax
mov dword [rdx + 8], edi
mov qword [rdx + 0x10], rsi
inc edi
cmp edi, r15d
jl 0x180065420
mov r12, qword [rsp + 0xc8]
jmp 0x18006549d
cmp r8b, 3
je 0x18006549d
lea eax, [r8 - 9]
mov rdx, r10
test al, 0xfb
mov r8d, ebp
mov rcx, rbx
sete r9b
call fcn.1800400f0
cmp dword [rsp + 0x3c], esi
je 0x18006575d
movzx ecx, byte [r12 + 1]
sub ecx, 1
je 0x1800656a7
cmp ecx, 1
je 0x1800654dc
mov r8d, dword [rsp + 0xd8]
mov r9d, r15d
mov edx, dword [r12 + 4]
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call fcn.180065220
jmp 0x1800656ed
mov eax, dword [rbx + 0x54]
lea r8d, [rax + 1]
add eax, r15d
mov dword [rbx + 0x54], eax
movsxd rax, dword [r12 + 8]
mov ecx, dword [r14 + 0x3c]
mov dword [rsp + 0xb8], r8d
mov dword [rsp + 0xc8], eax
cmp eax, ecx
jge 0x18006554f
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
movsx edx, byte [rax + rcx*8 + 1]
lea rdi, [rax + rcx*8]
mov r8, qword [rdi + 0x10]
mov rcx, qword [r14]
call fcn.180026f40
mov r8d, dword [rsp + 0xb8]
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov byte [rdi], 0x9a
mov ecx, dword [r14 + 0x3c]
lea eax, [rcx - 1]
cmp dword [rsp + 0xc8], eax
jne 0x18006554f
mov dword [r14 + 0x3c], eax
mov ecx, eax
mov rax, qword [r14]
mov edx, dword [r12 + 8]
cmp byte [rax + 0x50], sil
je 0x180065566
lea rax, [0x180132348]
jmp 0x18006557c
lea eax, [rcx - 1]
test edx, edx
cmovns eax, edx
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
lea rax, [rax + rcx*8]
mov byte [rax], 0x1c
mov r12d, esi
mov dword [rax + 4], 1
mov dword [rax + 8], r8d
mov edi, dword [r14 + 0x3c]
mov qword [rsp + 0x48], r15
lea eax, [rdi + r15]
mov dword [rsp + 0x40], eax
test r15d, r15d
jle 0x180065659
lea eax, [r15 - 1]
mov r13, rsi
mov dword [rsp + 0x3c], eax
mov eax, r8d
sub eax, ebp
mov r15d, eax
nop word [rax + rax]
mov rax, qword [rsp + 0xb0]
mov rcx, rbx
mov rdx, qword [rax + 8]
mov rdx, qword [rdx + r13]
call fcn.18003a990
cmp r12d, dword [rsp + 0x3c]
lea r8d, [r12 + rbp]
mov r9d, dword [rsp + 0xd8]
lea ecx, [r15 + r8]
cmovl r9d, dword [rsp + 0x40]
mov edx, esi
setge dl
mov dword [rsp + 0x20], ecx
add edx, 0x4e
mov rcx, r14
mov rdi, rax
call fcn.180026c20
mov r9d, 0xfffffffc
mov r8, rdi
mov rcx, r14
lea edx, [r9 + 3]
call fcn.180027200
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x180065635
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x80
inc r12d
add r13, 0x28
sub qword [rsp + 0x48], 1
jne 0x1800655c0
mov edi, dword [r14 + 0x3c]
mov r15d, dword [rsp + 0x44]
mov r13, qword [rsp + 0xc0]
mov rax, qword [r14 + 0x30]
cmp dword [rax + 0x60], edi
jg 0x18006566e
mov rcx, r14
call fcn.180026b70
test eax, eax
jne 0x1800656ed
inc dword [r14 + 0x3c]
movsxd rax, edi
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov word [rax + rcx*8], 0x21
mov byte [rax + rcx*8 + 3], sil
mov dword [rax + rcx*8 + 4], ebp
lea rdx, [rax + rcx*8]
mov eax, dword [rsp + 0xb8]
mov qword [rdx + 0x10], rsi
mov dword [rdx + 8], eax
lea eax, [r15 - 1]
mov dword [rdx + 0xc], eax
jmp 0x1800656ed
movsxd r12, dword [r12 + 8]
cmp r12d, dword [r14 + 0x3c]
jge 0x1800656ed
mov rax, qword [r14 + 8]
lea rcx, [r12 + r12*2]
movsx edx, byte [rax + rcx*8 + 1]
lea rdi, [rax + rcx*8]
mov r8, qword [rdi + 0x10]
mov rcx, qword [r14]
call fcn.180026f40
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov byte [rdi], 0x9a
mov eax, dword [r14 + 0x3c]
dec eax
cmp r12d, eax
jne 0x1800656ed
mov dword [r14 + 0x3c], eax
mov r12, qword [rsp + 0xa8]
test r13, r13
jne 0x180065765
mov r8d, dword [r12 + 0x10]
test r8d, r8d
jle 0x180065765
xor r9d, r9d
mov dword [rsp + 0x20], 0xffffffff
mov edx, 0x8a
mov rcx, r14
call fcn.180026c20
mov r9d, dword [rsp + 0xd8]
lea edx, [r13 + 0x10]
xor r8d, r8d
mov edi, eax
mov rcx, r14
mov dword [rsp + 0x20], esi
call fcn.180026c20
mov edx, dword [r14 + 0x3c]
cmp edx, edi
jbe 0x180065751
mov rax, qword [r14 + 8]
lea rcx, [rdi + rdi*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
jmp 0x180065765
mov r12, qword [rsp + 0xa8]
mov r8d, dword [rsp + 0x38]
lea eax, [r8 - 1]
cmp eax, 0xd
ja case.0x18006578a.4
lea rdx, [0x180000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x65e1c]
add rcx, rdx
jmp rcx
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x18006579c
inc dword [rbx + 0x54]
mov edi, dword [rbx + 0x54]
jmp 0x1800657a8
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov edi, dword [rbx + rax*4 + 0x24]
mov r9d, r15d
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov edx, 0x31
mov rcx, r14
call fcn.180026c20
mov r8d, dword [rsp + 0x30]
mov r9d, edi
mov edx, 0x6e
mov dword [rsp + 0x20], esi
mov rcx, r14
call fcn.180026c20
test edi, edi
je case.0x18006578a.4
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae case.0x18006578a.4
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], edi
je 0x180065810
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x1800657f4
mov dword [rbx + rcx*4 + 0x24], edi
inc byte [rbx + 0x1f]
jmp case.0x18006578a.4
mov byte [rax + 6], 1
jmp case.0x18006578a.4
mov r8d, dword [rsp + 0x30]
mov r9d, ebp
mov edx, 0x6f
mov dword [rsp + 0x20], r15d
mov rcx, r14
call fcn.180026c20
jmp case.0x18006578a.4
mov edx, dword [rsp + 0x34]
mov ecx, dword [rbx + 0x44]
mov r12d, dword [rbx + 0x48]
lea r13d, [rdx + 1]
cmp r13d, ecx
jg 0x18006585b
lea eax, [r12 + r13]
sub ecx, r13d
mov dword [rbx + 0x48], eax
mov dword [rbx + 0x44], ecx
jmp 0x180065868
mov eax, dword [rbx + 0x54]
lea r12d, [rax + 1]
add eax, r13d
mov dword [rbx + 0x54], eax
lea edi, [r12 + rdx]
mov r9d, r15d
mov edx, 0x31
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov rcx, r14
call fcn.180026c20
cmp byte [rsp + 0x38], 6
mov ebp, dword [rsp + 0x30]
jne 0x1800658d7
mov r9d, dword [r14 + 0x3c]
lea r8d, [rbp + 1]
add r9d, 4
mov dword [rsp + 0x20], r12d
mov edx, 0x45
mov rcx, r14
call fcn.180026c20
mov r9d, 0xfffffff2
xor r8d, r8d
mov edx, eax
mov rcx, r14
call fcn.180027200
mov r9d, r12d
mov dword [rsp + 0x20], esi
lea r8d, [rbp + 1]
mov edx, 0x6e
mov rcx, r14
call fcn.180026c20
mov r15, qword [rsp + 0xc0]
test r15, r15
je 0x180065912
mov eax, dword [rsp + 0x34]
mov r9d, edi
mov rbp, qword [rsp + 0xa8]
mov rdx, r15
mov dword [rsp + 0x28], eax
mov r8, rbp
mov rcx, rbx
mov dword [rsp + 0x20], 1
call fcn.180064d30
jmp 0x1800659ab
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x180065922
inc dword [rbx + 0x54]
mov edi, dword [rbx + 0x54]
jmp 0x18006592e
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov edi, dword [rbx + rax*4 + 0x24]
mov r9d, edi
mov dword [rsp + 0x20], esi
mov r8d, ebp
mov edx, 0x4a
mov rcx, r14
call fcn.180026c20
mov r9d, r12d
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov edx, 0x4b
mov rcx, r14
call fcn.180026c20
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x180065972
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
test edi, edi
je 0x1800659a3
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae 0x1800659a3
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], edi
je 0x18006599f
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x180065986
mov dword [rbx + rcx*4 + 0x24], edi
inc byte [rbx + 0x1f]
jmp 0x1800659a3
mov byte [rax + 6], 1
mov rbp, qword [rsp + 0xa8]
mov r8d, r13d
mov edx, r12d
mov rcx, rbx
call fcn.18003e400
cmp r13d, dword [rbx + 0x44]
jle 0x180065e0c
mov dword [rbx + 0x44], r13d
mov dword [rbx + 0x48], r12d
jmp 0x180065e0c
mov rax, qword [rsp + 0xb0]
mov r15, qword [rsp + 0xd0]
mov rax, qword [rax + 8]
movzx edi, byte [r15 + 1]
mov rcx, qword [rax]
call fcn.18003a8f0
test al, al
je 0x180065a0c
test dil, dil
je 0x180065a15
cmp al, 0x43
jge 0x180065a08
cmp dil, 0x43
jge 0x180065a08
mov al, 0x41
jmp 0x180065a18
mov al, 0x43
jmp 0x180065a18
test dil, dil
jne 0x180065a15
mov al, 0x41
jmp 0x180065a18
add al, dil
mov byte [r15 + 1], al
test r13, r13
je 0x180065a47
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
mov r9d, ebp
mov r8, r12
mov rdx, r13
mov rcx, rbx
call fcn.180064d30
jmp case.0x18006578a.4
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x180065a57
inc dword [rbx + 0x54]
mov edi, dword [rbx + 0x54]
jmp 0x180065a63
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov edi, dword [rbx + rax*4 + 0x24]
mov r9d, 1
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov rcx, r14
lea edx, [r9 + 0x30]
call fcn.180026c20
mov r9d, 1
lea r8, [r15 + 1]
mov edx, eax
mov rcx, r14
call fcn.180027200
mov r8d, 1
mov edx, ebp
mov rcx, rbx
call fcn.18003e400
mov r8d, dword [rsp + 0x30]
mov r9d, edi
mov edx, 0x6e
mov dword [rsp + 0x20], esi
mov rcx, r14
call fcn.180026c20
test edi, edi
je 0x180065ae7
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae 0x180065ae7
lea rax, [rbx + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], edi
je 0x180065b26
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x180065ad0
mov dword [rbx + rcx*4 + 0x24], edi
inc byte [rbx + 0x1f]
mov rbp, qword [rsp + 0xa8]
mov r8d, dword [rbp + 0xc]
test r8d, r8d
je 0x180065b15
mov r9d, dword [rsp + 0xe0]
mov edx, 0x8b
mov rcx, r14
mov dword [rsp + 0x20], 0xffffffff
call fcn.180026c20
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov byte [rax + 6], 1
jmp 0x180065ae7
mov r9d, dword [rsp + 0x30]
mov edx, 0x19
mov rcx, r14
mov dword [rsp + 0x20], esi
lea r8d, [rdx - 0x18]
call fcn.180026c20
jmp case.0x18006578a.4
test r13, r13
je 0x180065ae7
jmp 0x180065a21
test r13, r13
je 0x180065b6c
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r15d
jmp 0x180065a31
mov dword [rsp + 0x20], esi
mov rcx, r14
cmp r8b, 0xd
jne 0x180065b96
mov rax, qword [rsp + 0xd0]
xor r9d, r9d
mov r8d, dword [rax + 4]
lea edx, [r9 + 0x16]
call fcn.180026c20
jmp 0x180065ae7
mov r9d, r15d
mov r8d, ebp
mov edx, 0x23
call fcn.180026c20
mov r8d, r15d
mov edx, ebp
mov rcx, rbx
call fcn.18003e400
jmp 0x180065ae7
mov rax, qword [rsp + 0xd0]
mov dword [rsp + 0xc8], esi
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x48], rax
mov r13d, dword [rax]
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x180065be4
inc dword [rbx + 0x54]
mov r12d, dword [rbx + 0x54]
jmp 0x180065bf1
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r12d, dword [rbx + rax*4 + 0x24]
mov edx, dword [rbx + 0x44]
lea edi, [r13 + 2]
mov ecx, dword [rbx + 0x48]
mov dword [rsp + 0x44], edi
mov dword [rsp + 0xb8], ecx
cmp edi, edx
jg 0x180065c17
lea eax, [rcx + rdi]
sub edx, edi
mov dword [rbx + 0x48], eax
mov dword [rbx + 0x44], edx
jmp 0x180065c29
mov eax, dword [rbx + 0x54]
lea ecx, [rax + 1]
add eax, edi
mov dword [rbx + 0x54], eax
mov dword [rsp + 0xb8], ecx
lea eax, [rcx + r13]
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x40], eax
inc eax
mov dword [rsp + 0xb0], eax
cmp r8b, 8
jne 0x180065c7c
xor r9d, r9d
mov dword [rsp + 0x20], ebp
lea r8d, [rcx + 1]
mov rcx, r14
lea edx, [r9 + 0x45]
call fcn.180026c20
movsxd r8, r15d
mov r9d, 0xfffffff2
mov edx, eax
mov dword [rsp + 0xc8], eax
mov rcx, r14
call fcn.180027200
mov eax, dword [rsp + 0xb0]
mov r9d, r15d
mov dword [rsp + 0x20], eax
mov r8d, ebp
mov edx, 0x31
mov rcx, r14
call fcn.180026c20
cmp byte [rsp + 0x38], 8
jne 0x180065cd1
mov r8d, dword [rsp + 0x30]
mov edx, 0x6e
mov r9d, dword [rsp + 0xb0]
inc r8d
mov rcx, r14
mov dword [rsp + 0x20], esi
call fcn.180026c20
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x180065cd1
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x10
movsxd r13, r13d
test r13, r13
jle 0x180065d2d
mov r15d, dword [rsp + 0xb8]
mov rdi, rsi
mov rbx, qword [rsp + 0x48]
nop dword [rax]
mov rax, qword [rbx + 8]
lea r8d, [rbp - 1]
mov r9d, r15d
mov dword [rsp + 0x20], esi
mov edx, 0x22
movzx ecx, word [rdi + rax + 0x20]
add r8d, ecx
mov rcx, r14
call fcn.180026c20
inc r15d
lea rdi, [rdi + 0x28]
sub r13, 1
jne 0x180065cf0
mov rbx, qword [rsp + 0xa0]
mov edi, dword [rsp + 0x44]
mov r9d, dword [rsp + 0x40]
mov edx, 0x49
mov r8d, dword [rsp + 0x30]
mov rcx, r14
mov dword [rsp + 0x20], esi
call fcn.180026c20
mov r15d, dword [rsp + 0xb8]
mov r9d, edi
mov r8d, r15d
mov dword [rsp + 0x20], r12d
mov edx, 0x31
mov rcx, r14
call fcn.180026c20
mov r8d, dword [rsp + 0x30]
mov r9d, r12d
mov edx, 0x6e
mov dword [rsp + 0x20], esi
mov rcx, r14
call fcn.180026c20
mov eax, dword [rsp + 0xc8]
test eax, eax
je 0x180065dae
mov edx, dword [r14 + 0x3c]
cmp edx, eax
jbe 0x180065da4
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
test r12d, r12d
je 0x180065de2
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae 0x180065de2
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], r12d
je 0x180065dde
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x180065dc3
mov dword [rbx + rcx*4 + 0x24], r12d
inc byte [rbx + 0x1f]
jmp 0x180065de2
mov byte [rax + 6], 1
mov r8d, edi
mov edx, r15d
mov rcx, rbx
call fcn.18003e400
cmp edi, dword [rbx + 0x44]
jle case.0x18006578a.4
mov dword [rbx + 0x44], edi
mov dword [rbx + 0x48], r15d
mov r15, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xa8]
test r15, r15
jne 0x180065b15
jmp 0x180065aef