Function at 0x100239d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x100c83c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x28], edx
push esi
mov esi, dword [0x101423a0]
push edi
mov ecx, dword [ebx + 0x88]
mov al, byte [ebx + 0xa0]
inc ecx
mov edi, dword [esi + 0x3eb0]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x94], edi
test al, 0x40
je 0x10023a1c
mov byte [ebp - 0xa], 1
cmp ecx, edi
je 0x10023a20
mov byte [ebp - 0xa], 0
cmp dword [ebx + 0x98], 0
je 0x10023a34
mov dword [ebp - 0x50], 1
cmp ecx, edi
je 0x10023a3b
mov dword [ebp - 0x50], 0
and al, 0xbf
mov dword [ebx + 0x98], 0
mov byte [ebp - 0x19], al
xor cl, cl
mov byte [ebx + 0xa0], al
mov edi, ebx
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], edi
test eax, eax
je 0x10023a73
mov edx, eax
mov dword [ebp - 0x2c], edx
mov eax, dword [edx + 0x18]
test eax, eax
jne 0x10023a61
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov eax, dword [esi + 0x4280]
mov dword [ebp - 0x30], 1
test eax, eax
je 0x10023a8f
cmp dword [eax + 0x388], ebx
sete cl
jmp 0x10023ab6
mov eax, dword [esi + 0x4130]
test eax, eax
je 0x10023ab9
mov eax, dword [eax + 0x330]
cmp eax, dword [edx + 0x32c]
jne 0x10023ab9
mov eax, dword [edi + 0x90]
cmp eax, dword [ebx]
movzx ecx, cl
cmove ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebx + 0x10]
test eax, 0x3000
jne 0x10024ce3
mov cl, byte [edx + 0xc8]
shr eax, 0xa
mov byte [ebp - 0x19], cl
test al, 1
jne 0x10023ae8
mov byte [edx + 0xc8], 0
mov dword [edx + 0x160], 1
mov ecx, dword [ebx]
mov edi, dword [esi + 0x3f14]
mov dword [ebp - 8], ecx
cmp dword [esi + 0x3f38], ecx
jne 0x10023b0b
push ecx
push 0
mov edx, 0xd
call fcn.10028fd0
add esp, 8
lea eax, [ebp - 8]
push eax
lea ecx, [edi + 0xfc]
call fcn.100291d0
mov eax, dword [ebx + 0x30]
mov edi, eax
mov dword [ebp - 0x8c], eax
test edi, edi
jne 0x10023b33
mov ecx, ebx
call fcn.10024d60
mov edi, dword [ebx + 0x30]
mov cl, byte [ebx + 0xa0]
mov al, byte [ebp - 0x24]
and cl, 0xfd
add al, al
mov dword [ebp - 0x4c], 0
or cl, al
test dword [ebx + 0x10], 0x4000
mov byte [ebp - 0x11], cl
mov byte [ebx + 0xa0], cl
jne 0x10023c1b
cmp dword [esi + 0x387c], 0xffffffff
je 0x10023c1b
mov eax, dword [0x101423a0]
xor edx, edx
mov byte [ebp - 9], 1
mov eax, dword [eax + 0x3f14]
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, str.WindowMenu
call fcn.100092e0
mov edx, dword [0x101423a0]
add esp, 4
mov dword [ebp - 8], eax
cmp dword [edx + 0x3f38], eax
jne 0x10023bd0
push ecx
push str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.10028fd0
mov al, byte [ebx + 0xa0]
add esp, 8
mov edx, dword [0x101423a0]
mov byte [ebp - 0x11], al
mov eax, dword [edx + 0x40d8]
cmp dword [edx + 0x40cc], eax
jle 0x10023c16
mov esi, dword [ebp - 8]
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x40d4]
cmp dword [eax + ecx*4], esi
mov esi, dword [ebp - 0x10]
jne 0x10023c16
mov edx, edi
mov ecx, ebx
call fcn.10023810
test eax, eax
je 0x10023c05
mov dword [edi + 0x18], eax
mov dword [ebp - 0x4c], eax
mov cl, byte [ebx + 0xa0]
mov al, cl
shr al, 1
and al, 1
or byte [ebp - 0x24], al
jmp 0x10023c1f
mov cl, byte [ebp - 0x11]
jmp 0x10023c25
mov byte [ebp - 9], 0
mov edx, dword [0x101423a0]
movss xmm3, dword [edx + 0x3ca8]
xorps xmm5, xmm5
movss xmm6, dword [ebx + 0x38]
movaps xmm0, xmm3
movss xmm1, dword [edx + 0x3894]
addss xmm0, xmm6
movss xmm4, dword [ebx + 0x34]
addss xmm1, xmm1
movss dword [ebp - 0x48], xmm4
movaps xmm2, xmm4
movss dword [ebp - 0x44], xmm6
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
addss xmm1, xmm0
addss xmm2, dword [ebx + 0x3c]
movss dword [ebp - 0x3c], xmm1
movss xmm1, dword [edx + 0x3890]
movss dword [ebp - 0x40], xmm2
movaps xmm7, xmm1
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [ebp - 0xa4], xmm0
movss xmm0, dword [edx + 0x3868]
addss xmm4, xmm0
subss xmm2, xmm0
addss xmm7, xmm4
subss xmm2, xmm1
movss dword [ebp - 0x48], xmm7
movss dword [ebp - 0x40], xmm2
test cl, 8
je 0x10023cde
subss xmm2, xmm3
movss dword [ebp - 0x84], xmm6
movaps xmm0, xmm2
movss dword [ebp - 0x40], xmm2
subss xmm0, xmm1
movss dword [ebp - 0x88], xmm0
test cl, 0x10
je 0x10023d18
cmp dword [edx + 0x387c], 0
jne 0x10023cff
addss xmm3, dword [edx + 0x38a8]
addss xmm3, xmm7
movss dword [ebp - 0x48], xmm3
jmp 0x10023d18
cmp dword [edx + 0x387c], 1
jne 0x10023d18
addss xmm3, xmm1
movaps xmm4, xmm2
subss xmm4, xmm3
movss dword [ebp - 0x40], xmm4
movups xmm0, xmmword [ebp - 0x48]
mov eax, dword [edi]
xor ecx, ecx
movss dword [ebp - 0xac], xmm4
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0x90], eax
movss dword [ebp - 0xa8], xmm6
mov dword [ebp - 0x20], ecx
cmp dword [ebx + 0x24], ecx
jle 0x10023e18
mov dword [ebp - 8], 0x400000
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x18], ecx
cmp dword [ecx + 0x88], 0
je 0x10023d91
xor ecx, ecx
cmp dword [edi], ecx
jle 0x10023d8e
mov eax, dword [edi + 8]
nop dword [eax + eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx + 0x88]
cmp dword [eax], esi
mov esi, dword [ebp - 0x10]
mov edx, dword [0x101423a0]
je 0x10023e05
inc ecx
add eax, 0x2c
cmp ecx, dword [edi]
jl 0x10023d70
mov ecx, dword [ebp - 0x18]
or eax, 0xffffffff
mov dword [ebp - 0x64], 0
cmp byte [ecx + 0xcd], 0
xorps xmm0, xmm0
mov word [ebp - 0x5a], ax
mov word [ebp - 0x5c], ax
mov eax, dword [ecx + 0x88]
mov dword [ebp - 0x80], eax
mov eax, 0x500000
cmovne eax, dword [ebp - 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [edi + 0x20]
movlpd qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x74], eax
cmp eax, 0xffffffff
jne 0x10023df1
mov eax, dword [edx + 0x3eb0]
dec eax
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x78], ecx
push eax
mov ecx, edi
call fcn.10053bc0
mov edx, dword [0x101423a0]
mov ecx, dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x20], ecx
cmp ecx, dword [ebx + 0x24]
jl 0x10023d50
xorps xmm5, xmm5
mov eax, dword [ebp - 0x24]
test al, al
je 0x10023e2e
mov eax, dword [esi + 0x3eb0]
mov dword [ebx + 0x8c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
cmp byte [ecx + 0xc6], 0
je 0x10023e41
mov eax, 0xd
jmp 0x10023e53
test al, al
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
setne al
add eax, 0xb
movss xmm0, dword [0x100c43b0]
add eax, eax
movups xmm3, xmmword [edx + eax*8 + 0x391c]
comiss xmm5, xmm3
movaps xmm2, xmm3
shufps xmm2, xmm3, 0xff
mulss xmm2, dword [edx + 0x3854]
movups xmmword [ebp - 0x48], xmm3
jbe 0x10023e82
xorps xmm1, xmm1
jmp 0x10023e89
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm3, dword [0x100c449c]
movss xmm4, dword [0x100c4368]
movss xmm6, dword [ebp - 0x44]
comiss xmm5, xmm6
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si edx, xmm1
jbe 0x10023eb4
xorps xmm1, xmm1
jmp 0x10023ebb
movaps xmm1, xmm0
minss xmm1, xmm6
movss xmm6, dword [ebp - 0x40]
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 8
or edx, eax
comiss xmm5, xmm6
jbe 0x10023edb
xorps xmm1, xmm1
jmp 0x10023ee2
movaps xmm1, xmm0
minss xmm1, xmm6
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x10
or edx, eax
comiss xmm5, xmm2
jbe 0x10023efd
xorps xmm0, xmm0
jmp 0x10023f01
minss xmm0, xmm2
movss xmm1, dword [ecx + 0x40]
movss xmm2, dword [0x100c43e8]
mulss xmm0, xmm3
movss xmm3, dword [ecx + 0x44]
addss xmm0, xmm4
cvttss2si eax, xmm0
movaps xmm0, xmm1
addss xmm1, dword [ecx + 0x48]
shl eax, 0x18
addss xmm0, xmm2
or eax, edx
mov dword [ebp - 8], eax
subss xmm1, xmm2
comiss xmm0, dword [ebp - 0xa4]
movss xmm0, dword [ebp - 0x9c]
setae al
comiss xmm0, xmm1
movaps xmm0, xmm3
addss xmm3, dword [ecx + 0x4c]
addss xmm0, xmm2
setae dh
mov byte [ebp - 0x11], dh
subss xmm3, xmm2
comiss xmm0, dword [ebp - 0xa0]
movss xmm0, dword [ebp - 0x98]
setae dl
comiss xmm0, xmm3
setae ah
test dl, dl
je 0x10023f8b
test al, al
je 0x10023f8b
mov dword [ebp - 0x18], 0x10
jmp 0x10023f96
mov dword [ebp - 0x18], 0
test dl, dl
je 0x10023fa1
mov dword [ebp - 0x20], 0x20
test dh, dh
jne 0x10023fa8
mov dword [ebp - 0x20], 0
test ah, ah
je 0x10023fb7
test al, al
je 0x10023fb7
mov edx, 0x140
jmp 0x10023fc0
mov edx, 0x100
test ah, ah
je 0x10023fcd
cmp byte [ebp - 0x11], 0
je 0x10023fcd
mov eax, 0x80
jmp 0x10023fcf
xor eax, eax
movss xmm0, dword [ecx + 0x78]
or eax, edx
or eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x20]
push eax
push ecx
mov ecx, dword [ecx + 0x288]
lea eax, [ebp - 0x9c]
movss dword [esp], xmm0
push dword [ebp - 8]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.100349f0
cmp byte [ebp - 9], 0
je 0x100240e0
mov eax, dword [ebp - 0x28]
xor edx, edx
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, str.COLLAPSE
call fcn.100092e0
mov ecx, dword [0x101423a0]
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ecx + 0x3f38], eax
jne 0x10024054
push ecx
push str.COLLAPSE
mov edx, 0xb
mov ecx, eax
call fcn.10028fd0
mov eax, dword [ebp - 8]
add esp, 8
push ebx
lea edx, [ebp - 0xac]
mov ecx, eax
call fcn.100408b0
add esp, 4
test al, al
je 0x100240c3
mov esi, dword [0x101423a0]
mov ecx, str.WindowMenu
mov eax, dword [esi + 0x3f14]
mov edx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.100092e0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [esi + 0x3f38], eax
jne 0x100240b7
push ecx
push str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.10028fd0
mov eax, dword [ebp - 8]
add esp, 8
xor edx, edx
mov ecx, eax
call fcn.100190b0
mov esi, dword [ebp - 0x10]
mov eax, dword [0x101423a0]
mov ecx, dword [eax + 0x3f50]
test ecx, ecx
je 0x100240e0
cmp ecx, dword [eax + 0x3fc0]
jne 0x100240e0
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
lea ecx, [eax - 1]
test ecx, ecx
js 0x1002411f
imul edx, ecx, 0x2c
nop
mov eax, dword [edi + 8]
mov eax, dword [edx + eax + 4]
test eax, 0x400000
je 0x10024119
mov esi, dword [edi + 8]
and eax, 0xffbfffff
mov dword [edx + esi + 4], eax
mov eax, ecx
sub edx, 0x2c
mov dword [ebp - 0x18], eax
sub ecx, 1
jns 0x100240f0
jmp 0x1002411c
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov ecx, dword [edi]
cmp ecx, eax
jle 0x1002414c
inc eax
cmp ecx, eax
jle 0x1002414c
mov eax, dword [ebp - 0x18]
sub ecx, eax
cmp ecx, 1
jbe 0x1002414c
imul eax, eax, 0x2c
push 0x100237b0
push 0x2c
push ecx
add eax, dword [edi + 8]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
add esp, 0x10
mov eax, dword [esi + 0x4130]
test eax, eax
je 0x1002416a
mov eax, dword [eax + 0x324]
cmp dword [eax + 0x388], ebx
jne 0x1002416a
mov eax, dword [eax + 4]
mov dword [edi + 0x14], eax
cmp dword [ebp - 0x8c], 0
jne 0x100241a9
cmp dword [ebx + 0x94], 0
je 0x100241a9
mov edx, dword [edi]
xor ecx, ecx
test edx, edx
jle 0x100241a9
mov eax, dword [edi + 8]
nop word [eax + eax]
mov esi, dword [ebx + 0x94]
cmp dword [eax], esi
mov esi, dword [ebp - 0x10]
je 0x100247c0
inc ecx
add eax, 0x2c
cmp ecx, edx
jl 0x10024190
mov eax, dword [edi]
cmp eax, dword [ebp - 0x90]
jle 0x100241c9
imul ecx, eax, 0x2c
mov eax, dword [edi + 8]
mov eax, dword [ecx + eax - 0x24]
mov eax, dword [eax + 0x88]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x28]
mov ecx, 0x500003
cmp byte [eax + 0xc6], 0
jne 0x100241e6
cmp byte [ebp - 0x24], 0
mov eax, 0x700003
cmovne ecx, eax
push ebx
push ecx
lea edx, [ebp - 0xc0]
mov ecx, edi
call fcn.10050c00
movups xmm0, xmmword [esi + 0x392c]
xor edx, edx
add esp, 8
movups xmm1, xmmword [esi + 0x3b3c]
mov dword [ebp - 8], edx
movups xmm2, xmmword [esi + 0x3b4c]
movups xmm3, xmmword [esi + 0x3b5c]
movups xmm4, xmmword [esi + 0x3b6c]
movups xmm5, xmmword [esi + 0x3b7c]
mov dword [ebx + 0x74], 0
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0xd0], xmm1
movups xmmword [ebp - 0xe0], xmm2
movups xmmword [ebp - 0xf0], xmm3
movups xmmword [ebp - 0x100], xmm4
movups xmmword [ebp - 0x68], xmm5
cmp dword [ebx + 0x24], edx
jle 0x10024811
movss xmm1, dword [0x100c4320]
cmp byte [ebp - 0xa], 0
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax + edx*4]
mov dword [ebp - 0x20], edx
lea eax, [edx + 0x88]
mov dword [ebp - 0x18], eax
jne 0x10024282
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax]
jne 0x1002429e
cmp byte [edx + 0xcd], 0
mov dword [ebp - 0x18], eax
je 0x1002429e
test dword [edx + 8], 0x100000
mov dword [ebp - 0x18], eax
je 0x100247dd
mov eax, dword [edx + 0x254]
inc eax
cmp eax, dword [esi + 0x3eb0]
jge 0x100242bc
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x34], eax
je 0x100247dd
mov ecx, dword [ebp - 0x20]
mov esi, dword [edx + 0x20]
or esi, 1
test dword [edx + 8], 0x100000
mov ecx, dword [ecx + 0x370]
cmove esi, dword [edx + 0x20]
mov edx, dword [edi + 0xc]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c4610]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x392c], xmm0
mov eax, ecx
shr eax, 8
movzx eax, al
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c4610]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3930], xmm0
mov eax, ecx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c4610]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3934], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x100c4610]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3938], xmm0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x374]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c4610]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b3c], xmm0
mov eax, ecx
shr eax, 8
movzx eax, al
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c4610]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b40], xmm0
mov eax, ecx
shr eax, 0x10
movzx eax, al
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
shr ecx, 0x18
addsd xmm0, qword [eax*8 + 0x100c4610]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b44], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x100c4610]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b48], xmm0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x378]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c4610]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b4c], xmm0
mov eax, ecx
shr eax, 8
movzx eax, al
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c4610]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b50], xmm0
mov eax, ecx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c4610]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b54], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x100c4610]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b58], xmm0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x37c]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c4610]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b5c], xmm0
mov eax, ecx
shr eax, 8
movzx eax, al
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c4610]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b60], xmm0
mov eax, ecx
shr eax, 0x10
movzx eax, al
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
shr ecx, 0x18
addsd xmm0, qword [eax*8 + 0x100c4610]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b64], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x100c4610]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b68], xmm0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x380]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c4610]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b6c], xmm0
mov eax, ecx
shr eax, 8
movzx eax, al
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c4610]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b70], xmm0
mov eax, ecx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c4610]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b74], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x100c4610]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b78], xmm0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x384]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c4610]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b7c], xmm0
mov eax, ecx
shr eax, 8
movzx eax, al
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c4610]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b80], xmm0
mov eax, ecx
shr eax, 0x10
movzx eax, al
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c4610]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b84], xmm0
shr ecx, 0x18
push dword [ebp - 0x20]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x100c4610]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + 0x3b88], xmm0
mov eax, esi
or eax, 4
mov byte [ebp - 9], 1
test dl, 8
cmove eax, esi
mov esi, dword [ebp - 0x20]
xor ecx, ecx
push eax
lea eax, [ebp - 9]
cmp byte [esi + 0xcd], cl
mov edx, dword [esi]
cmove eax, ecx
mov ecx, edi
push eax
call fcn.10052240
mov ecx, dword [ebp - 0x18]
add esp, 0xc
cmp byte [ebp - 9], 0
jne 0x10024762
mov eax, dword [ecx]
mov dword [ebx + 0x98], eax
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx]
jne 0x1002476c
mov dword [ebx + 0x74], esi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x3fc8]
mov dword [esi + 0x394], eax
movups xmm0, xmmword [ecx + 0x3fcc]
movups xmmword [esi + 0x398], xmm0
mov eax, dword [ecx + 0x4130]
test eax, eax
je 0x100247d3
cmp dword [eax + 0x324], esi
jne 0x100247d3
test byte [esi + 0x164], 2
movss xmm1, dword [0x100c4320]
jne 0x100247db
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi + 0x88]
mov esi, dword [ebp - 0x10]
mov dword [ecx + 0x340], eax
jmp 0x100247dd
test eax, eax
je 0x100241a9
mov eax, dword [ebx + 0x94]
jmp 0x100241c3
movss xmm1, dword [0x100c4320]
mov esi, ecx
mov edx, dword [ebp - 8]
inc edx
mov dword [ebp - 8], edx
cmp edx, dword [ebx + 0x24]
jl 0x10024263
movups xmm0, xmmword [ebp - 0x48]
movups xmm1, xmmword [ebp - 0xd0]
movups xmm2, xmmword [ebp - 0xe0]
movups xmm3, xmmword [ebp - 0xf0]
movups xmm4, xmmword [ebp - 0x100]
movups xmm5, xmmword [ebp - 0x68]
movups xmmword [esi + 0x392c], xmm0
movups xmmword [esi + 0x3b3c], xmm1
movups xmmword [esi + 0x3b4c], xmm2
movups xmmword [esi + 0x3b5c], xmm3
movups xmmword [esi + 0x3b6c], xmm4
movups xmmword [esi + 0x3b7c], xmm5
mov ecx, dword [ebx + 0x74]
test ecx, ecx
je 0x10024854
cmp byte [ebp - 0x24], 0
mov eax, dword [ebp - 0x2c]
jne 0x10024851
cmp dword [eax + 0x74], 0
jne 0x10024854
mov dword [eax + 0x74], ecx
mov al, byte [ebx + 0xa0]
and al, 8
je 0x10024877
mov ecx, dword [ebx + 0x74]
test ecx, ecx
je 0x10024877
cmp byte [ecx + 0xcd], 0
je 0x10024877
mov byte [ebp - 0xa], 1
jmp 0x1002491b
test al, al
je 0x10024a2b
mov ecx, dword [0x101423a0]
mov eax, dword [ecx + 0x3fa8]
or eax, 4
mov dword [ecx + 0x3fa8], eax
add ecx, 0x40b4
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.100291d0
movss xmm0, dword [esi + 0x392c]
lea eax, [ebp - 0x68]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [esi + 0x3930]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [esi + 0x3934]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [esi + 0x3938]
mulss xmm0, dword [0x100c4360]
mov esi, dword [0x101423a0]
push eax
mov dword [ebp - 0x68], 1
movss dword [ebp - 0x3c], xmm0
movups xmm0, xmmword [esi + 0x392c]
lea ecx, [esi + 0x4084]
movups xmmword [ebp - 0x64], xmm0
call fcn.10029870
movups xmm0, xmmword [ebp - 0x48]
mov byte [ebp - 0xa], 0
movups xmmword [esi + 0x392c], xmm0
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
xor edx, edx
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, str.CLOSE
call fcn.100092e0
mov ecx, dword [0x101423a0]
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ecx + 0x3f38], eax
jne 0x10024966
push ecx
push str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.10028fd0
mov eax, dword [ebp - 0x34]
add esp, 8
lea edx, [ebp - 0x88]
mov ecx, eax
call fcn.10040550
test al, al
je 0x100249d5
or byte [ebx + 0xa0], 0x40
xor edx, edx
cmp dword [edi], edx
jle 0x100249d5
xor eax, eax
mov dword [ebp - 0x2c], eax
nop dword [eax]
mov ecx, dword [edi + 8]
add ecx, eax
test byte [ecx + 4], 1
jne 0x100249c0
mov byte [ecx + 0x28], 1
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx]
mov eax, dword [ebp - 0x2c]
jne 0x100249ca
mov dword [ecx + 0xc], 0xffffffff
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
jmp 0x100249ca
mov ecx, dword [ecx]
cmp dword [edi + 0x1c], ecx
je 0x100249ca
mov dword [edi + 0x18], ecx
inc edx
add eax, 0x2c
mov dword [ebp - 0x2c], eax
cmp edx, dword [edi]
jl 0x10024990
cmp byte [ebp - 0xa], 0
jne 0x10024a2b
mov ecx, dword [0x101423a0]
mov eax, dword [ecx + 0x4084]
mov ecx, dword [ecx + 0x408c]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
mov edx, dword [0x101423a0]
add eax, eax
movups xmmword [edx + eax*8 + 0x391c], xmm0
dec dword [edx + 0x4084]
dec dword [edx + 0x40b4]
mov eax, dword [edx + 0x40bc]
mov ecx, dword [edx + 0x40b4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x3fa8], eax
mov eax, dword [ebp - 0x28]
xor edx, edx
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, str.TITLEBAR
call fcn.100092e0
mov ecx, dword [0x101423a0]
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ecx + 0x3f38], eax
jne 0x10024a76
push ecx
push str.TITLEBAR
mov edx, 0xb
mov ecx, eax
call fcn.10028fd0
mov eax, dword [ebp - 8]
add esp, 8
mov ecx, dword [esi + 0x3f3c]
test ecx, ecx
je 0x10024a90
cmp ecx, eax
je 0x10024a90
cmp dword [esi + 0x3f50], eax
jne 0x10024c51
push 0x1000
lea ecx, [ebp - 0xa]
mov edx, eax
push ecx
push 0
lea ecx, [ebp - 0xa4]
call fcn.1003f690
mov eax, dword [ebp - 8]
add esp, 0xc
mov edx, dword [0x101423a0]
cmp dword [esi + 0x3f3c], eax
jne 0x10024ae6
mov dword [esi + 0x3fc0], eax
mov eax, dword [edx + 0x3fc0]
cmp dword [edx + 0x3f3c], eax
jne 0x10024ad7
mov byte [edx + 0x3f44], 1
cmp dword [edx + 0x3f50], eax
jne 0x10024ae6
mov byte [edx + 0x3f5d], 1
cmp byte [ebp - 0xa], 0
je 0x10024c51
movss xmm0, dword [edx + 0x36a8]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10024b0a
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x4c], eax
cmp dword [edi + 0x14], 0
je 0x10024c51
mov esi, dword [edi]
xor ecx, ecx
test esi, esi
jle 0x10024c51
mov eax, dword [edi + 8]
mov edx, dword [edi + 0x14]
cmp dword [eax], edx
mov edx, dword [0x101423a0]
je 0x10024b3d
inc ecx
add eax, 0x2c
cmp ecx, esi
jl 0x10024b23
jmp 0x10024c51
test eax, eax
je 0x10024c51
mov esi, dword [eax + 8]
test esi, esi
jne 0x10024b4f
mov esi, dword [ebx + 0x70]
mov eax, dword [ebx + 0x74]
xor cl, cl
mov dword [ebp - 8], ecx
test eax, eax
je 0x10024b9b
test byte [eax + 8], 4
jne 0x10024b9b
mov eax, dword [ebx + 0x18]
mov ecx, ebx
test eax, eax
je 0x10024b79
nop word [eax + eax]
mov ecx, eax
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x10024b70
cmp dword [ecx + 0x7c], ebx
jne 0x10024b84
cmp dword [ecx + 0x78], 0
je 0x10024b98
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 8]
shr eax, 0xa
test al, 1
movzx ecx, cl
cmovne ecx, dword [ebp - 0x30]
jmp 0x10024b9b
mov ecx, dword [ebp - 8]
movss xmm0, dword [edx + 0x36a8]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10024bb0
mov ah, 1
jmp 0x10024bb2
xor ah, ah
cmp byte [edx + 0xd60], 0
jne 0x10024bbf
xor al, al
jmp 0x10024be9
movss xmm0, dword [edx + 0x30]
movaps xmm1, xmm0
mulss xmm1, dword [0x100c43d8]
comiss xmm2, xmm1
jbe 0x10024bd7
movaps xmm1, xmm0
movss xmm0, dword [edx + 0x36f8]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test cl, cl
je 0x10024c3a
test al, al
je 0x10024c51
lea eax, [ebp - 0x78]
mov dword [ebp - 0x5c], 0
push eax
lea ecx, [edx + 0x535c]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x64], 0x3f000000
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x78], 2
mov dword [ebp - 0x58], ebx
call fcn.100293e0
jmp 0x10024c51
test ah, ah
jne 0x10024c42
test al, al
je 0x10024c51
cmp dword [edx + 0x3f24], esi
je 0x10024c51
mov ecx, esi
call fcn.1000c350
mov ecx, dword [edi + 0x18]
test ecx, ecx
cmove ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x10024c98
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x10024c98
mov esi, dword [edi + 8]
nop dword [eax]
cmp dword [esi], ecx
je 0x10024c7e
inc eax
add esi, 0x2c
cmp eax, edx
jl 0x10024c70
jmp 0x10024c98
test esi, esi
je 0x10024c98
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10024c98
call fcn.10017120
mov ecx, dword [esi + 8]
xor dl, dl
call fcn.1001a9d0
call fcn.10050f90
mov eax, dword [0x101423a0]
mov eax, dword [eax + 0x3f14]
dec dword [eax + 0xfc]
mov eax, dword [ebx + 0x10]
shr eax, 0xa
test al, 1
jne 0x10024d41
mov eax, dword [ebp - 0x28]
mov cl, byte [ebp - 0x19]
mov dword [eax + 0x160], 0
mov byte [eax + 0xc8], cl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100acd72
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x24], 0
jle 0x10024cf0
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
jmp 0x10024cf2
xor eax, eax
mov dl, byte [ebp - 0x19]
mov dword [ebp - 0x30], eax
and dl, 0xfd
mov dword [ebx + 0x74], eax
mov al, cl
add al, al
or dl, al
mov byte [ebx + 0xa0], dl
test cl, cl
je 0x10024d1a
mov eax, dword [esi + 0x3eb0]
mov dword [ebx + 0x8c], eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10024d41
test cl, cl
jne 0x10024d2b
cmp dword [edi + 0x74], 0
jne 0x10024d2e
mov dword [edi + 0x74], eax
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x10024d41
mov eax, dword [ebx + 0x74]
mov eax, dword [eax + 0x88]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100acd72
mov esp, ebp
pop ebp
ret