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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
movaps xmmword [rsp + 0xf0], xmm6
mov qword [rsp + 0x80], r9
mov rbp, rdx
mov rsi, rcx
mov r14, qword [rsp + 0x170]
mov rdi, qword [rcx + 0x10]
mov eax, dword [rdi + 0x90]
cmp dword [rdi + 0x94], eax
mov qword [rsp + 0x40], r8
jle 0x4ef95c
mov dword [rsp + 0xa4], eax
cdqe
lea ecx, [rax + 1]
mov dword [rdi + 0x90], ecx
mov rcx, qword [rdi + 0x88]
lea rax, [rax + rax*2]
mov byte [rcx + rax*8], 0xe
xorps xmm0, xmm0
movups xmmword [rcx + rax*8 + 1], xmm0
mov qword [rcx + rax*8 + 0x10], 0
jmp 0x4ef983
mov dword [rsp + 0x20], 0
mov rcx, rdi
mov edx, 0xe
xor r8d, r8d
xor r9d, r9d
call fcn.0047df60
mov r8, qword [rsp + 0x40]
mov dword [rsp + 0xa4], eax
mov rax, qword [r8 + 0x20]
mov qword [rsp + 0x68], rax
mov r15, qword [rbp + 0x20]
movsxd rax, dword [rbp + 0x14]
imul rbx, rax, 0x38
add rbx, r15
mov rcx, qword [r14 + 0x60]
test rax, rax
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0xb0], rbp
jle 0x4f000b
lea rax, [rcx + 0x58]
mov qword [rsp + 0x98], rax
xor edi, edi
xorps xmm6, xmm6
xor r14d, r14d
xor eax, eax
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [rsp + 0x58], rax
jmp 0x4efa1d
mov rax, qword [r15 + 0x28]
mov rcx, qword [rsp + 0x80]
xor rcx, rax
not rcx
test rcx, rax
je 0x4efab3
nop word cs:[rax + rax]
nop dword [rax]
add r15, 0x38
cmp r15, rbx
jae 0x4f0017
movzx eax, word [r15 + 0x12]
mov ecx, eax
xor ecx, 0xfffd
test cx, ax
jne 0x4efa40
movzx eax, byte [r8 + 0x3c]
mov ecx, eax
not ecx
or ecx, 0xffffffbf
cmp ecx, 0xffffffff
je 0x4efa88
mov eax, dword [r8 + 0x44]
cmp dword [r15 + 0x1c], eax
jne 0x4efa10
mov ecx, dword [r15 + 0x14]
mov edx, ecx
xor edx, 0xff7d
test dx, cx
je 0x4efa10
movzx ecx, byte [r8 + 0x3c]
not cl
or cl, 0xa7
cmp cl, 0xff
je 0x4ef9e8
mov rcx, qword [r15]
mov ebp, dword [rcx + 4]
mov edx, ebp
xor edx, 0xfffffffc
test edx, ebp
je 0x4efa10
cmp dword [rcx + 0x34], eax
je 0x4ef9e8
jmp 0x4efa10
mov rsi, qword [r15]
mov ecx, dword [rsi + 4]
mov edx, eax
xor edx, 0xf7
and ecx, 1
test edx, eax
je 0x4efb70
test ecx, ecx
je 0x4efa40
mov eax, dword [rsi + 0x34]
cmp eax, dword [r8 + 0x44]
jne 0x4efa40
jmp 0x4efb7c
mov esi, dword [r15 + 0x20]
test esi, esi
js 0x4efa10
mov rax, qword [r8 + 0x20]
mov rax, qword [rax + 8]
lea rbx, [rsi + rsi*2]
movzx edx, byte [rax + rbx*8 + 0xc]
mov rcx, qword [r15]
call fcn.004fd1d0
test eax, eax
je 0x4efc6b
mov r12d, 1
mov ecx, esi
shl r12, cl
cmp esi, 0x3f
movabs rax, 0x8000000000000000
cmovg r12, rax
cmp byte [rsp + 0x60], 0
mov r8, qword [rsp + 0x40]
jne 0x4efb2e
mov rax, qword [rsp + 0x68]
mov r8, qword [rax]
mov rax, qword [rax + 8]
mov r9, qword [rax + rbx*8]
mov ecx, 0x11c
lea rdx, [0x006044e0]
call fcn.00408970
mov r8, qword [rsp + 0x40]
mov rbp, r12
not rbp
mov rsi, r14
not rsi
mov r13, rbp
or r13, rsi
mov al, 1
mov qword [rsp + 0x60], rax
cmp r13, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
jne 0x4efa10
mov rcx, qword [rsp + 0x78]
movzx eax, word [rcx + 0x40]
cmp edi, eax
jge 0x4efc8e
mov rdx, qword [rcx + 0x48]
jmp 0x4effab
test ecx, ecx
jne 0x4efa40
mov eax, dword [r8 + 0x44]
mov word [rsp + 0xe4], 3
lea rcx, [0x004ce7b0]
mov qword [rsp + 0xc8], rcx
lea rcx, [0x004cea20]
mov qword [rsp + 0xd0], rcx
mov dword [rsp + 0xe8], eax
lea rcx, [rsp + 0xc0]
mov rdx, rsi
call fcn.004cea30
cmp word [rsp + 0xe4], 0
je 0x4efc7f
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call fcn.004d3ed0
mov r12, rax
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x4efc7a
test r12, r12
mov rbx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
je 0x4efa40
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rcx]
mov eax, dword [rax + 4]
mov edx, eax
xor edx, 0xdffffffe
and edx, eax
cmp edx, 0x20000000
je 0x4efc38
mov eax, dword [r12 + 4]
mov edx, eax
xor edx, 0xdffffffe
and edx, eax
cmp edx, 0x20000000
jne 0x4efc45
cmp byte [rcx + 0x124], 1
jbe 0x4efd2b
mov edx, 0x2c
mov r8, qword [rsp + 0x58]
mov r9, r12
call fcn.004997c0
mov r8, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
jmp 0x4efa40
mov rbx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
jmp 0x4efa10
mov qword [rsp + 0x58], r12
mov rbx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
jmp 0x4efa40
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
lea eax, [rdi + 8]
mov ebx, eax
xor ebx, 7
and ebx, eax
movsxd rdx, ebx
shl rdx, 3
mov qword [rsp + 0xa8], rcx
call fcn.00429840
test rax, rax
je 0x4f0619
mov dword [rsp + 0x8c], ebx
mov rbx, qword [rsp + 0x78]
mov rdx, qword [rbx + 0x48]
movzx r8d, word [rbx + 0x40]
shl r8, 3
mov qword [rsp + 0x90], rax
mov rcx, rax
call fcn.005f4c20
mov rdx, qword [rbx + 0x48]
cmp rdx, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
je 0x4eff8f
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x4efef4
cmp qword [rcx + 0x300], 0
je 0x4efed1
call fcn.004297f0
jmp 0x4eff85
mov rax, qword [rcx + 0x58]
test rax, rax
je 0x4efd6c
movsxd rcx, dword [rax]
cmp dword [rax + 4], ecx
jle 0x4efdc7
lea edx, [rcx + 1]
mov dword [rax], edx
shl rcx, 5
movups xmmword [rax + rcx + 0x10], xmm6
mov qword [rax + rcx + 0x20], 0
mov rdx, qword [rsp + 0x58]
mov qword [rax + rcx + 8], rdx
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x58], rax
jmp 0x4efd87
mov rcx, rbx
mov rdx, qword [rsp + 0x58]
call fcn.0050cd80
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x58], rax
test rax, rax
je 0x4efde5
movsxd rcx, dword [rax]
cmp dword [rax + 4], ecx
jle 0x4efdb2
lea edx, [rcx + 1]
mov dword [rax], edx
shl rcx, 5
movups xmmword [rax + rcx + 0x10], xmm6
mov qword [rax + rcx + 0x20], 0
mov qword [rax + rcx + 8], r12
mov rsi, qword [rsp + 0x50]
jmp 0x4efdf5
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsi]
mov rdx, rax
mov r8, r12
call fcn.0050ce50
jmp 0x4efdf5
mov rcx, rbx
mov rdx, rax
mov r8, qword [rsp + 0x58]
call fcn.0050ce50
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x58], rax
test rax, rax
jne 0x4efd87
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsi]
mov rdx, r12
call fcn.0050cd80
mov qword [rsi + 0x58], rax
mov dword [rsp + 0xc0], 0
lea rcx, [0x00602f63]
lea rdx, [rsp + 0xc0]
call fcn.0047a900
mov esi, eax
xor eax, eax
test esi, esi
sete al
lea rdx, [rax + rax]
add rdx, 0x48
mov rcx, rbx
call fcn.00429840
test rax, rax
mov rcx, rax
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
je 0x4efa40
movups xmmword [rax], xmm6
movups xmmword [rax + 0x30], xmm6
movups xmmword [rax + 0x20], xmm6
movups xmmword [rax + 0x10], xmm6
mov qword [rax + 0x40], 0
mov byte [rax], 0x9b
mov word [rax + 0x32], 0xffff
test esi, esi
je 0x4efea8
mov eax, dword [rsp + 0xc0]
xor ecx, ecx
test eax, eax
sete cl
shl ecx, 0x1c
add ecx, 0x10800800
mov rdx, qword [rsp + 0x58]
mov dword [rdx + 4], ecx
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x28], 1
jmp 0x4efa40
mov rax, qword [rsp + 0x58]
add rax, 0x48
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x58]
mov word [rax + 0x48], 0x30
mov dword [rax + 0x28], 1
jmp 0x4efa40
cmp qword [rcx + 0x1f0], rdx
jbe 0x4efef4
cmp qword [rcx + 0x1e0], rdx
jbe 0x4effe5
cmp qword [rcx + 0x1e8], rdx
jbe 0x4efff8
test rdx, rdx
je 0x4eff8f
cmp dword [0x005f6010], 0
je 0x4eff7c
mov rcx, qword [0x0213b0e8]
test rcx, rcx
je 0x4eff1e
mov rbx, rdx
call qword [0x005f6090]
mov rdx, rbx
mov rcx, rdx
mov rbx, rdx
call qword [0x005f6048]
mov rcx, qword [0x0213b040]
cdqe
movabs rdx, 0xb2eb37289f53d18b
sub rcx, rdx
sub rcx, rax
add rcx, rdx
mov qword [0x0213b040], rcx
add qword [0x0213b088], 0xffffffffffffffff
mov rcx, rbx
call qword [0x005f6038]
mov rcx, qword [0x0213b0e8]
test rcx, rcx
mov rbx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
je 0x4eff8f
call qword [0x005f60a0]
jmp 0x4eff85
mov rcx, rdx
call qword [0x005f6038]
mov r8, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x90]
mov qword [rax + 0x48], rdx
mov ecx, dword [rsp + 0x8c]
mov word [rax + 0x40], cx
movsxd rax, edi
add edi, 1
mov qword [rdx + rax*8], r15
movabs rcx, 0x6d83f3c56b4546d4
mov rax, rcx
not rax
and rbp, rcx
and r12, rax
or r12, rbp
and rsi, rcx
and r14, rax
or r14, rsi
xor r14, r12
not r13
or r14, r13
jmp 0x4efa10
mov rax, qword [rcx + 0x1d8]
mov qword [rdx], rax
mov qword [rcx + 0x1d8], rdx
jmp 0x4eff8f
mov rax, qword [rcx + 0x1c8]
mov qword [rdx], rax
mov qword [rcx + 0x1c8], rdx
jmp 0x4eff8f
xor eax, eax
mov qword [rsp + 0x58], rax
xor r14d, r14d
xor edi, edi
mov rax, qword [rsp + 0x78]
mov word [rax + 0x3c], di
mov word [rax + 0x18], di
mov dword [rax + 0x38], 0x4241
mov r8, qword [r8 + 0x50]
mov rax, r14
movabs rbp, 0x8000000000000000
and rax, rbp
xor r14, rbp
or r14, rax
mov rax, r14
not rax
movabs rcx, 0xb3924ca14ae27843
and rax, rcx
mov rdx, rbp
neg rdx
and rdx, rcx
not rcx
and r14, rcx
or r14, rax
lea r15, [rbp - 1]
and r15, rcx
or r15, rdx
xor r15, r14
mov rax, r8
not rax
not r15
or r15, rax
not r15
mov rax, qword [rsp + 0x68]
movsx eax, word [rax + 0x36]
cmp eax, 0x40
mov ecx, 0x3f
cmovl ecx, eax
mov qword [rsp + 0x60], rax
test eax, eax
mov dword [rsp + 0x8c], ecx
jle 0x4f0216
test ecx, ecx
mov eax, 1
cmovg eax, ecx
movabs rcx, 0x53470a52369d6696
mov rdx, rcx
not rdx
add rdx, rax
add rdx, rcx
mov ebx, eax
xor ebx, 0xfffffffc
and ebx, eax
mov r12, r15
not r12
cmp rdx, 3
jae 0x4f00e8
xor eax, eax
jmp 0x4f01d3
movabs r9, 0x9857a85e3db4e6ee
movabs r10, 0x69c1bf232aecbcfc
movabs rcx, 0x3e17f0c1d708f3d2
mov r11d, eax
xor r11d, 0x80000003
and r11d, eax
xor eax, eax
mov r14, rcx
not r14
or r14, rcx
mov rdx, r11
nop word cs:[rax + rax]
nop dword [rax + rax]
mov rcx, r12
btc rcx, rax
bt rcx, rax
adc edi, 0
mov ebp, eax
and ebp, 1
mov ecx, eax
xor ecx, 1
or ecx, ebp
mov rbp, 0xfffffffffffffffe
rol rbp, cl
or rbp, r12
not rbp
and rbp, r14
cmp rbp, 1
sbb edi, 0xffffffff
mov ebp, eax
and ebp, 2
mov ecx, eax
xor ecx, 2
or ecx, ebp
mov rbp, 0xfffffffffffffffe
rol rbp, cl
mov rcx, r9
not rcx
or rbp, r12
or rcx, r9
not rbp
and rbp, rcx
mov esi, eax
and esi, 3
mov ecx, eax
xor ecx, 3
or ecx, esi
mov rsi, 0xfffffffffffffffe
rol rsi, cl
mov rcx, r10
not rcx
or rsi, r12
or rcx, r10
not rsi
and rsi, rcx
cmp rbp, 1
sbb edi, 0xffffffff
cmp rsi, 1
sbb edi, 0xffffffff
add rax, 4
add rdx, 0xfffffffffffffffc
cmp r11, rax
jne 0x4f0130
test rbx, rbx
je 0x4f0216
movabs rcx, 0xcc3a7697ee7399d4
mov rdx, rcx
not rdx
or rdx, rcx
nop
mov rbp, 0xfffffffffffffffe
mov ecx, eax
rol rbp, cl
or rbp, r12
not rbp
and rbp, rdx
cmp rbp, 1
sbb edi, 0xffffffff
add rax, 1
add rbx, 0xffffffffffffffff
jne 0x4f01f0
mov rax, qword [rsp + 0x60]
add eax, 0xffffffc2
test r8, r8
mov ebx, 1
cmovs ebx, eax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
add ebx, edi
movsx rdi, bx
lea r14, [rdi*8]
add rdi, rdi
movabs rax, 0xe7db22c40c3c1349
mov rdx, rdi
sub rdx, rax
lea rbp, [rdx + rax]
add rbp, 2
mov qword [rsp + 0x98], rbx
movsx eax, bx
add eax, edi
add eax, ebp
add eax, 7
mov edx, eax
xor edx, 7
and edx, eax
lea eax, [r14 + rdx]
add eax, 0x70
movsxd rsi, eax
test rcx, rcx
je 0x4f0605
mov rdx, rsi
call fcn.00429840
mov r13, rax
test rax, rax
je 0x4f0619
xor r12d, r12d
mov rcx, r13
xor edx, edx
mov r8, rsi
call fcn.005f4c10
lea rax, [r13 + 0x70]
mov qword [r13 + 0x40], rax
lea rax, [r14 + r13]
add rax, 0x70
mov qword [r13 + 0x10], rax
add rbp, rax
mov qword [r13 + 8], rbp
add rbp, rdi
mov qword [r13 + 0x38], rbp
mov rax, qword [rsp + 0x98]
mov word [r13 + 0x60], ax
add eax, 0xffffffff
mov word [r13 + 0x5e], ax
mov rax, qword [rsp + 0x78]
mov qword [rax + 0x20], r13
lea rax, [0x006044fa]
mov qword [r13], rax
mov rax, qword [rsp + 0x68]
mov qword [r13 + 0x18], rax
mov rax, qword [rsp + 0xb0]
mov r14, qword [rax + 0x20]
mov rbp, qword [rsp + 0x48]
cmp r14, rbp
mov rbx, qword [rsp + 0x40]
jae 0x4f0597
xor r12d, r12d
movabs rdi, 0xf6f313bb6a56759
xor eax, eax
mov qword [rsp + 0x90], rax
jmp 0x4f036d
mov rax, qword [r14 + 0x28]
not rax
mov rcx, qword [rsp + 0x80]
not rcx
or rcx, rax
mov rax, rdi
not rax
or rax, rdi
not rcx
test rcx, rax
je 0x4f03ad
add r14, 0x38
cmp r14, rbp
jae 0x4f0597
mov eax, dword [rbx + 0x44]
cmp dword [r14 + 0x1c], eax
jne 0x4f0360
mov ecx, dword [r14 + 0x14]
not ecx
or ecx, 0xff7d
cmp cx, 0xffff
je 0x4f0360
movzx ecx, byte [rbx + 0x3c]
not cl
or cl, 0xa7
cmp cl, 0xff
je 0x4f0336
mov rcx, qword [r14]
mov edx, dword [rcx + 4]
not edx
or edx, 0xfffffffc
cmp edx, 0xffffffff
je 0x4f0360
cmp dword [rcx + 0x34], eax
je 0x4f0336
jmp 0x4f0360
mov esi, dword [r14 + 0x20]
test esi, esi
js 0x4f0360
mov rax, qword [rbx + 0x20]
mov rax, qword [rax + 8]
lea rcx, [rsi + rsi*2]
movzx edx, byte [rax + rcx*8 + 0xc]
mov rdi, qword [r14]
mov rcx, rdi
call fcn.004fd1d0
test eax, eax
je 0x4f040d
mov ebp, 1
mov ecx, esi
shl rbp, cl
cmp esi, 0x3f
movabs rax, 0x8000000000000000
cmovg rbp, rax
mov rax, rbp
not rax
mov rbx, qword [rsp + 0x90]
mov rcx, rbx
not rcx
or rcx, rax
cmp rcx, 0xffffffffffffffff
je 0x4f0426
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
movabs rdi, 0xf6f313bb6a56759
jmp 0x4f0360
mov r8, rbp
and r8, rbx
xor rbp, rbx
mov rax, qword [r13 + 8]
movsxd r12, r12d
mov word [rax + r12*2], si
mov eax, dword [rdi + 4]
mov rdx, qword [rdi + 0x10]
mov rsi, qword [rdi + 0x18]
not eax
or eax, 0xfffffbff
cmp eax, 0xffffffff
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa8], r8
je 0x4f047b
mov eax, dword [rsi + 4]
mov ecx, eax
xor ecx, 0xfffffdff
test ecx, eax
je 0x4f04ce
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
jmp 0x4f04e7
mov eax, dword [rdx + 4]
not eax
or eax, 0xfffffdff
cmp eax, 0xffffffff
jne 0x4f04e2
test rsi, rsi
je 0x4f049e
mov eax, dword [rsi + 4]
mov ecx, eax
xor ecx, 0xfffffdff
test ecx, eax
jne 0x4f0471
mov rcx, qword [rsp + 0x50]
call fcn.0047fd40
test rax, rax
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
movabs rdi, 0xf6f313bb6a56759
jne 0x4f050c
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
jmp 0x4f0573
test rdx, rdx
je 0x4f0538
mov eax, dword [rdx + 4]
not eax
or eax, 0xfffffdff
cmp eax, 0xffffffff
je 0x4f0538
mov rcx, qword [rsp + 0x50]
call fcn.0047fd40
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
movabs rdi, 0xf6f313bb6a56759
lea rcx, [0x005fc4bb]
test rax, rax
je 0x4f050f
mov rcx, qword [rax]
mov rdx, qword [rsp + 0xa8]
or rdx, qword [rsp + 0x90]
mov rax, qword [r13 + 0x40]
mov qword [rax + r12*8], rcx
add r12d, 1
mov qword [rsp + 0x90], rdx
jmp 0x4f0360
mov qword [rsp + 0xb8], rdx
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
call fcn.0047fd40
test rax, rax
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
movabs rdi, 0xf6f313bb6a56759
jne 0x4f050c
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0xb8]
call fcn.0047fd40
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
lea rcx, [0x005fc4bb]
test rax, rax
jne 0x4f050c
jmp 0x4f050f
cmp word [rsp + 0x60], 0
jle 0x4f0631
mov ecx, dword [rsp + 0x8c]
test ecx, ecx
mov eax, 1
cmovg eax, ecx
xor ecx, ecx
lea rdx, [0x005fc4bb]
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x70]
jmp 0x4f05d9
add rcx, 1
cmp rax, rcx
je 0x4f063b
mov rbp, r15
btc rbp, rcx
not rbp
bt rbp, rcx
jae 0x4f05d0
mov rbp, qword [r13 + 8]
movsxd r12, r12d
mov word [rbp + r12*2], cx
mov rbp, qword [r13 + 0x40]
mov qword [rbp + r12*8], rdx
add r12d, 1
jmp 0x4f05d0
mov rcx, rsi
call fcn.00404550
mov r13, rax
test rax, rax
jne 0x4f029a
mov rbp, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
jne 0x4f0ede
jmp 0x4f0ee7
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x70]
cmp qword [rbx + 0x50], 0
jns 0x4f0680
mov rbp, qword [rsp + 0x68]
cmp word [rbp + 0x36], 0x40
jl 0x4f0680
movsxd r12, r12d
mov eax, 0x3f
lea rcx, [0x005fc4bb]
nop dword [rax]
mov rdx, qword [r13 + 8]
mov word [rdx + r12*2], ax
mov rdx, qword [r13 + 0x40]
mov qword [rdx + r12*8], rcx
add r12, 1
add eax, 1
movsx edx, word [rbp + 0x36]
cmp eax, edx
jl 0x4f0660
mov rax, qword [r13 + 8]
movsxd rcx, r12d
mov word [rax + rcx*2], 0xffff
mov rax, qword [r13 + 0x40]
lea rdx, [0x005fc4bb]
mov qword [rax + rcx*8], rdx
mov r8d, dword [r14 + 0x34]
lea eax, [r8 + 1]
mov dword [r14 + 0x34], eax
mov rax, qword [rsp + 0x170]
mov dword [rax + 8], r8d
movsxd rax, dword [rdi + 0x90]
cmp dword [rdi + 0x94], eax
jle 0x4f0702
lea ecx, [rax + 1]
mov dword [rdi + 0x90], ecx
mov rcx, qword [rdi + 0x88]
lea rax, [rax + rax*2]
mov dword [rcx + rax*8], 0x74
mov dword [rcx + rax*8 + 4], r8d
mov rdx, qword [rsp + 0x98]
mov dword [rcx + rax*8 + 8], edx
mov dword [rcx + rax*8 + 0xc], 0
mov qword [rcx + rax*8 + 0x10], 0
jmp 0x4f071f
mov dword [rsp + 0x20], 0
mov rcx, rdi
mov edx, 0x74
mov r9, qword [rsp + 0x98]
call fcn.0047df60
mov rsi, qword [r14 + 0x10]
mov rcx, r14
mov rdx, r13
call fcn.004c65a0
test rax, rax
je 0x4f076c
mov rcx, qword [rsi]
cmp byte [rcx + 0x67], 0
je 0x4f074b
mov edx, 0xfffffff8
mov r8, rax
call fcn.00444fc0
jmp 0x4f076c
mov rcx, qword [rsi + 0x88]
mov edx, dword [rsi + 0x90]
add edx, 0xffffffff
movsxd rdx, edx
lea rdx, [rdx + rdx*2]
mov byte [rcx + rdx*8 + 1], 0xf8
mov qword [rcx + rdx*8 + 0x10], rax
mov rax, qword [r14]
mov eax, dword [rax + 0x60]
not eax
or eax, 0xfff7ffff
cmp eax, 0xffffffff
jne 0x4f07fa
mov r9d, dword [r14 + 0x38]
add r9d, 1
mov dword [r14 + 0x38], r9d
mov rax, qword [rsp + 0x170]
mov dword [rax + 0x34], r9d
movsxd rax, dword [rdi + 0x90]
cmp dword [rdi + 0x94], eax
jle 0x4f07df
lea ecx, [rax + 1]
mov dword [rdi + 0x90], ecx
mov rcx, qword [rdi + 0x88]
lea rax, [rax + rax*2]
movabs rdx, 0x27100000004d
mov qword [rcx + rax*8], rdx
mov dword [rcx + rax*8 + 8], r9d
mov dword [rcx + rax*8 + 0xc], 0
mov qword [rcx + rax*8 + 0x10], 0
jmp 0x4f07fa
mov dword [rsp + 0x20], 0
mov rcx, rdi
mov edx, 0x4d
mov r8d, 0x2710
call fcn.0047df60
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rbp, qword [rax + 8]
mov rdx, qword [rsp + 0x170]
movzx eax, byte [rdx + 0x40]
imul rbx, rax, 0x68
mov eax, dword [rbp + rbx + 0x48]
mov ecx, eax
xor ecx, 0xffffffdf
test ecx, eax
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x40], rbx
je 0x4f087a
mov esi, dword [rbp + rbx + 0x3c]
mov eax, dword [rdi + 0x90]
cmp dword [rdi + 0x94], eax
jle 0x4f08db
movsxd rdx, eax
lea ecx, [rdx + 1]
mov dword [rdi + 0x90], ecx
mov rcx, qword [rdi + 0x88]
lea rdx, [rdx + rdx*2]
mov byte [rcx + rdx*8], 0x47
xorps xmm0, xmm0
movups xmmword [rcx + rdx*8 + 1], xmm0
mov qword [rcx + rdx*8 + 0x10], 0
jmp 0x4f0903
mov r8d, dword [rdx + 4]
mov eax, dword [rdi + 0x90]
cmp dword [rdi + 0x94], eax
jle 0x4f09ea
movsxd rdx, eax
lea ecx, [rdx + 1]
mov dword [rdi + 0x90], ecx
mov rcx, qword [rdi + 0x88]
lea rdx, [rdx + rdx*2]
mov dword [rcx + rdx*8], 0x23
mov dword [rcx + rdx*8 + 4], r8d
xorps xmm0, xmm0
movups xmmword [rcx + rdx*8 + 8], xmm0
mov dword [rsp + 0x48], 0
mov rdx, qword [rsp + 0x58]
test rdx, rdx
mov qword [rsp + 0x68], rax
jne 0x4f0a19
jmp 0x4f09d2
mov dword [rsp + 0x20], 0
mov rcx, rdi
mov edx, 0x47
xor r8d, r8d
xor r9d, r9d
call fcn.0047df60
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x80]
mov ebp, dword [rbp + rbx + 0x38]
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
mov dword [rsp + 0x48], eax
jle 0x4f0974
lea edx, [rcx + 1]
mov dword [rdi + 0x90], edx
mov rdx, qword [rdi + 0x88]
lea rcx, [rcx + rcx*2]
mov dword [rdx + rcx*8], 0xa
mov dword [rdx + rcx*8 + 4], esi
mov dword [rdx + rcx*8 + 8], 0
mov dword [rdx + rcx*8 + 0xc], ebp
mov qword [rdx + rcx*8 + 0x10], 0
mov eax, dword [rdi + 0x90]
cmp dword [rdi + 0x94], eax
jg 0x4f0999
mov dword [rsp + 0x20], 0
mov rcx, rdi
mov edx, 0xb
mov r8d, esi
jmp 0x4f0a02
mov dword [rsp + 0x20], ebp
mov rcx, rdi
mov edx, 0xa
mov r8d, esi
xor r9d, r9d
call fcn.0047df60
mov eax, dword [rdi + 0x90]
cmp dword [rdi + 0x94], eax
jle 0x4f095c
movsxd rdx, eax
lea ecx, [rdx + 1]
mov dword [rdi + 0x90], ecx
mov rcx, qword [rdi + 0x88]
lea rdx, [rdx + rdx*2]
mov dword [rcx + rdx*8], 0xb
mov dword [rcx + rdx*8 + 4], esi
xorps xmm0, xmm0
movups xmmword [rcx + rdx*8 + 8], xmm0
mov rdx, qword [rsp + 0x58]
test rdx, rdx
mov qword [rsp + 0x68], rax
jne 0x4f0a19
xor r15d, r15d
mov al, byte [r14 + 0x1f]
test al, al
jne 0x4f0a58
mov ebx, dword [r14 + 0x38]
add ebx, 1
mov dword [r14 + 0x38], ebx
jmp 0x4f0a69
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x48], 0
mov rcx, rdi
mov edx, 0x23
xor r9d, r9d
call fcn.0047df60
mov rdx, qword [rsp + 0x58]
test rdx, rdx
mov qword [rsp + 0x68], rax
je 0x4f09d2
mov r15d, dword [r14 + 0x44]
add r15d, 0xffffffff
mov dword [r14 + 0x44], r15d
mov rcx, r14
mov r8d, r15d
mov r9d, 0x10
call fcn.004cdaa0
mov rdx, qword [rsp + 0x78]
mov eax, dword [rdx + 0x38]
mov ecx, eax
and ecx, 0x20000
xor eax, 0x20000
or eax, ecx
mov dword [rdx + 0x38], eax
mov al, byte [r14 + 0x1f]
test al, al
je 0x4f09dd
add al, 0xff
mov byte [r14 + 0x1f], al
movzx eax, al
mov ebx, dword [r14 + rax*4 + 0xd8]
mov rbp, qword [rsp + 0x170]
mov r8d, dword [rbp + 4]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x20], 0
mov rcx, r14
mov rdx, r13
mov r9d, ebx
call fcn.004e0ee0
mov r13d, eax
mov r8d, dword [rbp + 0x34]
test r8d, r8d
je 0x4f0b3c
mov rax, qword [rsp + 0x78]
movzx r14d, word [rax + 0x18]
mov eax, dword [rdi + 0x90]
cmp dword [rdi + 0x94], eax
jle 0x4f0b07
movsxd rcx, eax
lea edx, [rcx + 1]
mov dword [rdi + 0x90], edx
mov rdx, qword [rdi + 0x88]
lea rcx, [rcx + rcx*2]
mov dword [rdx + rcx*8], 0xb4
mov dword [rdx + rcx*8 + 4], r8d
mov dword [rdx + rcx*8 + 8], 0
mov dword [rdx + rcx*8 + 0xc], r13d
mov qword [rdx + rcx*8 + 0x10], 0
mov rcx, qword [rdi]
cmp byte [rcx + 0x67], 0
jne 0x4f0b3c
jmp 0x4f0b25
mov dword [rsp + 0x20], r13d
mov rcx, rdi
mov edx, 0xb4
xor r9d, r9d
call fcn.0047df60
mov rcx, qword [rdi]
cmp byte [rcx + 0x67], 0
jne 0x4f0b3c
mov rcx, qword [rdi + 0x88]
cdqe
lea rax, [rax + rax*2]
mov byte [rcx + rax*8 + 1], 0xfd
mov dword [rcx + rax*8 + 0x10], r14d
mov r8d, dword [rbp + 8]
movsxd rax, dword [rdi + 0x90]
cmp dword [rdi + 0x94], eax
mov dword [rsp + 0x60], ebx
jle 0x4f0b8a
lea ecx, [rax + 1]
mov dword [rdi + 0x90], ecx
mov rcx, qword [rdi + 0x88]
lea rax, [rax + rax*2]
mov dword [rcx + rax*8], 0x8a
mov dword [rcx + rax*8 + 4], r8d
mov dword [rcx + rax*8 + 8], ebx
mov dword [rcx + rax*8 + 0xc], 0
mov qword [rcx + rax*8 + 0x10], 0
jmp 0x4f0ba2
mov dword [rsp + 0x20], 0
mov rcx, rdi
mov edx, 0x8a
mov r9d, ebx
call fcn.0047df60
mov r9, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x40]
mov eax, dword [rdi + 0x90]
test eax, eax
mov ebx, dword [rsp + 0x48]
jle 0x4f0bd2
mov rcx, qword [rdi + 0x88]
lea edx, [rax - 1]
lea rdx, [rdx + rdx*2]
mov word [rcx + rdx*8 + 2], 0x10
lea r14, [r9 + rsi]
add r14, 0x48
cmp qword [rsp + 0x58], 0
je 0x4f0c1b
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rdx + 0x18]
not r15d
mov ebp, dword [rcx + 0x44]
add ebp, dword [rcx + 0x48]
js 0x4f0c02
mov rcx, qword [rcx + 0x50]
movsxd rdx, r15d
mov dword [rcx + rdx*4], eax
jmp 0x4f0c1b
mov r8d, r15d
call fcn.004d3e00
mov ebx, dword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r9, qword [rsp + 0x80]
mov eax, dword [r14]
mov ecx, eax
xor ecx, 0xffffffdf
test ecx, eax
je 0x4f0c58
test ebx, ebx
jns 0x4f0c39
mov rax, qword [rsp + 0x70]
mov ebx, dword [rax + 0x90]
add ebx, 0xffffffff
add r13d, r12d
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
cmp byte [rax + 0x67], 0
mov r15, qword [rsp + 0x68]
je 0x4f0cc0
lea rax, [0x0213b3e8]
jmp 0x4f0cd2
mov r15, qword [rsp + 0x68]
lea r9d, [r15 + 1]
mov rax, qword [rsp + 0x170]
mov r8d, dword [rax + 4]
mov rsi, qword [rsp + 0x70]
movsxd rax, dword [rsi + 0x90]
cmp dword [rsi + 0x94], eax
jle 0x4f0e2f
lea ecx, [rax + 1]
mov dword [rsi + 0x90], ecx
mov rcx, qword [rsi + 0x88]
lea rax, [rax + rax*2]
mov dword [rcx + rax*8], 0x26
mov dword [rcx + rax*8 + 4], r8d
mov dword [rcx + rax*8 + 8], r9d
mov dword [rcx + rax*8 + 0xc], 0
mov qword [rcx + rax*8 + 0x10], 0
jmp 0x4f0e44
movsxd rax, ebx
lea rax, [rax + rax*2]
shl rax, 3
add rax, qword [rcx + 0x88]
mov dword [rax + 8], r13d
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + 4]
mov r8d, dword [rcx + 8]
mov ebp, dword [r9 + rsi + 0x40]
mov rcx, qword [rsp + 0x50]
mov rdi, qword [rcx + 0x10]
mov ebx, r15d
test r15d, r15d
js 0x4f0d0d
mov rcx, qword [rdi]
cmp byte [rcx + 0x67], 0
je 0x4f0d1f
lea rbx, [0x0213b3e8]
jmp 0x4f0d31
mov ebx, dword [rdi + 0x90]
add ebx, 0xffffffff
mov rcx, qword [rdi]
cmp byte [rcx + 0x67], 0
jne 0x4f0d04
movsxd rcx, ebx
lea rbx, [rcx + rcx*2]
shl rbx, 3
add rbx, qword [rdi + 0x88]
mov edi, dword [rdi + 0x90]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
cmp byte [rcx + 0x67], 0
setne cl
cmp edi, r15d
setg dl
cmp dl, cl
je 0x4f0dae
sub edi, r15d
jle 0x4f0dae
mov esi, r15d
jmp 0x4f0d7c
mov byte [rbx], 0x7e
mov dword [rbx + 4], r8d
nop word cs:[rax + rax]
nop dword [rax + rax]
add esi, 1
add rbx, 0x18
add edi, 0xffffffff
je 0x4f0dae
cmp dword [rbx + 4], eax
jne 0x4f0d70
movzx ecx, byte [rbx]
cmp cl, 0x87
je 0x4f0d5a
cmp cl, 0x5e
jne 0x4f0d70
mov byte [rbx], 0x50
mov ecx, dword [rbx + 8]
add ecx, ebp
mov dword [rbx + 4], ecx
mov ecx, dword [rbx + 0xc]
mov dword [rbx + 8], ecx
mov dword [rbx + 0xc], 0
mov word [rbx + 2], 2
jmp 0x4f0d70
mov rsi, qword [rsp + 0x70]
movsxd rax, dword [rsi + 0x90]
cmp dword [rsi + 0x94], eax
jle 0x4f0df6
lea ecx, [rax + 1]
mov dword [rsi + 0x90], ecx
mov rcx, qword [rsi + 0x88]
lea rax, [rax + rax*2]
mov qword [rcx + rax*8], 8
mov dword [rcx + rax*8 + 8], r15d
mov dword [rcx + rax*8 + 0xc], 0
mov qword [rcx + rax*8 + 0x10], 0
jmp 0x4f0e11
mov dword [rsp + 0x20], 0
mov rcx, rsi
mov edx, 8
xor r8d, r8d
mov r9d, r15d
call fcn.0047df60
mov ebx, dword [rsp + 0x60]
mov eax, dword [r14]
mov ecx, eax
xor ecx, 0x20
and ecx, eax
mov dword [r14], ecx
mov eax, dword [rsi + 0x90]
mov rbp, qword [rsp + 0x50]
jmp 0x4f0e6c
mov dword [rsp + 0x20], 0
mov rcx, rsi
mov edx, 0x26
call fcn.0047df60
mov rbp, qword [rsp + 0x50]
mov ebx, dword [rsp + 0x60]
mov eax, dword [rsi + 0x90]
test eax, eax
jle 0x4f0e6c
mov rcx, qword [rsi + 0x88]
lea edx, [rax - 1]
lea rdx, [rdx + rdx*2]
mov word [rcx + rdx*8 + 2], 3
mov rcx, qword [rsi]
mov cl, byte [rcx + 0x67]
test cl, cl
je 0x4f0e86
lea rdx, [0x0213b3e8]
mov dword [rdx + 8], eax
test ebx, ebx
jne 0x4f0ea9
jmp 0x4f0ec6
lea edx, [rax - 1]
test r15d, r15d
cmovns edx, r15d
movsxd rdx, edx
lea rdx, [rdx + rdx*2]
shl rdx, 3
add rdx, qword [rsi + 0x88]
mov dword [rdx + 8], eax
test ebx, ebx
je 0x4f0ec6
movzx edx, byte [rbp + 0x1f]
cmp rdx, 7
ja 0x4f0ec6
lea eax, [rdx + 1]
mov byte [rbp + 0x1f], al
mov dword [rbp + rdx*4 + 0xd8], ebx
mov eax, dword [rsi + 0x90]
test cl, cl
je 0x4f0f03
lea rcx, [0x0213b3e8]
mov dword [rcx + 8], eax
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x4f0ee7
mov rcx, qword [rbp]
call fcn.00468370
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea ecx, [rax - 1]
mov edx, dword [rsp + 0xa4]
test edx, edx
cmovns ecx, edx
movsxd rcx, ecx
lea rcx, [rcx + rcx*2]
shl rcx, 3
add rcx, qword [rsi + 0x88]
mov dword [rcx + 8], eax
mov rdx, qword [rsp + 0x58]
test rdx, rdx
jne 0x4f0ede
jmp 0x4f0ee7