Function at 0x4bade0
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 0x5bfcb0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a0
mov eax, dword [0x6510e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x40], edx
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x1c]
mov ecx, dword [edi + 0x30]
add ecx, dword [esi + 4]
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x80], eax
lea eax, [edi + 0x24]
mov dword [ebp - 0xe4], eax
mov eax, dword [edi + 0x2c]
dec eax
mov dword [ebp - 0xe8], edi
and ecx, eax
mov dword [ebp - 0x7c], esi
mov eax, dword [edi + 0x28]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], 0
mov esi, dword [edi + 0x38]
test esi, esi
je 0x4baf0e
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
mov ecx, dword [ebp - 0x7c]
push dword [ecx + 4]
lea ecx, [ebp - 0xbc]
push ecx
mov ecx, eax
call edx
mov esi, eax
lea eax, [ebp - 0xac]
cmp eax, esi
je 0x4baefd
mov ecx, eax
call fcn.0042b1fb
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0xa8], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa4], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0xbc]
call fcn.0042b1fb
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x50]
cmp dword [edi + 0x38], 0
lea eax, [ebp - 0xac]
jne 0x4baf1c
mov eax, dword [ecx]
movsd xmm0, qword [ecx + 0x40]
ucomisd xmm0, qword [0x61e1a0]
mov dword [ebp - 0x68], eax
lahf
test ah, 0x44
jnp 0x4baf42
movups xmm0, xmmword [ecx + 0x28]
movups xmmword [ebx + 0x48], xmm0
movups xmm0, xmmword [ecx + 0x38]
movups xmmword [ebx + 0x58], xmm0
mov edi, dword [edx]
lea ecx, [ebp - 0x60]
mov edx, dword [ebx + 0x18]
mov eax, dword [edi + 0xd4]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov esi, dword [eax + 0x40]
sub edx, esi
mov eax, dword [ebp - 0x88]
add eax, 8
mov dword [ebp - 0x60], edx
cmp edx, dword [eax]
mov edx, dword [ebp - 0x88]
cmovae ecx, eax
mov eax, dword [ecx]
mov ecx, dword [edi + 8]
add eax, esi
mov dword [ebp - 0x6c], ecx
mov ecx, dword [edi + 0x58]
sub ecx, esi
mov dword [ebp - 0x94], eax
add ecx, dword [edx]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x48]
mov edi, dword [ecx + 4]
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 1
mov edx, dword [eax]
mov eax, dword [edx + 4]
mov esi, dword [eax + 0x80]
mov eax, 1
add esi, dword [edx + 0x10]
cmp esi, eax
cmovb esi, eax
mov eax, dword [ebp - 0x44]
push esi
mov ecx, dword [eax + 0x48]
mov eax, dword [ecx + 0xd0]
add ecx, 0xd0
call dword [eax + 0x20]
push dword [ebp - 0x50]
mov byte [ebp - 4], 0
xorps xmm0, xmm0
push dword [ebp - 0x80]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xcc], eax
sub esp, 0x20
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xc4], eax
mov eax, esp
sub esp, 0x20
mov dword [ebp - 0xc0], esi
mov esi, dword [ebp - 0x40]
mov ecx, esi
mov dword [ebp - 0xc8], edi
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebx + 0x28]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebx + 0x38]
movups xmmword [eax + 0x10], xmm0
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004ba9d0
mov edx, dword [ebp - 0x48]
xor edi, edi
mov dword [ebp - 0x84], edi
mov eax, dword [edx]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4bb8d1
nop dword [eax + eax]
mov eax, dword [ecx + edi*4]
mov esi, dword [esi]
mov dword [ebp - 0x64], eax
mov eax, 0x92492493
mov ecx, dword [esi + 0x60]
mov edi, dword [esi + 0x5c]
sub ecx, edi
imul ecx
add edx, ecx
mov ecx, dword [ebp - 0x64]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jae 0x4bbaa7
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x4c], edi
cmp edi, eax
je 0x4bb0a7
cmp dword [edi + 0x2c], ecx
je 0x4bb0b0
add edi, 0x70
mov dword [ebp - 0x4c], edi
cmp edi, eax
jne 0x4bb098
imul edi, ecx, 0x70
add edi, dword [esi + 0x5c]
mov dword [ebp - 0x4c], edi
mov ecx, dword [esi + 4]
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx + 0x7c]
jbe 0x4bb89d
xor ecx, ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xd0], ecx
cmp dword [ebp - 0x84], ecx
jne 0x4bb1fe
cmp byte [esi + 0xd], cl
je 0x4bb141
push ecx
call fcn.004bbad0
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov ecx, dword [edx]
cmp dword [ecx + 0xcc], 3
jne 0x4bb12d
mov eax, dword [ebp - 0x80]
sub eax, 1
je 0x4bb123
sub eax, 2
jne 0x4bb12d
mov dword [ebp - 0x8c], 4
jmp 0x4bb12d
mov dword [ebp - 0x8c], 1
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
movzx eax, byte [eax + 0x58]
shr eax, 1
and eax, 1
mov dword [edx + 8], eax
jmp 0x4bb144
mov edx, dword [ebp - 0x40]
mov esi, dword [edx]
cmp byte [esi + 0xe], 0
je 0x4bb1fe
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x48], 0
je 0x4bb1f8
mov ecx, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0xd0], eax
mov eax, 0x10
sub eax, ecx
mov dword [ebp - 0xd4], ecx
mov ecx, dword [ebp - 0x48]
cdq
sub eax, edx
mov dword [ebp - 0xd8], 0
sar eax, 1
add eax, dword [ecx]
mov ecx, dword [ebp - 0x54]
add ecx, 2
add eax, ecx
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 2
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x80]
mov eax, 1
add edi, dword [esi + 0x10]
cmp edi, 1
cmovb edi, eax
mov eax, dword [esi + 0xd4]
push edi
mov eax, dword [eax]
mov esi, dword [eax + 0x48]
mov ecx, dword [esi + 0xd0]
mov edx, dword [ecx + 0x20]
lea ecx, [esi + 0xd0]
call edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0
sub edi, dword [eax + 0x54]
mov eax, edi
mov edi, dword [ebp - 0x4c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x40]
mov esi, dword [eax]
add ecx, 0x12
mov dword [ebp - 0x54], ecx
mov eax, dword [esi + 4]
mov esi, dword [ebp - 0x40]
mov byte [ebp - 0x39], 1
mov eax, dword [eax + 0x7c]
add eax, ecx
cmp eax, dword [edi + 0x1c]
jae 0x4bb582
push dword [ebp - 0x64]
mov ecx, esi
push dword [ebp - 0xe8]
call fcn.004bbbb0
mov dword [ebp - 0x58], eax
test eax, eax
je 0x4bb582
mov ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x48]
mov edx, dword [esi]
mov dword [ebp - 0x94], ecx
mov ecx, dword [edi + 0x1c]
sub ecx, dword [ebp - 0x54]
mov edi, dword [eax + 4]
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x60], 1
mov byte [ebp - 4], 3
mov eax, dword [edx + 4]
mov esi, dword [eax + 0x80]
mov eax, 1
add esi, dword [edx + 0x10]
cmp esi, 1
cmovb esi, eax
mov eax, dword [edx + 0xd4]
push esi
mov eax, dword [eax]
mov ecx, dword [eax + 0x48]
mov eax, dword [ecx + 0xd0]
add ecx, 0xd0
call dword [eax + 0x20]
mov byte [ebp - 4], 0
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], esi
mov esi, dword [ebp - 0x88]
mov ecx, esi
push eax
mov dword [ebp - 0x120], edi
call fcn.0050d020
add esp, 4
test al, al
je 0x4bb353
mov eax, dword [ebp - 0x48]
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov dword [ebp - 0x9c], 0
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x58]
add eax, 0x14
mov dword [ebp - 0x74], eax
mov eax, dword [eax]
mov esi, dword [eax + 0x44]
mov eax, edx
sub eax, ecx
cmp edx, ecx
mov ecx, dword [ebp - 0x74]
cmovge eax, dword [ebp - 0x9c]
xor edx, edx
push eax
mov eax, dword [ebp - 0x94]
sub eax, edi
cmp dword [ebp - 0x94], edi
cmovge eax, edx
push eax
call esi
mov edi, dword [ebp - 0x58]
lea ecx, [ebp - 0x114]
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x40]
jmp 0x4bb35a
mov edi, dword [ebp - 0x58]
mov byte [ebp - 0x60], 0
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov esi, dword [edi + 0x28]
mov byte [ebp - 0x39], al
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x64]
mov dword [edi + 0x38], eax
mov eax, dword [ebp - 0x7c]
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], edx
mov ecx, dword [esi]
push dword [eax + 4]
push dword [eax]
mov edx, dword [ecx + 8]
mov ecx, esi
push dword [edi + 0x2c]
call edx
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
mov byte [ebp - 4], 4
mov eax, dword [edx + 4]
mov esi, dword [eax + 0x80]
mov eax, 1
add esi, dword [edx + 0x10]
cmp esi, 1
cmovb esi, eax
mov eax, dword [edx + 0xd4]
push esi
mov eax, dword [eax]
mov ecx, dword [eax + 0x48]
mov eax, dword [ecx + 0xd0]
add ecx, 0xd0
call dword [eax + 0x20]
mov eax, dword [ebp - 0x44]
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0
lea edx, [ebp - 0xf0]
mov dword [ebp - 0xf0], eax
mov eax, dword [ecx]
push edx
mov dword [ebp - 0xec], esi
call dword [eax + 0x3c]
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0xf0]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [edi + 0x28]
mov esi, dword [ebp - 0x50]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov al, byte [esi + 0x58]
and al, 1
push eax
push 2
call edx
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov al, byte [esi + 0x58]
shr al, 1
and al, 1
push eax
push 0
call edx
mov esi, dword [edi + 0x2c]
mov edx, dword [ebp - 0x7c]
mov eax, dword [esi + 0xc]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
cmp eax, dword [esi + 0x10]
je 0x4bb451
nop word [eax + eax]
cmp ecx, dword [eax]
jne 0x4bb449
cmp edx, dword [eax + 4]
je 0x4bb480
add eax, 0xc
cmp eax, dword [esi + 0x10]
jne 0x4bb440
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0xf4], edi
cmp eax, dword [esi + 0x14]
je 0x4bb485
movq xmm0, qword [ebp - 0xfc]
movq qword [eax], xmm0
mov dword [eax + 8], edi
add dword [esi + 0x10], 0xc
jmp 0x4bb495
mov dword [eax + 8], edi
jmp 0x4bb495
lea ecx, [ebp - 0xfc]
push ecx
push eax
lea ecx, [esi + 0xc]
call fcn.004c51b0
mov ecx, dword [ebp - 0x68]
mov esi, dword [edi + 0x28]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
mov ecx, dword [ebp - 0x64]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
mov eax, dword [esi]
jbe 0x4bb4dc
mov edx, dword [eax + 0x14]
lea eax, [ecx*8]
mov edi, dword [ebp - 0x68]
sub eax, ecx
mov ecx, dword [edi]
lea eax, [ecx + eax*4]
mov ecx, esi
push eax
call edx
mov edi, dword [ebp - 0x58]
jmp 0x4bb53a
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
push ecx
mov ecx, esi
call dword [eax + 0x14]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x4bb53a
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4bb530
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bbac8
push ecx
push edx
call fcn.005815c4
add esp, 8
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 4]
call eax
mov ecx, dword [0x6088b8]
push dword [ebp - 0x60]
push eax
mov ecx, dword [ecx]
add ecx, 0x54
call fcn.0052a5f0
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x74], edi
mov ecx, dword [esi]
add ecx, 0xb8
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x4bb575
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x4bb57f
lea edx, [ebp - 0x74]
push edx
push eax
call fcn.004896c0
mov edi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x68]
movups xmm0, xmmword [ebx + 0x28]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov eax, 0x92492493
imul ecx
movups xmmword [ebp - 0x158], xmm0
movups xmm0, xmmword [ebx + 0x38]
add edx, ecx
mov ecx, dword [ebp - 0x64]
movups xmmword [ebp - 0x148], xmm0
sar edx, 4
movups xmm0, xmmword [ebx + 0x48]
mov eax, edx
shr eax, 0x1f
movups xmmword [ebp - 0x178], xmm0
add eax, edx
movups xmm0, xmmword [ebx + 0x58]
movups xmmword [ebp - 0x168], xmm0
cmp eax, ecx
jbe 0x4bb7ed
mov edx, dword [ebp - 0x68]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [edx]
lea eax, [ecx + eax*4]
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.004e4b30
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4bb6d3
movups xmm0, xmmword [eax + 0x20]
mov edi, dword [edi + 0x1c]
mov edx, dword [esi]
movups xmmword [ebp - 0x178], xmm0
movups xmm0, xmmword [eax + 0x30]
mov eax, dword [ebp - 0x48]
movups xmmword [ebp - 0x168], xmm0
mov eax, dword [eax + 4]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 6
mov eax, dword [edx + 4]
mov esi, dword [eax + 0x80]
mov eax, 1
add esi, dword [edx + 0x10]
cmp esi, 1
cmovb esi, eax
mov eax, dword [edx + 0xd4]
push esi
mov eax, dword [eax]
mov ecx, dword [eax + 0x48]
mov eax, dword [ecx + 0xd0]
add ecx, 0xd0
call dword [eax + 0x20]
mov eax, dword [ebp - 0x5c]
push dword [ebp - 0x50]
mov byte [ebp - 4], 0
push dword [ebp - 0x80]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x74]
sub esp, 0x20
mov dword [ebp - 0xc8], eax
mov ecx, esp
mov eax, dword [ebp - 0x58]
sub esp, 0x20
mov dword [ebp - 0xc0], esi
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0xc4], edi
mov eax, dword [eax + 0x18]
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax + 0x10]
mov eax, esp
movups xmmword [ecx + 0x10], xmm0
mov ecx, esi
movups xmm0, xmmword [ebx + 0x28]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebx + 0x38]
movups xmmword [eax + 0x10], xmm0
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004ba9d0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x158], xmm0
movups xmm0, xmmword [eax + 0x10]
jmp 0x4bb6e8
movups xmm0, xmmword [ebp - 0x198]
movups xmmword [ebp - 0x158], xmm0
movups xmm0, xmmword [ebp - 0x188]
cmp byte [ebp - 0x39], 0
mov edi, dword [ebp - 0x4c]
movups xmmword [ebp - 0x148], xmm0
je 0x4bb7ed
mov eax, dword [edi + 0x30]
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x44], 0
test eax, eax
jne 0x4bb72f
mov eax, dword [esi]
mov ecx, dword [ebp - 0x54]
mov eax, dword [eax + 4]
add ecx, dword [eax + 0x7c]
mov dword [ebp - 0x54], ecx
jmp 0x4bb73f
cmp eax, 2
jne 0x4bb73f
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x7c]
mov dword [ebp - 0x44], eax
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4bb754
lea eax, [ebp - 0x178]
push eax
call fcn.005094a0
mov ecx, dword [edi + 0x1c]
sub ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x54]
sub ecx, eax
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [ecx + 4]
add ecx, dword [ebx + 0x14]
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x74], ecx
mov ecx, eax
jb 0x4bb784
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x30]
call fcn.004e5130
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbc]
push dword [ebp - 0x74]
push dword [ebp - 0x9c]
push dword [ebp - 0x44]
push eax
call fcn.0050a970
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x4bb7ed
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4bb7e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bbac8
push ecx
push edx
call fcn.005815c4
add esp, 8
cmp dword [ebp - 0x84], 0
jne 0x4bb90f
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
je 0x4bb83c
mov eax, dword [esi + 4]
lea edi, [esi + 4]
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0x48]
push dword [eax + 4]
lea eax, [ebp - 0x1b0]
push dword [ebp - 0x5c]
push eax
call fcn.004b4b50
push dword [ebp - 0x8c]
mov ecx, edi
push eax
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x6c]
call esi
mov esi, dword [ebp - 0x50]
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x4bb89a
mov byte [ebp - 4], 8
lea edx, [ebp - 0x1a0]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0xdc]
push eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0x134]
mov dword [ebp - 0x12c], ecx
push eax
lea ecx, [esi + 0x48]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
call fcn.004d36c0
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x5c]
add eax, dword [edi + 0x1c]
mov edi, dword [ebp - 0x84]
mov esi, dword [ebp - 0x40]
inc edi
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x84], edi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4bb060
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x50]
test byte [eax + 0x58], 1
je 0x4bb8e4
push dword [edx + 4]
mov ecx, esi
call fcn.004bbc20
lea ecx, [ebp - 0xac]
call fcn.0042b1fb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00581335
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x60
mov edx, dword [esi]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 0x1c]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x38], xmm0
movups xmm0, xmmword [eax + 0x10]
mov eax, dword [ebp - 0x50]
movups xmmword [ebp - 0x28], xmm0
test byte [eax + 0x58], 1
jne 0x4bb95b
cmp dword [ebp - 0x80], 0
jne 0x4bb95b
movsd xmm0, qword [ebp - 0x28]
movsd qword [ebp - 0x98], xmm0
movsd xmm0, qword [ebp - 0x30]
movsd qword [ebp - 0xa0], xmm0
movsd xmm0, qword [ebp - 0x38]
movsd qword [ebp - 0x78], xmm0
jmp 0x4bb9cb
movsd xmm2, qword [0x61e290]
movsd xmm3, qword [0x61e230]
movsd xmm1, qword [ebp - 0x198]
movsd xmm0, qword [ebp - 0x38]
mulsd xmm1, xmm2
mulsd xmm0, xmm3
addsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x30]
mulsd xmm0, xmm3
movsd qword [ebp - 0x78], xmm1
movsd xmm1, qword [ebp - 0x190]
mulsd xmm1, xmm2
addsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x28]
mulsd xmm0, xmm3
movsd qword [ebp - 0xa0], xmm1
movsd xmm1, qword [ebp - 0x188]
mulsd xmm1, xmm2
addsd xmm1, xmm0
movsd qword [ebp - 0x98], xmm1
mov byte [ebp - 4], 9
mov eax, 1
mov esi, dword [ecx + 0x80]
add esi, dword [edx + 0x10]
cmp esi, 1
cmovb esi, eax
mov eax, dword [edx + 0xd4]
push esi
mov eax, dword [eax]
mov ecx, dword [eax + 0x48]
mov eax, dword [ecx + 0xd0]
add ecx, 0xd0
call dword [eax + 0x20]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0
dec edx
mov dword [ebp - 0x104], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xe0], ecx
lea eax, [ecx - 1]
add eax, esi
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4bba8c
movsd xmm0, qword [ebp - 0x78]
call fcn.005aacc0
movsd xmm0, qword [ebp - 0xa0]
mov byte [ebp - 0x39], al
call fcn.005aacc0
movsd xmm0, qword [ebp - 0x98]
movzx esi, al
shl esi, 8
call fcn.005aacc0
movzx ecx, byte [ebp - 0x39]
mov edi, dword [ebp - 0x44]
movzx edx, al
movzx eax, byte [ebp - 0x39]
shl ecx, 0x10
or ecx, edx
shl edx, 0x10
or edx, eax
or ecx, esi
mov eax, edi
mov dword [edi + 0x28], ecx
mov edi, dword [ebp - 0x4c]
or edx, esi
mov dword [eax + 0x30], edx
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0047ce80
jmp 0x4bb89d
push str.listbox:_invalid_element_position
lea ecx, [ebp - 0xbc]
call fcn.004ae830
push 0x64f038
lea eax, [ebp - 0xbc]
push eax
call fcn.00582d4b
call fcn.00586698
int3