Function at 0x180065220
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 0x180065281
movzx eax, byte [r12 + 1]
jmp 0x180065283
mov eax, esi
mov r13, qword [rsp + 0xc0]
mov dword [rsp + 0x3c], eax
test r13, r13
je 0x1800652a5
cmp qword [r13], rsi
jne 0x1800652d1
mov r13, rsi
mov qword [rsp + 0xc0], rsi
test eax, eax
jne 0x1800652d1
mov r8d, dword [rsp + 0xd8]
mov rcx, r14
mov edx, dword [rdx + 0x10]
call fcn.1800650b0
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 0x18006530b
test r13, r13
je 0x1800652fd
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 0x18006531c
mov ecx, dword [rbx + 0x54]
add eax, r15d
cmp eax, ecx
jle 0x18006531c
lea eax, [rcx + r15]
mov dword [rbx + 0x54], eax
mov ebp, dword [rdi + 8]
mov dword [rdi + 0xc], r15d
test r9d, r9d
js 0x18006538f
mov edi, esi
test r15d, r15d
jle 0x1800653ad
nop
mov rax, qword [r14 + 0x30]
movsxd r12, dword [r14 + 0x3c]
cmp dword [rax + 0x60], r12d
jg 0x180065352
mov rcx, r14
call fcn.180026a80
mov r9d, dword [rsp + 0xb8]
test eax, eax
jne 0x18006537e
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 0x180065330
mov r12, qword [rsp + 0xc8]
jmp 0x1800653ad
cmp r8b, 3
je 0x1800653ad
lea eax, [r8 - 9]
mov rdx, r10
test al, 0xfb
mov r8d, ebp
mov rcx, rbx
sete r9b
call fcn.180040000
cmp dword [rsp + 0x3c], esi
je 0x18006566d
movzx ecx, byte [r12 + 1]
sub ecx, 1
je 0x1800655b7
cmp ecx, 1
je 0x1800653ec
mov r8d, dword [rsp + 0xd8]
mov r9d, r15d
mov edx, dword [r12 + 4]
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call fcn.180065130
jmp 0x1800655fd
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 0x18006545f
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.180026e50
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 0x18006545f
mov dword [r14 + 0x3c], eax
mov ecx, eax
mov rax, qword [r14]
mov edx, dword [r12 + 8]
cmp byte [rax + 0x50], sil
je 0x180065476
lea rax, [0x1801322a8]
jmp 0x18006548c
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 0x180065569
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.18003a8a0
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.180026b30
mov r9d, 0xfffffffc
mov r8, rdi
mov rcx, r14
lea edx, [r9 + 3]
call fcn.180027110
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x180065545
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 0x1800654d0
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 0x18006557e
mov rcx, r14
call fcn.180026a80
test eax, eax
jne 0x1800655fd
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 0x1800655fd
movsxd r12, dword [r12 + 8]
cmp r12d, dword [r14 + 0x3c]
jge 0x1800655fd
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.180026e50
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 0x1800655fd
mov dword [r14 + 0x3c], eax
mov r12, qword [rsp + 0xa8]
test r13, r13
jne 0x180065675
mov r8d, dword [r12 + 0x10]
test r8d, r8d
jle 0x180065675
xor r9d, r9d
mov dword [rsp + 0x20], 0xffffffff
mov edx, 0x8a
mov rcx, r14
call fcn.180026b30
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.180026b30
mov edx, dword [r14 + 0x3c]
cmp edx, edi
jbe 0x180065661
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 0x180065675
mov r12, qword [rsp + 0xa8]
mov r8d, dword [rsp + 0x38]
lea eax, [r8 - 1]
cmp eax, 0xd
ja case.0x18006569a.4
lea rdx, [0x180000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x65d2c]
add rcx, rdx
jmp rcx
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x1800656ac
inc dword [rbx + 0x54]
mov edi, dword [rbx + 0x54]
jmp 0x1800656b8
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.180026b30
mov r8d, dword [rsp + 0x30]
mov r9d, edi
mov edx, 0x6e
mov dword [rsp + 0x20], esi
mov rcx, r14
call fcn.180026b30
test edi, edi
je case.0x18006569a.4
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae case.0x18006569a.4
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], edi
je 0x180065720
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x180065704
mov dword [rbx + rcx*4 + 0x24], edi
inc byte [rbx + 0x1f]
jmp case.0x18006569a.4
mov byte [rax + 6], 1
jmp case.0x18006569a.4
mov r8d, dword [rsp + 0x30]
mov r9d, ebp
mov edx, 0x6f
mov dword [rsp + 0x20], r15d
mov rcx, r14
call fcn.180026b30
jmp case.0x18006569a.4
mov edx, dword [rsp + 0x34]
mov ecx, dword [rbx + 0x44]
mov r12d, dword [rbx + 0x48]
lea r13d, [rdx + 1]
cmp r13d, ecx
jg 0x18006576b
lea eax, [r12 + r13]
sub ecx, r13d
mov dword [rbx + 0x48], eax
mov dword [rbx + 0x44], ecx
jmp 0x180065778
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.180026b30
cmp byte [rsp + 0x38], 6
mov ebp, dword [rsp + 0x30]
jne 0x1800657e7
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.180026b30
mov r9d, 0xfffffff2
xor r8d, r8d
mov edx, eax
mov rcx, r14
call fcn.180027110
mov r9d, r12d
mov dword [rsp + 0x20], esi
lea r8d, [rbp + 1]
mov edx, 0x6e
mov rcx, r14
call fcn.180026b30
mov r15, qword [rsp + 0xc0]
test r15, r15
je 0x180065822
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.180064c40
jmp 0x1800658bb
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x180065832
inc dword [rbx + 0x54]
mov edi, dword [rbx + 0x54]
jmp 0x18006583e
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.180026b30
mov r9d, r12d
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov edx, 0x4b
mov rcx, r14
call fcn.180026b30
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x180065882
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
test edi, edi
je 0x1800658b3
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae 0x1800658b3
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], edi
je 0x1800658af
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x180065896
mov dword [rbx + rcx*4 + 0x24], edi
inc byte [rbx + 0x1f]
jmp 0x1800658b3
mov byte [rax + 6], 1
mov rbp, qword [rsp + 0xa8]
mov r8d, r13d
mov edx, r12d
mov rcx, rbx
call fcn.18003e310
cmp r13d, dword [rbx + 0x44]
jle 0x180065d1c
mov dword [rbx + 0x44], r13d
mov dword [rbx + 0x48], r12d
jmp 0x180065d1c
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.18003a800
test al, al
je 0x18006591c
test dil, dil
je 0x180065925
cmp al, 0x43
jge 0x180065918
cmp dil, 0x43
jge 0x180065918
mov al, 0x41
jmp 0x180065928
mov al, 0x43
jmp 0x180065928
test dil, dil
jne 0x180065925
mov al, 0x41
jmp 0x180065928
add al, dil
mov byte [r15 + 1], al
test r13, r13
je 0x180065957
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.180064c40
jmp case.0x18006569a.4
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x180065967
inc dword [rbx + 0x54]
mov edi, dword [rbx + 0x54]
jmp 0x180065973
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.180026b30
mov r9d, 1
lea r8, [r15 + 1]
mov edx, eax
mov rcx, r14
call fcn.180027110
mov r8d, 1
mov edx, ebp
mov rcx, rbx
call fcn.18003e310
mov r8d, dword [rsp + 0x30]
mov r9d, edi
mov edx, 0x6e
mov dword [rsp + 0x20], esi
mov rcx, r14
call fcn.180026b30
test edi, edi
je 0x1800659f7
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae 0x1800659f7
lea rax, [rbx + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], edi
je 0x180065a36
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x1800659e0
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 0x180065a25
mov r9d, dword [rsp + 0xe0]
mov edx, 0x8b
mov rcx, r14
mov dword [rsp + 0x20], 0xffffffff
call fcn.180026b30
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 0x1800659f7
mov r9d, dword [rsp + 0x30]
mov edx, 0x19
mov rcx, r14
mov dword [rsp + 0x20], esi
lea r8d, [rdx - 0x18]
call fcn.180026b30
jmp case.0x18006569a.4
test r13, r13
je 0x1800659f7
jmp 0x180065931
test r13, r13
je 0x180065a7c
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r15d
jmp 0x180065941
mov dword [rsp + 0x20], esi
mov rcx, r14
cmp r8b, 0xd
jne 0x180065aa6
mov rax, qword [rsp + 0xd0]
xor r9d, r9d
mov r8d, dword [rax + 4]
lea edx, [r9 + 0x16]
call fcn.180026b30
jmp 0x1800659f7
mov r9d, r15d
mov r8d, ebp
mov edx, 0x23
call fcn.180026b30
mov r8d, r15d
mov edx, ebp
mov rcx, rbx
call fcn.18003e310
jmp 0x1800659f7
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 0x180065af4
inc dword [rbx + 0x54]
mov r12d, dword [rbx + 0x54]
jmp 0x180065b01
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 0x180065b27
lea eax, [rcx + rdi]
sub edx, edi
mov dword [rbx + 0x48], eax
mov dword [rbx + 0x44], edx
jmp 0x180065b39
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 0x180065b8c
xor r9d, r9d
mov dword [rsp + 0x20], ebp
lea r8d, [rcx + 1]
mov rcx, r14
lea edx, [r9 + 0x45]
call fcn.180026b30
movsxd r8, r15d
mov r9d, 0xfffffff2
mov edx, eax
mov dword [rsp + 0xc8], eax
mov rcx, r14
call fcn.180027110
mov eax, dword [rsp + 0xb0]
mov r9d, r15d
mov dword [rsp + 0x20], eax
mov r8d, ebp
mov edx, 0x31
mov rcx, r14
call fcn.180026b30
cmp byte [rsp + 0x38], 8
jne 0x180065be1
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.180026b30
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x180065be1
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x10
movsxd r13, r13d
test r13, r13
jle 0x180065c3d
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.180026b30
inc r15d
lea rdi, [rdi + 0x28]
sub r13, 1
jne 0x180065c00
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.180026b30
mov r15d, dword [rsp + 0xb8]
mov r9d, edi
mov r8d, r15d
mov dword [rsp + 0x20], r12d
mov edx, 0x31
mov rcx, r14
call fcn.180026b30
mov r8d, dword [rsp + 0x30]
mov r9d, r12d
mov edx, 0x6e
mov dword [rsp + 0x20], esi
mov rcx, r14
call fcn.180026b30
mov eax, dword [rsp + 0xc8]
test eax, eax
je 0x180065cbe
mov edx, dword [r14 + 0x3c]
cmp edx, eax
jbe 0x180065cb4
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 0x180065cf2
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae 0x180065cf2
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], r12d
je 0x180065cee
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x180065cd3
mov dword [rbx + rcx*4 + 0x24], r12d
inc byte [rbx + 0x1f]
jmp 0x180065cf2
mov byte [rax + 6], 1
mov r8d, edi
mov edx, r15d
mov rcx, rbx
call fcn.18003e310
cmp edi, dword [rbx + 0x44]
jle case.0x18006569a.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 0x180065a25
jmp 0x1800659ff