Function at 0x1002c030
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065225
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x250
mov eax, ecx
push esi
push edi
mov dword [ebp - 0x34], eax
cmp dword [eax + 8], 0
jne 0x1002c2cc
mov eax, dword fs:[0x18]
mov dword [ebp - 0x2c], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
cmp dword [eax + 0xc], 0
jbe 0x1002c2cc
lea esi, [eax + 0x18]
mov dword [ebp - 0x18], esi
nop dword [eax]
xor edi, edi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
push 0x208
lea eax, [ebp - 0x260]
mov dword [ebp - 4], edi
push edi
push eax
call fcn.10045a70
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov esi, dword [esi]
mov eax, dword [eax - 4]
add eax, dword [ebp - 0x1c]
push esi
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.100454f0
shr esi, 1
lea eax, [ebp - 0x260]
add esp, 0xc
lea eax, [eax + esi*2]
lea esi, [ebp - 0x260]
mov dword [ebp - 0x14], eax
mov ecx, esi
cmp ecx, eax
je 0x1002c119
mov edi, eax
nop
movzx eax, word [esi]
push eax
call fcn.10050dc1
mov word [esi], ax
add esp, 4
add esi, 2
cmp esi, edi
jne 0x1002c100
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], 0
mov eax, dword [eax + 0xc]
add eax, edx
mov dword [ebp - 0x30], eax
cmp dword [eax + 4], 0
jbe 0x1002c216
lea esi, [eax + 0x14]
nop dword [eax + eax]
mov ecx, dword [esi + 4]
xorps xmm0, xmm0
mov eax, dword [esi]
shr ecx, 1
add eax, edx
push ecx
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
call fcn.10010f70
mov byte [ebp - 4], 1
cmp dword [ebp - 0x3c], 0
je 0x1002c1bf
cmp edi, dword [ebp - 0x20]
je 0x1002c1af
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov eax, 7
movups xmm0, xmmword [ebp - 0x4c]
mov dword [edi + 0x14], 0
mov word [ebp - 0x4c], cx
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x24], edi
jmp 0x1002c1c2
lea eax, [ebp - 0x4c]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.1002cbd0
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0
cmp eax, 7
jbe 0x1002c1fd
mov edx, dword [ebp - 0x4c]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002c1f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c2e1
push ecx
push edx
call fcn.10044149
add esp, 8
mov eax, dword [ebp - 0x14]
add esi, 0x14
mov ecx, dword [ebp - 0x30]
inc eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
cmp eax, dword [ecx + 4]
jb 0x1002c140
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.1002c6d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002c2b0
mov edi, dword [ebp - 0x24]
mov esi, eax
cmp esi, edi
je 0x1002c258
mov ecx, esi
call fcn.10010e70
add esi, 0x18
cmp esi, edi
jne 0x1002c247
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [ebp - 0x14]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, ecx
shl edx, 3
cmp edx, 0x1000
jb 0x1002c291
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c2e1
push edx
push ecx
call fcn.10044149
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
inc ecx
mov esi, dword [ebp - 0x18]
add esi, 0x18
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], esi
cmp ecx, dword [eax + 0xc]
jb 0x1002c0a0
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10048dff
int3