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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov esi, ecx
lea ecx, [ebp - 0x18]
xor ebx, ebx
mov dword [ecx - 4], esp
mov dword [ecx + 8], 0xffffffff
mov dword [ecx + 4], 0x4169d0
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
lea ecx, [esi + 0xd0]
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xc8], ebx
mov dword [ebp - 0x30], ecx
call fcn.0040772e
movaps xmm0, xmmword [0x4b2460]
lea edi, [esi + 0x234]
xor eax, eax
mov ecx, 0x12
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1d8], ebx
movups xmmword [esi + 0x1dc], xmm0
movups xmmword [esi + 0x1ec], xmm0
movups xmmword [esi + 0x1fc], xmm0
movups xmmword [esi + 0x20c], xmm0
movups xmmword [esi + 0x21c], xmm0
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
lea ecx, [esi + 0x284]
mov dword [eax + 8], ebx
mov eax, 0x1830
mov dword [ebp - 0x28], ecx
add eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x20], esi
call fcn.00415bb0
mov ecx, dword [ebp - 0x20]
movaps xmm0, xmmword [0x4b2460]
lea eax, [ecx + 0x34]
mov dword [ebp - 0x34], eax
lea eax, [ecx + 0x318]
mov dword [ebp - 0x38], eax
mov eax, 0xffffffe0
movups xmmword [ecx + eax + 0x338], xmm0
add eax, 0x10
jne 0x40e7dd
push dword [ebp + 0xc]
call fcn.0049fb00
add esp, 4
mov ecx, dword [0x560dac]
inc dword [0x560da8]
inc eax
mov dword [ebp - 0x10], 1
push ecx
mov dword [ebp - 0x24], eax
push eax
call dword [0x554020]
add esp, 8
mov esi, eax
push dword [ebp - 0x24]
mov ebx, dword [ebp + 0xc]
push ebx
push eax
call fcn.0048b1e0
add esp, 0xc
mov eax, dword [ebp - 0x20]
xor edi, edi
mov dword [eax], esi
mov esi, eax
push edi
push edi
push ebx
call fcn.0040206f
add esp, 0xc
mov dword [esi + 4], eax
mov ecx, dword [esi + 0x1d0]
cmp ecx, dword [esi + 0x1d4]
jne 0x40e8fc
lea ebx, [ecx + 1]
test ecx, ecx
je 0x40e866
mov edx, ecx
shr edx, 0x1f
add edx, ecx
sar edx, 1
add edx, ecx
jmp 0x40e86b
mov edx, 8
cmp edx, ebx
cmovge ebx, edx
cmp ecx, ebx
jge 0x40e8fc
inc dword [0x560da8]
lea eax, [ebx*4]
mov dword [ebp - 0x24], ebx
push dword [0x560dac]
push eax
call dword [0x554020]
add esp, 8
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov edx, dword [esi + 0x1d8]
test edx, edx
je 0x40e8c2
mov ecx, dword [esi + 0x1d0]
shl ecx, 2
push ecx
push edx
push eax
call fcn.0048b1e0
add esp, 0xc
mov edx, dword [esi + 0x1d8]
test edx, edx
je 0x40e8cc
dec dword [0x560da8]
push dword [0x560dac]
push edx
call dword [0x554024]
add esp, 8
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
xor edi, edi
mov dword [esi + 0x1d8], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x1d4], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x1d0]
mov edx, dword [esi + 0x1d8]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x1d0]
lea ecx, [eax + 1]
mov dword [esi + 0x1d0], ecx
mov ecx, dword [ebp - 0x34]
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [ecx + 4], edi
mov dword [ecx], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x1c], edi
mov dword [ecx + 0x18], edi
mov ecx, dword [esi + 0x1d8]
push dword [ecx + eax*4]
push edi
push str.MOVE
call fcn.0040206f
add esp, 0xc
mov ecx, dword [0x5609a0]
cmp dword [ecx + 0x1914], eax
jne 0x40e96f
mov byte [ecx + 0x1920], 1
movaps xmm0, xmmword [0x4b2660]
mov dword [esi + 0x54], eax
mov ecx, 0x7f7fffff
mov eax, 0x3f000000
movups xmmword [esi + 0x58], xmm0
movaps xmm0, xmmword [0x4b2670]
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
xor eax, eax
xor edx, edx
mov dword [esi + 0x80], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x86], eax
mov dword [esi + 0x82], eax
dec edx
movups xmmword [esi + 0x8c], xmm0
movaps xmm0, xmmword [0x4b2680]
mov dword [esi + 0xa0], edx
mov dword [esi + 0x9c], edx
mov byte [esi + 0xa4], 0
movups xmmword [esi + 0xa8], xmm0
mov dword [esi + 0xc8], ecx
mov dword [esi + 0xcc], ecx
movaps xmm0, xmmword [0x4b2690]
mov ecx, dword [ebp - 0x28]
movups xmmword [esi + 0xb8], xmm0
mov dword [esi + 0x22c], edx
mov dword [esi + 0x230], eax
mov dword [esi + 0x27c], 0x3f800000
mov dword [esi + 0x280], ecx
movaps xmm0, xmmword [0x4b2460]
mov ecx, dword [esi]
mov dword [esi + 0x2b0], ecx
mov dword [esi + 0x314], eax
mov dword [esi + 0x310], eax
mov dword [esi + 0x2fc], eax
mov dword [esi + 0x2f8], eax
mov dword [esi + 0x304], eax
mov dword [esi + 0x300], eax
mov dword [esi + 0x308], eax
movups xmmword [esi + 0x328], xmm0
mov ecx, dword [ebp - 0x38]
movsd xmm1, qword [esi + 0x330]
movsd xmm0, qword [esi + 0x328]
movsd qword [ecx + 8], xmm1
movaps xmm1, xmmword [0x4b26a0]
movsd qword [ecx], xmm0
mov dword [esi + 0x30c], eax
mov eax, 0x7fffffff
movups xmmword [esi + 0x338], xmm1
mov dword [esi + 0x34c], eax
mov dword [esi + 0x348], eax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 8