Function at 0x4af560
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4afb10
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
mov ebx, 8
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [esi]
mov edx, dword [esi + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 4]
test edx, edx
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x34], eax
movzx eax, byte [esi + 0x34]
mov byte [ebp - 0x21], al
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, 8
je 0x4af6ab
xor ebx, ebx
cmp edx, 0x10000000
setb al
jae 0x4af92f
mov bl, al
lea ecx, [edx*8]
shl ebx, 3
test ecx, ecx
js 0x4af92f
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x20], edx
je 0x4af661
movzx eax, byte [0x636fbd]
push ebx
mov esi, ecx
push ecx
call fcn.00452e20
mov edx, dword [ebp - 0x20]
add esp, 8
test eax, eax
je 0x4af669
mov esi, edx
lea ecx, [edx - 1]
and esi, 0x1fffffff
cmp esi, ecx
cmovae esi, ecx
xor ebx, ebx
cmp esi, 4
jb 0x4af675
mov ecx, eax
sub ecx, edi
cmp ecx, 0x10
mov ecx, edx
mov edx, edi
jb 0x4af679
inc esi
mov edx, 2
mov ecx, esi
mov ebx, esi
and ecx, 1
cmovne edx, ecx
mov ecx, dword [ebp - 0x20]
xor esi, esi
sub ebx, edx
lea edx, [edi + ebx*8]
sub ecx, ebx
nop word [eax + eax]
movups xmm0, xmmword [edi + esi*8]
movups xmmword [eax + esi*8], xmm0
add esi, 2
cmp ebx, esi
jne 0x4af650
jmp 0x4af679
mov esi, ecx
mov eax, ebx
test eax, eax
jne 0x4af60a
push esi
push ebx
call fcn.005b14d0
add esp, 8
ud2
mov ecx, edx
mov edx, edi
mov esi, dword [ebp - 0x20]
lea esi, [edi + esi*8]
lea edi, [eax + ebx*8]
mov ebx, 8
nop word [eax + eax]
cmp edx, esi
je 0x4af6a5
movsd xmm0, qword [edx]
add edx, 8
dec ecx
movsd qword [edi], xmm0
lea edi, [edi + 8]
jne 0x4af690
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x20]
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
test ecx, ecx
je 0x4af7bb
xor ebx, ebx
cmp ecx, 0x10000000
setb al
jae 0x4af936
mov bl, al
lea edx, [ecx*8]
shl ebx, 3
test edx, edx
js 0x4af944
mov edi, dword [esi + 0x1c]
mov dword [ebp - 0x20], ecx
je 0x4af761
movzx eax, byte [0x636fbd]
push ebx
mov esi, edx
push edx
call fcn.00452e20
mov ecx, dword [ebp - 0x20]
add esp, 8
test eax, eax
mov dword [ebp - 0x28], eax
je 0x4af76c
mov esi, ecx
lea eax, [ecx - 1]
and esi, 0x1fffffff
cmp esi, eax
cmovae esi, eax
xor edx, edx
cmp esi, 4
jb 0x4af782
mov ebx, dword [ebp - 0x28]
mov eax, ebx
sub eax, edi
cmp eax, 0x10
mov eax, ecx
mov ecx, edi
jb 0x4af789
inc esi
mov ecx, 2
mov eax, esi
mov edx, esi
and eax, 1
cmovne ecx, eax
mov eax, dword [ebp - 0x20]
xor esi, esi
sub edx, ecx
lea ecx, [edi + edx*8]
sub eax, edx
nop dword [eax]
movups xmm0, xmmword [edi + esi*8]
movups xmmword [ebx + esi*8], xmm0
add esi, 2
cmp edx, esi
jne 0x4af750
jmp 0x4af789
mov esi, edx
mov eax, ebx
test eax, eax
mov dword [ebp - 0x28], eax
jne 0x4af709
mov dword [ebp - 0x10], 0
push esi
push ebx
call fcn.005b14d0
add esp, 8
jmp 0x4af96c
mov ebx, dword [ebp - 0x28]
mov eax, ecx
mov ecx, edi
mov esi, dword [ebp - 0x20]
lea edx, [ebx + edx*8]
lea esi, [edi + esi*8]
nop word cs:[eax + eax]
nop dword [eax]
cmp ecx, esi
je 0x4af7b5
movsd xmm0, qword [ecx]
add ecx, 8
dec eax
movsd qword [edx], xmm0
lea edx, [edx + 8]
jne 0x4af7a0
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
mov edx, dword [esi + 0x30]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
test edx, edx
mov dword [ebp - 0x20], edx
je 0x4af871
xor ebx, ebx
cmp edx, 0x10000000
setb al
jae 0x4af952
mov bl, al
lea ecx, [edx*8]
shl ebx, 3
test ecx, ecx
js 0x4af960
mov edi, dword [esi + 0x28]
je 0x4af878
movzx eax, byte [0x636fbd]
push ebx
mov esi, ecx
push ecx
call fcn.00452e20
mov edx, dword [ebp - 0x20]
add esp, 8
test eax, eax
je 0x4af880
mov esi, edx
lea ecx, [edx - 1]
and esi, 0x1fffffff
cmp esi, ecx
cmovae esi, ecx
xor ebx, ebx
cmp esi, 4
jb 0x4af896
mov ecx, eax
sub ecx, edi
cmp ecx, 0x10
mov ecx, edx
mov edx, edi
jb 0x4af89a
inc esi
mov edx, 2
mov ecx, esi
mov ebx, esi
and ecx, 1
cmovne edx, ecx
mov ecx, dword [ebp - 0x20]
xor esi, esi
sub ebx, edx
lea edx, [edi + ebx*8]
sub ecx, ebx
nop word cs:[eax + eax]
movups xmm0, xmmword [edi + esi*8]
movups xmmword [eax + esi*8], xmm0
add esi, 2
cmp ebx, esi
jne 0x4af860
jmp 0x4af89a
mov eax, 8
jmp 0x4af8c8
mov esi, ecx
mov eax, ebx
test eax, eax
jne 0x4af816
mov dword [ebp - 0x10], 1
push esi
push ebx
call fcn.005b14d0
add esp, 8
jmp 0x4af96c
mov ecx, edx
mov edx, edi
mov esi, dword [ebp - 0x20]
lea esi, [edi + esi*8]
lea edi, [eax + ebx*8]
nop word cs:[eax + eax]
nop dword [eax]
cmp edx, esi
je 0x4af8c5
movsd xmm0, qword [edx]
add edx, 8
dec ecx
movsd qword [edi], xmm0
lea edi, [edi + 8]
jne 0x4af8b0
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x44]
movzx ebx, byte [ebp - 0x21]
mov edi, dword [ebp - 0x48]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x38]
mov dword [ecx], edx
mov edx, dword [ebp - 0x34]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x3c]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [ebp - 0x50]
mov dword [ecx + 0x18], edx
mov byte [ecx + 0x34], bl
mov dword [ecx + 0x24], edi
movsd qword [ecx + 0x1c], xmm0
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], eax
movzx eax, byte [esi + 0x35]
mov byte [ecx + 0x35], al
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ecx
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00538200
ud2
mov dword [ebp - 0x10], 0
call fcn.00538200
jmp 0x4af96c
mov dword [ebp - 0x10], 0
call fcn.00538200
jmp 0x4af96c
mov dword [ebp - 0x10], 1
call fcn.00538200
jmp 0x4af96c
mov dword [ebp - 0x10], 1
call fcn.00538200
ud2