Function at 0x458de0
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, 0x158
movups xmmword [rsp + 0x140], xmm6
mov qword [rsp + 0x1a8], rdx
mov edx, dword [rsp + 0x1c0]
mov qword [rsp + 0x1b0], r8
mov qword [rsp + 0x1a0], rcx
mov r8d, edx
mov dword [rsp + 0xbc], r9d
mov word [rsp + 0x2e], r9w
test dx, dx
je 0x458e40
mov rax, qword [rcx]
mov rax, qword [rax]
test byte [rax + 0x60], 0x40
jne 0x4592c1
mov rax, qword [rsp + 0x1a8]
mov edi, dword [rax]
mov dword [rsp + 0xcc], edi
cmp di, 0x3f
ja 0x4592c1
movzx eax, di
mov ecx, edi
mov dword [rsp + 0x98], eax
mov eax, 1
shl rax, cl
movzx ecx, word [rsp + 0xbc]
and cx, 0x803
cmp cx, 1
sbb esi, esi
add esi, 0x183
cmp cx, 1
mov dword [rsp + 0xb8], esi
sbb esi, esi
mov edi, esi
add di, 0x183
sub rax, 1
mov word [rsp + 0x86], di
mov qword [rsp + 0x90], rax
je 0x45932e
movzx eax, dx
lea rsi, [0x0040d710]
xor r15d, r15d
mov qword [rsp + 0x78], 0
mov dword [rsp + 0xb0], eax
mov r13, r15
mov eax, dword [rsp + 0xbc]
movq xmm6, rsi
mov rdi, qword [rsp + 0x78]
lea r14, [0x00625d40]
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0x88], 0
mov ecx, eax
and cx, 0x800
mov word [rsp + 0xb6], cx
mov ecx, eax
and eax, 0x40
mov word [rsp + 0x9e], ax
movzx eax, r8w
and cx, 0x80
mov qword [rsp + 0xa0], rax
lea rax, [0x00409040]
movq xmm1, rax
mov word [rsp + 0x9c], cx
punpcklqdq xmm6, xmm1
jmp 0x458f8b
cmp r13, qword [rsp + 0x90]
jae 0x459b4c
mov rsi, qword [rsp + 0x78]
lea rax, [rsi + 1]
cmp qword [rsp + 0xa0], rsi
je 0x459b52
mov rsi, qword [rsp + 0x20]
mov qword [rsp + 0x78], rax
mov rdi, rax
mov rsi, qword [rsi + 8]
or qword [rsp + 0x88], rsi
mov dword [rsp + 0x68], edi
cmp dword [rsp + 0xb0], edi
jle 0x4592f2
mov rax, qword [rsp + 0x1b0]
cmp word [rsp + 0xb6], 0
mov rax, qword [rax + 0x18]
mov rax, qword [rax + rdi*8]
mov qword [rsp + 0x20], rax
jne 0x458f4d
mov edx, dword [rax + 0x38]
test dh, 4
jne 0x45930b
cmp word [rsp + 0x9c], 0
je 0x458fdb
xor r9d, r9d
mov word [rax + 0x1e], r9w
mov rax, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x1a0]
movzx eax, byte [rax + 0x10]
lea rcx, [rax + rax*2]
lea rax, [rax + rcx*4]
shl rax, 3
add rax, qword [rdi + 8]
mov eax, dword [rax + 0x4c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x98]
test eax, eax
je 0x459a1e
sub eax, 1
xor r12d, r12d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
mov r15, r12
not rax
mov qword [rsp + 0x48], rax
jmp 0x45904a
lea rax, [r15 + 1]
cmp qword [rsp + 0x30], r15
je 0x4591d6
mov r15, rax
mov rbx, r13
mov ecx, r15d
mov ebp, r15d
shr rbx, cl
and ebx, 1
jne 0x459038
mov rcx, qword [rsp + 0x1a8]
mov rax, r15
shl rax, 5
mov rdi, qword [rcx + rax + 8]
mov qword [rsp + 0x40], rax
test rdi, rdi
je 0x459038
nop dword [rax]
mov eax, dword [rdi + 4]
test eax, 0x82000
je 0x4590ac
test eax, 0x80000
je 0x4592e0
mov rax, qword [rdi + 0x20]
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x459038
mov eax, dword [rdi + 4]
test eax, 0x82000
jne 0x45908a
movzx eax, byte [rdi]
add eax, 0x59
test al, 0xfd
jne 0x459038
mov eax, dword [rsp + 0x38]
cmp dword [rdi + 0x2c], eax
jne 0x459038
mov rsi, qword [rsp + 0x1a0]
mov ecx, eax
movzx eax, word [rdi + 0x30]
mov r8d, 0x100
mov dword [rsp + 0xf0], 0
add rsi, 0x70
mov dword [rsp + 0xfc], ecx
movq xmm0, rsi
mov esi, dword [rsp + 0xb8]
mov word [rsp + 0xf8], r8w
punpcklqdq xmm0, xmm0
mov byte [rsp + 0xfa], 1
movups xmmword [rsp + 0xd0], xmm0
pxor xmm0, xmm0
mov dword [rsp + 0xf4], esi
movups xmmword [rsp + 0xe0], xmm0
cmp ax, 0xfffe
je 0x459038
lea rsi, [rsp + 0xd0]
mov word [rsp + 0x128], ax
mov rcx, rsi
call fcn.00457490
test rax, rax
je 0x459038
mov qword [rsp + 0x50], rdi
mov rdi, qword [rsp + 0x48]
xor r12d, r12d
nop dword [rax]
mov rdx, qword [rax + 0x28]
test rdi, rdx
jne 0x459187
test rdx, rdx
jne 0x459180
test byte [rax + 0x14], 0x82
jne 0x4598f8
test r12, r12
cmove r12, rax
mov rcx, rsi
call fcn.00457490
test rax, rax
jne 0x459168
mov rdi, qword [rsp + 0x50]
test r12, r12
je 0x459038
movzx eax, word [r12 + 0x14]
cmp ax, 1
je 0x459af2
test al, 0x82
jne 0x459900
mov eax, 1
mov ecx, ebp
shl rax, cl
or r13, rax
lea rax, [r15 + 1]
cmp qword [rsp + 0x30], r15
jne 0x459047
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 0x38]
test dh, 0x10
jne 0x459340
test dh, 1
jne 0x459434
mov rax, qword [rsp + 0x20]
mov r15, qword [rax + 0x20]
test r15, r15
je 0x4592c1
test byte [r15 + 0x64], 4
jne 0x4592c1
movzx eax, word [r15 + 0x5e]
movzx edi, byte [r15 + 0x62]
mov word [rsp + 0xca], ax
movzx eax, word [r15 + 0x60]
mov byte [rsp + 0x48], dil
mov dword [rsp + 0x50], eax
test dil, dil
je 0x459a3d
and dh, 0x80
je 0x459a9e
test eax, eax
je 0x4592a2
mov byte [rsp + 0x48], 0
jmp 0x45944e
mov edx, eax
movzx ecx, byte [rsp + 0x85]
xor cl, byte [rsp + 0xc9]
and edx, 1
cmp cl, dl
je 0x459757
nop dword [rax]
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x45982e
movzx eax, word [rsp + 0xca]
cmp eax, ecx
jg 0x45982e
cmp byte [rsp + 0x40], 0
jne 0x459839
cmp byte [rsp + 0x48], 0
jne 0x459839
mov r15, r13
cmp qword [rsp + 0x90], r13
je 0x45932e
mov ecx, dword [rsp + 0x98]
sub ecx, 1
test ecx, ecx
jg 0x459a4a
xor eax, eax
movups xmm6, xmmword [rsp + 0x140]
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rdi + 0x10]
test rdi, rdi
jne 0x459080
jmp 0x459038
mov rax, qword [rsp + 0x1c8]
mov edx, dword [rax + 0x38]
mov qword [rsp + 0x20], rax
test dh, 4
je 0x458fc8
cmp byte [rax + 0x20], 0
mov r15, r13
je 0x459b5c
movzx eax, word [rsp + 0xbc]
and ax, 0x280
cmp ax, 0x80
je 0x459b5c
movzx eax, byte [rsp + 0xcc]
jmp 0x4592c3
mov rdi, qword [rax + 8]
or qword [rsp + 0xa8], rdi
mov esi, dword [rsp + 0x98]
mov rdi, qword [rsp + 0x1a0]
xor ebx, ebx
mov rbp, qword [rsp + 0x1a8]
jmp 0x4593bc
movabs rax, 0x20000000ff
and rax, qword [r12]
cmp rax, 0xa7
je 0x4599c9
test dword [r12 + 4], 0x810000
jne 0x4593e6
lea rcx, [rdi + 0x258]
mov rdx, r12
call fcn.00420b70
test rax, rax
je 0x4593e6
mov rdx, qword [rsp + 0xa8]
not rdx
test rdx, rax
je 0x4593d6
add rbx, 1
cmp esi, ebx
jle 0x458f4d
bt r13, rbx
mov r15d, ebx
jb 0x4593b0
mov rax, rbx
shl rax, 5
mov r12, qword [rbp + rax + 8]
test r12, r12
jne 0x459367
mov eax, 1
mov ecx, r15d
shl rax, cl
or r13, rax
jmp 0x4593b0
mov eax, 1
mov rdx, r12
lea rcx, [rsp + 0xd0]
mov dword [rsp + 0xf8], 0
mov word [rsp + 0xf4], ax
movups xmmword [rsp + 0xd8], xmm6
call fcn.00415c30
cmp word [rsp + 0xf4], 0
je 0x4593b0
mov eax, 1
mov ecx, r15d
shl rax, cl
or r13, rax
jmp 0x4593b0
xor ecx, ecx
mov dword [rsp + 0x50], 1
xor r15d, r15d
mov word [rsp + 0xca], cx
mov byte [rsp + 0x48], 1
movzx ecx, byte [rsp + 0x68]
mov eax, 1
xor r12d, r12d
mov r9d, dword [rsp + 0x38]
mov byte [rsp + 0x40], 0
mov r10d, dword [rsp + 0x98]
shl rax, cl
mov byte [rsp + 0xc9], 0
mov qword [rsp + 0xc0], rax
mov byte [rsp + 0xb5], 0
mov qword [rsp + 0x38], r15
jmp 0x4594d9
movzx edx, word [rcx + 0x3e]
cmp edx, r12d
jg 0x4594f1
mov rcx, qword [rcx + 0x48]
mov r8, qword [rcx + r12*8]
movzx edx, word [r8 + 0x14]
test word [rsp + 0x86], dx
je 0x459860
movzx ecx, byte [rsp + 0x48]
test dx, 0x180
mov eax, 0
cmovne ecx, eax
mov byte [rsp + 0x48], cl
add r12, 1
cmp dword [rsp + 0x50], r12d
jle 0x45928c
mov rcx, qword [rsp + 0x20]
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x68], r12d
movzx eax, word [rcx + 0x18]
cmp eax, r12d
jg 0x459490
test r10d, r10d
setg r15b
mov rsi, qword [rsp + 0x38]
test rsi, rsi
je 0x4598b6
mov rcx, qword [rsi + 0x38]
mov rdx, qword [rsi + 8]
mov r11d, 0xffffffff
movzx ecx, byte [rcx + r12]
movsx rdx, word [rdx + r12*2]
and ecx, 1
mov byte [rsp + 0x85], cl
mov rcx, qword [rsi + 0x18]
cmp dx, word [rcx + 0x34]
je 0x459568
cmp byte [rsp + 0x48], 0
movsx r11d, dx
je 0x459568
test r11d, r11d
js 0x4598d5
cmp eax, dword [rsp + 0x68]
jg 0x459568
lea rax, [rdx + rdx*2]
mov rdx, qword [rcx + 8]
lea rax, [rdx + rax*8]
test byte [rax + 8], 0xf
setne byte [rsp + 0x48]
nop dword [rax]
test r15b, r15b
je 0x459270
lea rax, [r12*8]
mov qword [rsp + 0x70], r12
xor esi, esi
mov r12d, r10d
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x1a8]
lea rbp, [rax + 8]
jmp 0x4595b9
add esi, 1
add rbp, 0x20
cmp r12d, esi
jle 0x459270
test dil, dil
je 0x459270
mov rbx, r13
mov ecx, esi
mov edi, r15d
shr rbx, cl
and ebx, 1
jne 0x4595a0
mov r8, qword [rbp]
mov rdx, r8
test r8, r8
je 0x4595a0
nop dword [rax]
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x459613
test eax, 0x80000
je 0x459600
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x4595d8
mov edi, r15d
jmp 0x4595a0
mov rdx, qword [rdx + 0x10]
test rdx, rdx
je 0x4595f6
mov eax, dword [rdx + 4]
test eax, 0x82000
jne 0x4595e2
test byte [rsp + 0x2e], 0xc0
setne dil
cmp r11d, 0xffffffff
jl 0x4597a0
movzx eax, byte [rdx]
add eax, 0x59
test al, 0xfd
jne 0x4595a0
cmp dword [rdx + 0x2c], r9d
jne 0x4595a0
movsx eax, word [rdx + 0x30]
cmp eax, r11d
jne 0x4595a0
cmp r11d, 0xffffffff
je 0x4596d4
mov rax, qword [rsp + 0x1a0]
mov rdx, r8
mov dword [rsp + 0x6c], r9d
mov dword [rsp + 0x80], r11d
mov rcx, qword [rax]
mov qword [rsp + 0x60], rcx
call fcn.00455620
mov rcx, qword [rsp + 0x60]
mov r9d, dword [rsp + 0x6c]
test rax, rax
mov r11d, dword [rsp + 0x80]
je 0x4598c9
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx + 0x40]
mov rcx, qword [rsp + 0x58]
mov r8, qword [rdx + rcx]
mov rcx, qword [rax]
jmp 0x4596c3
movzx edx, byte [r14 + rdx]
cmp byte [r14 + rax], dl
jne 0x4595a0
add rbx, 1
movzx eax, byte [rcx + rbx]
movzx edx, byte [r8 + rbx]
cmp eax, edx
jne 0x4596b0
test eax, eax
jne 0x4596bf
cmp word [rsp + 0x9c], 0
mov r10d, r12d
mov r12, qword [rsp + 0x70]
je 0x4596f5
mov rdi, qword [rsp + 0x20]
lea eax, [r12 + 1]
mov word [rdi + 0x1e], ax
mov rdi, qword [rsp + 0x1a8]
movsxd rax, esi
shl rax, 5
cmp word [rsp + 0x9e], 0
movzx eax, byte [rdi + rax + 0x18]
jne 0x459757
cmp byte [rsp + 0xb5], 0
jne 0x45924d
mov edx, eax
and edx, 1
cmp dl, byte [rsp + 0x85]
je 0x4598e3
mov rcx, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0xc0]
mov byte [rsp + 0xc9], 1
mov byte [rsp + 0xb5], 1
or qword [rcx], rdi
test al, 2
je 0x459775
mov rdi, qword [rsp + 0x20]
movzx eax, word [rdi + 0x18]
cmp eax, dword [rsp + 0x68]
jne 0x459270
or dword [rdi + 0x38], 0x80000
movzx edi, byte [rsp + 0x40]
cmp r11d, 0xffffffff
mov eax, 1
mov ecx, esi
cmove edi, eax
mov eax, 1
shl rax, cl
mov byte [rsp + 0x40], dil
or r13, rax
jmp 0x4594ca
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
shl rax, 5
add rax, qword [rcx + 0x50]
mov r8, qword [rax + 8]
test r8, r8
je 0x4595a0
nop
mov eax, dword [r8 + 4]
test eax, 0x82000
je 0x4597ee
test eax, 0x80000
je 0x459820
mov rax, qword [r8 + 0x20]
mov r8, qword [rax + 8]
test r8, r8
je 0x4595a0
mov eax, dword [r8 + 4]
test eax, 0x82000
jne 0x4597cb
xor ecx, ecx
mov dword [rsp + 0x6c], r11d
mov dword [rsp + 0x60], r9d
call fcn.00451980
mov r9d, dword [rsp + 0x60]
mov r11d, dword [rsp + 0x6c]
test eax, eax
jne 0x4595a0
mov r8, qword [rbp]
jmp 0x459655
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x4597c0
jmp 0x4595a0
cmp byte [rsp + 0x40], 0
je 0x4592a2
mov rsi, qword [rsp + 0x20]
mov rsi, qword [rsi + 8]
or qword [rsp + 0xa8], rsi
cmp dword [rsp + 0x98], 0
jne 0x45934c
jmp 0x458f4d
test r10d, r10d
setg r15b
and edx, 1
je 0x4594f8
lea edx, [r12 + 1]
mov r11, qword [r8]
cmp eax, edx
jle 0x4594f8
lea rdx, [r12 + 1]
jmp 0x45989c
add rdx, 1
cmp eax, edx
jle 0x4594f8
mov r8, qword [rcx + rdx*8]
cmp qword [r8], r11
jne 0x459890
mov rsi, qword [rsp + 0x38]
xor r15d, r15d
test rsi, rsi
jne 0x459506
mov byte [rsp + 0x85], 0
mov r11d, 0xffffffff
jmp 0x459568
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
jmp 0x459695
cmp r11d, 0xfffffffe
setne byte [rsp + 0x48]
jmp 0x459568
mov byte [rsp + 0xc9], 0
mov byte [rsp + 0xb5], 1
jmp 0x459757
mov rdi, qword [rsp + 0x50]
mov r12, rax
cmp word [rdi + 0x30], 0
js 0x4591ba
mov rax, qword [rsp + 0x1a0]
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rax]
mov rax, qword [rsp + 0x1a8]
mov rdx, qword [rax + rsi + 8]
mov qword [rsp + 0x40], rcx
call fcn.00455620
mov rcx, qword [rsp + 0x40]
test rax, rax
mov rsi, rax
je 0x459b33
mov rax, qword [r12]
mov r12, qword [rax + 0x18]
mov rdi, qword [rax + 0x10]
test byte [rax + 5], 4
je 0x459a56
test byte [r12 + 5], 2
jne 0x459a88
test rdi, rdi
je 0x459974
test byte [rdi + 5], 2
jne 0x459b3f
mov rdx, r12
mov qword [rsp + 0x40], rcx
call fcn.00455620
mov rcx, qword [rsp + 0x40]
test rax, rax
je 0x459b3f
mov r9, qword [rax]
mov rcx, qword [rsi]
jmp 0x4599b3
movzx esi, byte [r14 + rdx]
cmp byte [r14 + rax], sil
jne 0x459038
add rbx, 1
movzx eax, byte [rcx + rbx]
movzx edx, byte [r9 + rbx]
cmp eax, edx
jne 0x4599a0
test eax, eax
jne 0x4599af
jmp 0x4591ba
mov r9d, dword [r12 + 0x2c]
cmp r9d, dword [rdi + 0x260]
je 0x459b29
mov eax, dword [rdi + 0x25c]
cmp eax, 1
jle 0x4593e6
lea edx, [rax - 2]
mov eax, 1
add rdx, 2
jmp 0x459a05
add rax, 1
cmp rax, rdx
je 0x4593e6
mov ecx, eax
cmp r9d, dword [rdi + rax*4 + 0x260]
jne 0x4599f8
mov eax, 1
shl rax, cl
jmp 0x45939b
test dh, 0x10
je 0x4591e7
mov rsi, qword [rsp + 0x20]
mov rcx, qword [rsi + 8]
or qword [rsp + 0xa8], rcx
jmp 0x458f4d
test eax, eax
jne 0x45944e
jmp 0x4592a2
cmp ecx, 0x3f
jle 0x459ab0
mov eax, ecx
jmp 0x4592c3
test byte [rdi + 5], 2
jne 0x459b3f
test r12, r12
je 0x459a6d
test byte [r12 + 5], 2
jne 0x459a88
mov rdx, rdi
mov qword [rsp + 0x40], rcx
call fcn.00455620
mov rcx, qword [rsp + 0x40]
test rax, rax
jne 0x45998f
mov rdx, r12
call fcn.00455620
test rax, rax
je 0x459038
jmp 0x45998f
mov byte [rsp + 0x48], 1
test eax, eax
jne 0x45944e
jmp 0x459839
mov eax, 1
mov rdx, r15
shl rax, cl
sub rax, 1
and rdx, rax
cmp rax, rdx
je 0x459a4f
mov r8d, 1
jmp 0x459ae8
mov rax, r8
shl rax, cl
sub rax, 1
mov rdx, rax
and rdx, r15
cmp rdx, rax
je 0x459a4f
sub ecx, 1
jne 0x459acf
jmp 0x4592c1
mov rax, qword [rsp + 0x20]
movzx edx, word [rax + 0x3c]
test dx, dx
je 0x459038
mov rax, qword [rax + 0x48]
sub edx, 1
lea rdx, [rax + rdx*8 + 8]
jmp 0x459b1f
add rax, 8
cmp rdx, rax
je 0x459038
cmp qword [rax], r12
jne 0x459b12
jmp 0x4591ba
mov eax, 1
jmp 0x4593a0
mov rax, qword [rcx]
mov rsi, qword [rax + 0x10]
jmp 0x459943
mov rdx, rdi
call fcn.00455620
jmp 0x459a90
je 0x45932e
mov eax, 0xffffffff
jmp 0x4592c3
cmp qword [rsp + 0x90], r15
je 0x45932e
jmp 0x459b52