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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xe8
movups xmmword [rsp + 0xd0], xmm6
mov r15, qword [rcx]
mov rsi, qword [rcx + 0x10]
mov rbx, qword [rcx + 8]
mov rax, qword [r15]
mov r13, qword [r15 + 8]
mov qword [rsp + 0x48], rax
movzx eax, byte [rsi + 0x10]
mov r14, rdx
mov qword [rsp + 0x130], rcx
lea rdx, [rax + rax*2]
mov rdi, rax
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x9c], 0
lea rax, [rax + rdx*4]
lea r12, [r13 + rax*8 + 8]
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0x58], rax
lea rax, [rdi + rdx*4]
mov edx, dword [rbx + 0x14]
lea r11, [r13 + rax*8]
mov rax, qword [r11 + 0x28]
mov qword [rsp + 0x78], rax
mov rax, qword [rbx + 0x20]
test edx, edx
jle 0x4680eb
sub edx, 1
mov r9d, dword [r11 + 0x4c]
xor ebp, ebp
add rdx, 1
lea rcx, [rdx*8]
sub rcx, rdx
lea r10, [rax + rcx*8]
nop word [rax + rax]
movzx ecx, word [rax + 0x12]
mov edx, ecx
and edx, 0xffffffbf
mov word [rax + 0x12], dx
cmp dword [rax + 0x1c], r9d
jne 0x4676e8
test qword [rax + 0x28], r8
jne 0x4676e8
movzx ebx, word [rax + 0x14]
and ebx, 0xf7ff
je 0x4676e8
and ecx, 0x80
jne 0x4676e8
test byte [r11 + 0x44], 0x58
je 0x4676d8
mov rcx, qword [rax]
mov ebx, dword [rcx + 4]
test bl, 3
je 0x4676e8
cmp r9d, dword [rcx + 0x34]
jne 0x4676e8
test byte [r12 + 0x3c], 0x18
je 0x4676d8
and ebx, 2
jne 0x4676e8
nop word [rax + rax]
or edx, 0x40
add ebp, 1
mov word [rax + 0x12], dx
nop word [rax + rax]
add rax, 0x38
cmp rax, r10
jne 0x467680
movsxd rbp, ebp
lea rax, [rbp*8]
sub rax, rbp
lea rax, [rax*4 + 0x88]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x467e98
mov ebx, dword [rax]
test ebx, ebx
jle 0x467ef7
lea r12, [rax + 8]
lea rax, [0x00409040]
mov qword [rsp + 0x80], rsi
xor r11d, r11d
mov qword [rsp + 0x50], rax
lea rax, [0x0040d710]
movq xmm6, rax
lea rax, [rdi + rdi*2]
mov qword [rsp + 0x88], r15
mov r15d, r11d
shl rax, 2
mov qword [rsp + 0x68], rax
mov rsi, qword [r12]
movdqu xmm0, xmm6
mov ecx, 1
mov dword [rsp + 0xc8], 0
movhps xmm0, qword [rsp + 0x50]
mov word [rsp + 0xc4], cx
movups xmmword [rsp + 0xa8], xmm0
test rsi, rsi
je 0x467898
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.00415c30
cmp word [rsp + 0xc4], 0
jne 0x467898
test byte [r12 + 0x10], 2
jne 0x4678f2
movzx eax, byte [rsi]
cmp al, 0xa7
je 0x4678e0
cmp al, 0x71
jne 0x4678f2
mov rax, qword [rsi + 0x10]
cmp byte [rax], 0xa7
jne 0x4678f2
mov rcx, qword [rsp + 0x68]
add rcx, rdi
mov ecx, dword [r13 + rcx*8 + 0x4c]
cmp dword [rax + 0x2c], ecx
jne 0x4678f2
movzx ecx, word [rax + 0x30]
mov word [rsi + 0x30], cx
movsx rax, word [rax + 0x30]
test ax, ax
js 0x467898
lea rcx, [rax + rax*2]
mov rax, qword [rsp + 0x78]
lea r10, str.BINARY
mov rax, qword [rax + 8]
lea rcx, [rax + rcx*8]
mov rax, qword [rcx]
movzx ecx, word [rcx + 0x12]
test ch, 2
jne 0x467844
jmp 0x467852
add rax, 1
cmp byte [rax], 0
jne 0x467840
and ecx, 4
jne 0x4678c0
lea r10, [rax + 1]
mov r9, qword [rsi + 8]
test r9, r9
je 0x4678f2
xor ecx, ecx
lea r8, [0x00625d40]
jmp 0x46787f
movzx esi, byte [r8 + rdx]
cmp byte [r8 + rax], sil
jne 0x4678f2
add rcx, 1
movzx eax, byte [r9 + rcx]
movzx edx, byte [r10 + rcx]
cmp eax, edx
jne 0x467870
test eax, eax
jne 0x46787b
nop dword [rax]
add r15d, 1
add r12, 0x20
cmp ebx, r15d
jne 0x467763
mov r15, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
jmp 0x467ef9
add rax, 1
cmp byte [rax], 0
je 0x46784e
add rax, 1
cmp byte [rax], 0
jne 0x4678c0
jmp 0x46784e
mov rax, qword [rsp + 0x68]
add rax, rdi
mov eax, dword [r13 + rax*8 + 0x4c]
cmp dword [rsi + 0x2c], eax
je 0x467898
mov rsi, qword [rsp + 0x80]
xor edi, edi
xor r13d, r13d
xor ebx, ebx
mov rax, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rax]
call fcn.0042dc60
mov r12, rax
test rax, rax
je 0x46823b
lea r10, [rax + rbp*8 + 0x80]
lea rax, [rbp + rbp*2]
xor edx, edx
mov dword [r12 + 0x70], r13d
lea rbp, [r10 + rax*4]
mov qword [r12 + 8], r10
add rdi, rbp
mov qword [r12 + 0x18], rbp
mov qword [r12 + 0x20], rdi
mov rdi, qword [rsp + 0x70]
mov dword [r12 + 0x74], 0
movq xmm0, rdi
mov word [rsp + 0x60], dx
movhps xmm0, qword [rsp + 0x48]
movups xmmword [r12 + 0x60], xmm0
mov r11d, dword [rdi + 0x14]
mov rax, qword [rdi + 0x20]
test r11d, r11d
jle 0x4680fb
mov dword [rsp + 0x50], ebx
xor edx, edx
xor r15d, r15d
mov r13d, 1
jmp 0x4679ca
cmp r9w, 0x40
je 0x467a30
test di, 0x180
je 0x467a40
cmp r9w, 0x100
setne cl
add ecx, 0x47
mov byte [r8 + 4], cl
add r15d, 1
add edx, 1
add rax, 0x38
cmp edx, r11d
je 0x467ac8
movzx ecx, word [rax + 0x12]
test cl, 0x40
je 0x4679ba
movsxd r8, r15d
mov r9d, dword [rax + 0x20]
movzx edi, word [rax + 0x14]
lea r8, [r8 + r8*2]
lea r8, [r10 + r8*4]
mov dword [r8], r9d
mov r9d, edi
and r9w, 0x3fff
mov dword [r8 + 8], edx
cmp r9w, 1
jne 0x467990
test cx, cx
js 0x467a22
mov r9d, dword [r12 + 0x74]
mov ebx, r13d
mov ecx, r15d
shl ebx, cl
mov edi, r9d
or r9d, ebx
cmp r15d, 0x20
cmovge r9d, edi
mov dword [r12 + 0x74], r9d
mov byte [r8 + 4], 2
jmp 0x4679b6
movzx ecx, byte [rax + 0x17]
mov byte [r8 + 4], cl
jmp 0x4679b6
and edi, 0x3c
mov byte [r8 + 4], r9b
je 0x4679b6
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x18]
movzx ecx, byte [rdi]
cmp cl, 0xb0
jne 0x467a60
movzx ecx, byte [rdi + 2]
cmp cl, 0xb1
je 0x467f2b
cmp cl, 0x8a
jne 0x4679b6
mov rcx, qword [rdi + 0x20]
mov rcx, qword [rcx + 0x20]
mov ecx, dword [rcx]
cmp ecx, 1
jle 0x4679b6
mov ecx, r15d
mov ebx, r13d
movzx edi, word [rsp + 0x60]
shl ebx, cl
mov ecx, ebx
or ecx, edi
cmp r15d, 0x10
cmovl edi, ecx
mov word [rsp + 0x60], di
cmp r9w, 0x10
je 0x4680ba
cmp r9w, 4
jne 0x4679b6
mov byte [r8 + 4], 0x20
jmp 0x4679b6
mov ebx, dword [rsp + 0x50]
mov dword [r12], r15d
test ebx, ebx
je 0x467b96
mov rdi, qword [rsp + 0x58]
lea eax, [rbx - 1]
lea r13, [rsp + 0xa0]
xor ebx, ebx
shl rax, 5
lea rax, [rdi + rax + 0x28]
lea r15, [rdi + 8]
lea rdi, [0x00409040]
mov qword [rsp + 0x50], rdi
lea rdi, [0x0040d710]
movq xmm6, rdi
movhps xmm6, qword [rsp + 0x50]
mov qword [rsp + 0x50], rsi
mov esi, ebx
mov rbx, r13
mov r13, rbp
mov rbp, rax
nop dword [rax]
mov rdi, qword [r15]
mov eax, 1
movups xmmword [rsp + 0xa8], xmm6
mov word [rsp + 0xc4], ax
mov dword [rsp + 0xc8], 0
test rdi, rdi
je 0x467b82
mov rdx, rdi
mov rcx, rbx
call fcn.00415c30
cmp word [rsp + 0xc4], 0
jne 0x467b82
movsxd rax, esi
add esi, 1
lea rdx, [r13 + rax*8]
movsx eax, word [rdi + 0x30]
mov dword [rdx], eax
movzx eax, byte [r15 + 0x10]
and eax, 1
mov byte [rdx + 4], al
add r15, 0x20
cmp rbp, r15
jne 0x467b28
mov ebx, esi
mov r15d, dword [r12]
mov rsi, qword [rsp + 0x50]
movzx eax, word [rsi + 0x40]
xor edi, edi
xor ebp, ebp
mov dword [r12 + 0x10], ebx
mov word [rsi + 0x12], di
and byte [rsi + 0x1c], 0xfe
mov dword [rsi + 0x38], 0x400
mov word [rsi + 0x3c], bp
cmp r15d, eax
jg 0x467d60
movzx edi, word [rsp + 0x60]
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov rdx, r14
lea rax, [rsp + 0x9c]
lea rbp, [rsp + 0xa0]
mov rcx, qword [rsp + 0x130]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], edi
call fcn.0044dce0
mov ebx, dword [rsp + 0x9c]
mov r13d, eax
test ebx, ebx
jne 0x467ea8
test r13d, r13d
je 0x467dc8
mov edx, dword [r12 + 0x38]
test edx, edx
jne 0x467ee8
mov rax, qword [rsp + 0x48]
xor ebx, ebx
mov r15, qword [rax]
mov eax, dword [r12]
test eax, eax
jg 0x467c60
jmp 0x467cd0
mov rcx, r14
call fcn.0040c4a0
mov eax, dword [r12]
mov qword [r12 + rbx*8 + 0x80], 0
add rbx, 1
cmp eax, ebx
jle 0x467cd0
mov r14, qword [r12 + rbx*8 + 0x80]
test r14, r14
je 0x467c4c
test word [r14 + 0x14], 0x9000
jne 0x467c7e
mov eax, dword [r14 + 0x20]
test eax, eax
je 0x467c86
mov rcx, r14
call fcn.00421bb0
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x467c40
cmp qword [rcx + 0x1f0], r14
jbe 0x467cae
cmp qword [rcx + 0x1e0], r14
jbe 0x467d20
cmp qword [rcx + 0x1e8], r14
jbe 0x467d40
cmp qword [rcx + 0x308], 0
je 0x467c40
mov rdx, r14
call fcn.004068e0
mov eax, dword [r12]
jmp 0x467c4c
test r15, r15
je 0x467cf0
cmp qword [r15 + 0x1f0], r12
ja 0x467e60
cmp qword [r15 + 0x308], 0
jne 0x4680c4
mov rcx, r12
call fcn.0040c4a0
nop
movups xmm6, xmmword [rsp + 0xd0]
mov eax, r13d
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rcx + 0x1d8]
mov qword [r14], rax
mov eax, dword [r12]
mov qword [rcx + 0x1d8], r14
jmp 0x467c4c
mov rax, qword [rcx + 0x1c8]
mov qword [r14], rax
mov eax, dword [r12]
mov qword [rcx + 0x1c8], r14
jmp 0x467c4c
mov rax, qword [rsp + 0x48]
lea ebx, [r15 + 7]
and ebx, 0xfffffff8
mov r13, qword [rax]
movsxd rdx, ebx
shl rdx, 3
mov rcx, r13
call fcn.0042cd60
mov rdi, rax
test rax, rax
je 0x46816c
movzx r8d, word [rsi + 0x40]
mov rdx, qword [rsi + 0x48]
mov rcx, rax
shl r8, 3
call sub.msvcrt.dll_memcpy
mov rdx, qword [rsi + 0x48]
lea rax, [rsi + 0x58]
cmp rdx, rax
je 0x467db4
mov rcx, r13
call fcn.004235b0
mov qword [rsi + 0x48], rdi
mov word [rsi + 0x40], bx
jmp 0x467bbf
mov r10, r14
mov ebx, dword [rsp + 0xa0]
not r10
mov rax, r10
and rax, qword [rsi]
mov dword [rsp + 0x80], ebx
mov qword [rsp + 0x50], rax
jne 0x467f36
test ebx, ebx
je 0x467c1c
mov qword [rsp + 0x30], rbp
mov rcx, qword [rsp + 0x130]
mov rdx, r14
mov r9d, 1
mov qword [rsp + 0x38], 0
mov r8, 0xffffffffffffffff
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x58], r10
call fcn.0044dce0
mov r10, qword [rsp + 0x58]
mov rbx, r10
and rbx, qword [rsi]
sete dl
mov qword [rsp + 0x58], rbx
movzx edx, dl
mov dword [rsp + 0x78], edx
test eax, eax
jne 0x468064
mov dword [rsp + 0x80], edx
mov ebx, edx
jmp 0x467f50
cmp qword [r15 + 0x1e0], r12
jbe 0x4680d4
cmp qword [r15 + 0x1e8], r12
ja 0x467ce2
mov rax, qword [r15 + 0x1c8]
mov qword [r12], rax
mov qword [r15 + 0x1c8], r12
jmp 0x467cf9
xor edi, edi
xor r13d, r13d
xor ebx, ebx
jmp 0x467901
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x130]
xor r9d, r9d
mov rdx, r14
mov qword [rsp + 0x30], rbp
mov r8, 0xffffffffffffffff
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r12
call fcn.0044dce0
mov r13d, eax
jmp 0x467c13
mov rcx, qword [r12 + 0x30]
call fcn.0040c4a0
jmp 0x467c29
jne 0x467e98
movzx r13d, word [r15 + 0x3c]
movsxd rdi, ebx
shl rdi, 3
add qword [rsp + 0x60], rdi
test r13b, 0x80
je 0x4680ac
test r13w, 0x200
setne r13b
movzx r13d, r13b
add r13d, 2
jmp 0x467901
mov rcx, qword [rdi + 0x20]
mov ecx, dword [rcx]
jmp 0x467a7c
mov r11d, dword [rsp + 0x80]
test r11d, r11d
jne 0x467df5
mov qword [rsp + 0x58], 0
lea eax, [r15 - 1]
mov dword [rsp + 0x88], r13d
mov r13, qword [rsp + 0x70]
lea rax, [rax + rax*2]
mov dword [rsp + 0x78], ebx
xor ebx, ebx
shl rax, 2
mov dword [rsp + 0x60], edi
mov rdi, r14
mov r14d, r15d
mov qword [rsp + 0x68], rsi
mov r15, rax
mov rsi, r10
nop dword [rax]
mov r11, rbx
test r14d, r14d
jle 0x468108
mov rdx, qword [r12 + 8]
mov r8, qword [r13 + 0x20]
mov rbx, 0xffffffffffffffff
lea rax, [rdx + 8]
lea rcx, [rdx + r15 + 0x14]
nop dword [rax]
movsxd r9, dword [rax]
lea rdx, [r9*8]
sub rdx, r9
mov r10, qword [r8 + rdx*8 + 0x28]
and r10, rsi
cmp r10, rbx
jae 0x467fd2
cmp r11, r10
cmovb rbx, r10
add rax, 0xc
cmp rax, rcx
jne 0x467fb0
cmp rbx, 0xffffffffffffffff
je 0x468108
cmp qword [rsp + 0x50], rbx
je 0x467f88
cmp qword [rsp + 0x58], rbx
je 0x467f88
mov eax, dword [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov r8, rdi
xor r9d, r9d
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x130]
or r8, rbx
mov rdx, rdi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
call fcn.0044dce0
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rdi
jne 0x468055
mov r9d, dword [rsp + 0xa0]
mov ecx, 1
mov dword [rsp + 0x80], 1
test r9d, r9d
cmovne ecx, dword [rsp + 0x78]
mov dword [rsp + 0x78], ecx
test eax, eax
je 0x467f88
mov r14, rdi
mov edi, dword [rsp + 0x60]
mov r13d, eax
mov eax, dword [rsp + 0x78]
or eax, r13d
jne 0x467c1c
mov dword [rsp + 0x28], edi
mov r9d, 1
mov r8, r14
mov rdx, r14
mov qword [rsp + 0x30], rbp
mov rcx, qword [rsp + 0x130]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x20], r12
call fcn.0044dce0
mov r13d, eax
jmp 0x467c1c
shr r13w, 6
and r13d, 1
jmp 0x467901
mov byte [r8 + 4], 8
jmp 0x4679b6
mov rdx, r12
mov rcx, r15
call fcn.004068e0
jmp 0x467cf9
mov rax, qword [r15 + 0x1d8]
mov qword [r12], rax
mov qword [r15 + 0x1d8], r12
jmp 0x467cf9
mov qword [rsp + 0x60], 0x88
xor ebp, ebp
jmp 0x46770c
xor r15d, r15d
jmp 0x467acc
mov r8d, dword [rsp + 0x80]
mov r14, rdi
mov r13d, dword [rsp + 0x88]
mov edi, dword [rsp + 0x60]
test r8d, r8d
jne 0x468067
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov r8, r14
mov rdx, r14
mov dword [rsp + 0x28], edi
mov rcx, qword [rsp + 0x130]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x20], r12
call fcn.0044dce0
mov ecx, dword [rsp + 0xa0]
mov r13d, eax
test ecx, ecx
je 0x467c1c
jmp 0x468067
mov rax, qword [rsp + 0x48]
xor ebx, ebx
mov r14, qword [rax]
mov eax, dword [r12]
test eax, eax
jg 0x4681a8
jmp 0x46820a
mov rcx, r13
call fcn.0040c4a0
mov eax, dword [r12]
mov qword [r12 + rbx*8 + 0x80], 0
add rbx, 1
cmp eax, ebx
jle 0x46820a
mov r13, qword [r12 + rbx*8 + 0x80]
test r13, r13
je 0x468194
test word [r13 + 0x14], 0x9000
jne 0x4681c6
mov esi, dword [r13 + 0x20]
test esi, esi
je 0x4681ce
mov rcx, r13
call fcn.00421bb0
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x468188
cmp qword [rcx + 0x1f0], r13
jbe 0x4681f2
cmp qword [rcx + 0x1e0], r13
jbe 0x468220
cmp qword [rcx + 0x1e8], r13
jbe 0x468257
cmp qword [rcx + 0x308], 0
je 0x468188
mov rdx, r13
call fcn.004068e0
mov eax, dword [r12]
jmp 0x468194
mov rdx, r12
mov rcx, r14
mov r13d, 7
call fcn.004235b0
jmp 0x467cf9
mov rax, qword [rcx + 0x1d8]
mov qword [r13], rax
mov eax, dword [r12]
mov qword [rcx + 0x1d8], r13
jmp 0x468194
mov rcx, qword [rsp + 0x48]
lea rdx, [0x00617b27]
mov r13d, 7
call fcn.0042c9e0
jmp 0x467cf9
mov rax, qword [rcx + 0x1c8]
mov qword [r13], rax
mov eax, dword [r12]
mov qword [rcx + 0x1c8], r13
jmp 0x468194