Function at 0x1002bd70
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 0x100651f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x248
mov eax, ecx
push esi
push edi
mov dword [ebp - 0x30], eax
cmp dword [eax + 8], 0
jne 0x1002c007
mov eax, dword fs:[0x18]
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov eax, dword [eax + 0x30]
mov esi, dword [eax + 0x38]
mov dword [ebp - 0x24], esi
cmp dword [esi + 0xc], ecx
jbe 0x1002c007
mov eax, dword [esi + 0x14]
xor edi, edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
lea eax, [eax + ecx*8]
add eax, esi
mov dword [ebp - 0x14], eax
push 0x208
lea eax, [ebp - 0x258]
mov dword [ebp - 4], edi
push edi
push eax
call fcn.10045a70
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [eax + 4]
lea eax, [eax + eax*2]
lea eax, [esi + eax*8]
add eax, dword [esi + 0x10]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x24]
push esi
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.100454f0
shr esi, 1
lea eax, [ebp - 0x258]
add esp, 0xc
lea eax, [eax + esi*2]
lea esi, [ebp - 0x258]
mov dword [ebp - 0x28], eax
mov ecx, esi
cmp ecx, eax
je 0x1002be60
mov edi, eax
movzx eax, word [esi]
push eax
call fcn.10050dc1
mov word [esi], ax
add esp, 4
add esi, 2
cmp esi, edi
jne 0x1002be47
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
xor esi, esi
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + 4]
lea eax, [eax + eax*2]
lea eax, [edx + eax*8]
add eax, dword [edx + 0x10]
mov dword [ebp - 0x28], eax
cmp dword [eax + 0x14], esi
jbe 0x1002bf63
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [eax + 0x10]
xorps xmm0, xmm0
add eax, ecx
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
mov ecx, dword [eax + edx + 0x10]
mov eax, dword [eax + edx + 0xc]
shr ecx, 1
add eax, edx
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10010f70
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], 0
je 0x1002bf0c
cmp edi, dword [ebp - 0x18]
je 0x1002befc
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov eax, 7
movups xmm0, xmmword [ebp - 0x48]
mov dword [edi + 0x14], 0
mov word [ebp - 0x48], cx
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x38]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x1c], edi
jmp 0x1002bf0f
lea eax, [ebp - 0x48]
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.1002cbd0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 0
cmp eax, 7
jbe 0x1002bf4a
mov edx, dword [ebp - 0x48]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002bf40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c01c
push ecx
push edx
call fcn.10044149
add esp, 8
mov eax, dword [ebp - 0x28]
inc esi
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
add ecx, 0x14
mov dword [ebp - 0x14], ecx
cmp esi, dword [eax + 0x14]
jb 0x1002be85
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.1002c6d0
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x1002bff4
mov esi, edi
cmp esi, dword [ebp - 0x1c]
je 0x1002bf9f
nop
mov ecx, esi
call fcn.10010e70
add esi, 0x18
cmp esi, dword [ebp - 0x1c]
jne 0x1002bf90
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1002bfd5
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c01c
push ecx
push edi
call fcn.10044149
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [esi + 0xc]
jb 0x1002bdd0
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