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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x1005200c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x34], edx
push esi
mov esi, dword [0x100cbe88]
push edi
mov ecx, dword [ebx + 0x88]
mov al, byte [ebx + 0xa0]
inc ecx
mov edi, dword [esi + 0x3eb0]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x68], edi
test al, 0x40
je 0x100205f9
mov byte [ebp - 0xd], 1
cmp ecx, edi
je 0x100205fd
mov byte [ebp - 0xd], 0
cmp dword [ebx + 0x98], 0
je 0x10020611
mov dword [ebp - 0x38], 1
cmp ecx, edi
je 0x10020618
mov dword [ebp - 0x38], 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 - 0x20], ecx
mov dword [ebp - 0x48], edi
test eax, eax
je 0x10020652
nop
mov edx, eax
mov dword [ebp - 0x48], edx
mov eax, dword [edx + 0x18]
test eax, eax
jne 0x10020640
mov edx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x48]
mov eax, dword [esi + 0x4280]
test eax, eax
je 0x10020667
cmp dword [eax + 0x388], ebx
sete cl
jmp 0x10020695
mov eax, dword [esi + 0x4130]
test eax, eax
je 0x10020698
mov eax, dword [eax + 0x330]
cmp eax, dword [edx + 0x32c]
jne 0x10020698
mov eax, dword [edi + 0x90]
cmp eax, dword [ebx]
movzx ecx, cl
mov dword [ebp - 0xc], 1
cmove ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebx + 0x10]
test eax, 0x3000
jne 0x1002172f
mov cl, byte [edx + 0xc8]
shr eax, 0xa
mov byte [ebp - 0x19], cl
test al, 1
jne 0x100206c7
mov byte [edx + 0xc8], 0
mov dword [edx + 0x160], 1
mov ecx, dword [ebx]
mov edi, dword [esi + 0x3f14]
mov dword [ebp - 0xc], ecx
cmp dword [esi + 0x3f38], ecx
jne 0x100206ea
push ecx
push 0
mov edx, 0xd
call fcn.100259a0
add esp, 8
lea eax, [ebp - 0xc]
push eax
lea ecx, [edi + 0xfc]
call fcn.10025ba0
mov eax, dword [ebx + 0x30]
mov edi, eax
mov dword [ebp - 0x60], eax
test edi, edi
jne 0x1002070f
mov ecx, ebx
call fcn.100217a0
mov edi, dword [ebx + 0x30]
mov dl, byte [ebx + 0xa0]
mov al, byte [ebp - 0x20]
and dl, 0xfd
add al, al
mov dword [ebp - 0x4c], 0
or dl, al
test dword [ebx + 0x10], 0x4000
mov byte [ebp - 0x1a], dl
mov byte [ebx + 0xa0], dl
jne 0x100207d7
cmp dword [esi + 0x387c], 0xffffffff
je 0x100207d7
mov eax, dword [0x100cbe88]
xor edx, edx
mov byte [ebp - 5], 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.100066f0
mov ecx, eax
add esp, 4
mov eax, dword [0x100cbe88]
mov dword [ebp - 0xc], ecx
cmp dword [eax + 0x3f38], ecx
jne 0x100207a8
push ecx
push str.WindowMenu
mov edx, 0xb
call fcn.100259a0
mov al, byte [ebx + 0xa0]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov byte [ebp - 0x1a], al
xor edx, edx
call fcn.10015d50
test al, al
je 0x100207dd
mov edx, edi
mov ecx, ebx
call fcn.100203f0
test eax, eax
je 0x100207c6
mov dword [edi + 0x18], eax
mov dword [ebp - 0x4c], eax
mov dl, byte [ebx + 0xa0]
mov al, dl
shr al, 1
and al, 1
or byte [ebp - 0x20], al
jmp 0x100207e0
mov byte [ebp - 5], 0
jmp 0x100207e0
mov dl, byte [ebp - 0x1a]
mov ecx, dword [0x100cbe88]
movss xmm2, dword [ebx + 0x34]
movss xmm6, dword [ebx + 0x38]
movaps xmm1, xmm2
movss dword [ebp - 0x5c], xmm2
movss xmm3, dword [ecx + 0x3ca8]
movss xmm5, dword [ecx + 0x3894]
movaps xmm0, xmm3
movss xmm4, dword [ecx + 0x3890]
addss xmm0, xmm6
movss dword [ebp - 0x78], xmm2
addss xmm5, xmm5
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
movss dword [ebp - 0x40], xmm6
movss dword [ebp - 0x74], xmm6
addss xmm5, xmm0
movss xmm0, dword [ecx + 0x3868]
movaps xmm7, xmm0
addss xmm7, xmm2
movaps xmm2, xmm4
addss xmm1, dword [ebx + 0x3c]
movss dword [ebp - 0x58], xmm5
movss dword [ebp - 0x6c], xmm5
addss xmm2, xmm7
movss dword [ebp - 0x3c], xmm1
movss dword [ebp - 0x70], xmm1
subss xmm1, xmm0
subss xmm1, xmm4
test dl, 8
je 0x1002088d
subss xmm1, xmm3
movss dword [ebp - 0x50], xmm6
movaps xmm0, xmm1
subss xmm0, xmm4
movss dword [ebp - 0x54], xmm0
test dl, 0x10
je 0x100208bd
cmp dword [ecx + 0x387c], 0
jne 0x100208a9
addss xmm3, dword [ecx + 0x38a8]
addss xmm2, xmm3
jmp 0x100208bd
cmp dword [ecx + 0x387c], 1
jne 0x100208bd
addss xmm4, xmm3
subss xmm1, xmm4
movaps xmm7, xmm1
mov eax, dword [edi]
xor edx, edx
movaps xmm0, xmm6
movss dword [ebp - 0x90], xmm2
movss dword [ebp - 0x8c], xmm6
movss dword [ebp - 0x88], xmm1
movss dword [ebp - 0x84], xmm5
movss dword [ebp - 0x80], xmm7
movss dword [ebp - 0x7c], xmm0
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x14], edx
cmp dword [ebx + 0x24], edx
jle 0x100209ef
nop dword [eax]
mov eax, dword [ebx + 0x2c]
mov esi, dword [eax + edx*4]
mov dword [ebp - 0xc], esi
mov edx, dword [esi + 0x88]
test edx, edx
je 0x10020930
xor ecx, ecx
cmp dword [edi], ecx
jle 0x10020930
mov eax, dword [edi + 8]
nop dword [eax]
cmp dword [eax], edx
je 0x100209cc
inc ecx
add eax, 0x2c
cmp ecx, dword [edi]
jl 0x10020920
or eax, 0xffffffff
mov dword [ebp - 0xa0], 0
cmp byte [esi + 0xcd], 0
mov ecx, 0x400000
mov word [ebp - 0x96], ax
xorps xmm0, xmm0
mov word [ebp - 0x98], ax
mov eax, 0x500000
cmovne eax, ecx
movlpd qword [ebp - 0xa8], xmm0
mov dword [ebp - 0xb8], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xac], 0xffffffff
mov dword [ebp - 0x9c], 0xffffffff
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb0], eax
cmp eax, 0xffffffff
jne 0x100209b8
mov esi, dword [0x100cbe88]
mov eax, dword [esi + 0x3eb0]
mov esi, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xb4], esi
push eax
mov ecx, edi
call fcn.100435b0
mov edx, dword [ebp - 0x14]
inc edx
mov dword [ebp - 0x14], edx
cmp edx, dword [ebx + 0x24]
jl 0x10020900
movss xmm5, dword [ebp - 0x58]
movss xmm6, dword [ebp - 0x40]
mov esi, dword [ebp - 0x18]
mov ecx, dword [0x100cbe88]
mov eax, dword [ebp - 0x20]
test al, al
je 0x10020a05
mov eax, dword [esi + 0x3eb0]
mov dword [ebx + 0x8c], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
cmp byte [edx + 0xc6], 0
je 0x10020a18
mov eax, 0xd
jmp 0x10020a2a
test al, al
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
setne al
add eax, 0xb
movss xmm0, dword [0x1004fb00]
add eax, eax
xorps xmm4, xmm4
movups xmm3, xmmword [ecx + eax*8 + 0x391c]
comiss xmm4, xmm3
movaps xmm2, xmm3
shufps xmm2, xmm3, 0xff
mulss xmm2, dword [ecx + 0x3854]
movups xmmword [ebp - 0x30], xmm3
jbe 0x10020a5c
xorps xmm1, xmm1
jmp 0x10020a63
movaps xmm1, xmm0
minss xmm1, xmm3
comiss xmm4, dword [ebp - 0x2c]
movss xmm3, dword [0x1004fc04]
movss xmm7, dword [0x1004fabc]
mulss xmm1, xmm3
addss xmm1, xmm7
cvttss2si ecx, xmm1
jbe 0x10020a8a
xorps xmm1, xmm1
jmp 0x10020a92
movaps xmm1, xmm0
minss xmm1, dword [ebp - 0x2c]
mulss xmm1, xmm3
addss xmm1, xmm7
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm4, dword [ebp - 0x28]
jbe 0x10020aae
xorps xmm1, xmm1
jmp 0x10020ab6
movaps xmm1, xmm0
minss xmm1, dword [ebp - 0x28]
mulss xmm1, xmm3
addss xmm1, xmm7
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm4, xmm2
jbe 0x10020ad1
xorps xmm0, xmm0
jmp 0x10020ad5
minss xmm0, xmm2
movss xmm1, dword [edx + 0x40]
movss xmm2, dword [0x1004fb44]
mulss xmm0, xmm3
movss xmm3, dword [edx + 0x44]
addss xmm0, xmm7
cvttss2si eax, xmm0
movaps xmm0, xmm1
addss xmm1, dword [edx + 0x48]
shl eax, 0x18
addss xmm0, xmm2
or eax, ecx
mov dword [ebp - 0x40], eax
subss xmm1, xmm2
comiss xmm0, dword [ebp - 0x5c]
movss xmm0, dword [ebp - 0x3c]
setae al
comiss xmm0, xmm1
movaps xmm0, xmm3
addss xmm3, dword [edx + 0x4c]
addss xmm0, xmm2
setae ch
subss xmm3, xmm2
comiss xmm0, xmm6
setae ah
comiss xmm5, xmm3
setae cl
test ah, ah
je 0x10020b4a
test al, al
je 0x10020b4a
mov dword [ebp - 0xc], 0x10
jmp 0x10020b55
mov dword [ebp - 0xc], 0
test ah, ah
je 0x10020b60
mov dword [ebp - 0x14], 0x20
test ch, ch
jne 0x10020b67
mov dword [ebp - 0x14], 0
test cl, cl
je 0x10020b76
test al, al
je 0x10020b76
mov eax, 0x40
jmp 0x10020b7c
xor eax, eax
test cl, cl
je 0x10020b85
test ch, ch
mov ecx, 0x180
jne 0x10020b8a
mov ecx, pe_nt_image_headers32
or eax, dword [ebp - 0x14]
or eax, dword [ebp - 0xc]
movss xmm0, dword [edx + 0x78]
or eax, ecx
push eax
push ecx
mov ecx, dword [edx + 0x288]
lea eax, [ebp - 0x70]
movss dword [esp], xmm0
push dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10030cb0
cmp byte [ebp - 5], 0
je 0x10020c90
mov eax, dword [ebp - 0x34]
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.100066f0
mov ecx, dword [0x100cbe88]
add esp, 4
mov dword [ebp - 0x3c], eax
cmp dword [ecx + 0x3f38], eax
jne 0x10020c09
push ecx
push str.COLLAPSE
mov edx, 0xb
mov ecx, eax
call fcn.100259a0
mov eax, dword [ebp - 0x3c]
add esp, 8
push ebx
lea edx, [ebp - 0x80]
mov ecx, eax
call fcn.1003c840
add esp, 4
test al, al
je 0x10020c73
mov esi, dword [0x100cbe88]
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.100066f0
add esp, 4
mov dword [ebp - 0x3c], eax
cmp dword [esi + 0x3f38], eax
jne 0x10020c69
push ecx
push str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.100259a0
mov eax, dword [ebp - 0x3c]
add esp, 8
mov ecx, eax
call fcn.10015dd0
mov esi, dword [ebp - 0x18]
mov eax, dword [0x100cbe88]
mov ecx, dword [eax + 0x3f50]
test ecx, ecx
je 0x10020c90
cmp ecx, dword [eax + 0x3fc0]
jne 0x10020c90
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
lea ecx, [eax - 1]
test ecx, ecx
js 0x10020ccf
imul edx, ecx, 0x2c
nop
mov eax, dword [edi + 8]
mov eax, dword [edx + eax + 4]
test eax, 0x400000
je 0x10020cc9
mov esi, dword [edi + 8]
and eax, 0xffbfffff
mov dword [edx + esi + 4], eax
mov eax, ecx
sub edx, 0x2c
mov dword [ebp - 0x14], eax
sub ecx, 1
jns 0x10020ca0
jmp 0x10020ccc
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov ecx, dword [edi]
cmp ecx, eax
jle 0x10020cfc
inc eax
cmp ecx, eax
jle 0x10020cfc
mov eax, dword [ebp - 0x14]
sub ecx, eax
cmp ecx, 1
jbe 0x10020cfc
imul eax, eax, 0x2c
push 0x10020390
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 0x10020d1a
mov eax, dword [eax + 0x324]
cmp dword [eax + 0x388], ebx
jne 0x10020d1a
mov eax, dword [eax + 4]
mov dword [edi + 0x14], eax
cmp dword [ebp - 0x60], 0
jne 0x10020d43
mov edx, dword [ebx + 0x94]
test edx, edx
je 0x10020d43
xor ecx, ecx
cmp dword [edi], ecx
jle 0x10020d43
mov eax, dword [edi + 8]
cmp dword [eax], edx
je 0x1002132b
inc ecx
add eax, 0x2c
cmp ecx, dword [edi]
jl 0x10020d33
mov eax, dword [edi]
cmp eax, dword [ebp - 0x64]
jle 0x10020d60
imul ecx, eax, 0x2c
mov eax, dword [edi + 8]
mov eax, dword [ecx + eax - 0x24]
mov eax, dword [eax + 0x88]
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x34]
mov ecx, 0x500003
cmp byte [eax + 0xc6], 0
jne 0x10020d7d
cmp byte [ebp - 0x20], 0
mov eax, 0x700003
cmovne ecx, eax
push ebx
push ecx
lea edx, [ebp - 0x90]
mov ecx, edi
call fcn.100406a0
movups xmm0, xmmword [esi + 0x392c]
xor edx, edx
add esp, 8
movups xmm1, xmmword [esi + 0x3b3c]
mov dword [ebp - 0xc], 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 - 0xe8], xmm0
movups xmmword [ebp - 0xf8], xmm1
movups xmmword [ebp - 0x108], xmm2
movups xmmword [ebp - 0x118], xmm3
movups xmmword [ebp - 0x128], xmm4
movups xmmword [ebp - 0xd8], xmm5
cmp dword [ebx + 0x24], edx
jle 0x1002137a
movss xmm1, dword [0x1004fa7c]
cmp byte [ebp - 0xd], 0
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax + edx*4]
mov dword [ebp - 0x14], edx
jne 0x10020e1a
mov eax, dword [ebp - 0x38]
cmp eax, dword [edx + 0x88]
jne 0x10020e30
cmp byte [edx + 0xcd], 0
je 0x10020e30
test dword [edx + 8], 0x100000
je 0x10021340
mov eax, dword [edx + 0x254]
inc eax
cmp eax, dword [esi + 0x3eb0]
jge 0x10020e4b
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x44], eax
je 0x10021340
mov esi, dword [edx + 0x20]
mov eax, dword [edx + 8]
or esi, 1
mov ecx, dword [ebp - 0x14]
and eax, 0x100000
cmove esi, dword [edx + 0x20]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x370]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004ff90]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x30], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004ff90]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004ff90]
mov eax, dword [ebp - 0x18]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x28], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1004ff90]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x24], xmm0
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax + 0x392c], xmm0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x374]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004ff90]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x30], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004ff90]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004ff90]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x28], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1004ff90]
mov eax, dword [ebp - 0x18]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x24], xmm0
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax + 0x3b3c], xmm0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x378]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004ff90]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x30], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004ff90]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004ff90]
mov eax, dword [ebp - 0x18]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x28], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1004ff90]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x24], xmm0
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax + 0x3b4c], xmm0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x37c]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004ff90]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x30], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004ff90]
mov eax, ecx
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
shr ecx, 0x18
addsd xmm0, qword [eax*8 + 0x1004ff90]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x28], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mov eax, dword [ebp - 0x18]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1004ff90]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x24], xmm0
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax + 0x3b5c], xmm0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x380]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004ff90]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x30], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004ff90]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004ff90]
mov eax, dword [ebp - 0x18]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x28], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1004ff90]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x24], xmm0
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax + 0x3b6c], xmm0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x384]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004ff90]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x30], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004ff90]
mov eax, ecx
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
shr ecx, 0x18
addsd xmm0, qword [eax*8 + 0x1004ff90]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x28], xmm0
movd xmm0, ecx
mov eax, dword [ebp - 0x18]
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
push dword [ebp - 0x14]
addsd xmm0, qword [ecx*8 + 0x1004ff90]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x24], xmm0
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax + 0x3b7c], xmm0
mov eax, esi
mov byte [ebp - 5], 1
or eax, 4
and dl, 8
cmove eax, esi
mov esi, dword [ebp - 0x14]
xor ecx, ecx
push eax
lea eax, [ebp - 5]
cmp byte [esi + 0xcd], cl
mov edx, dword [esi]
cmove eax, ecx
mov ecx, edi
push eax
call fcn.10041e40
add esp, 0xc
cmp byte [ebp - 5], 0
jne 0x100212c9
mov eax, dword [esi + 0x88]
mov dword [ebx + 0x98], eax
mov eax, dword [edi + 0x1c]
cmp eax, dword [esi + 0x88]
jne 0x100212d7
mov dword [ebx + 0x74], esi
mov ecx, dword [ebp - 0x18]
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 0x10021336
cmp dword [eax + 0x324], esi
jne 0x10021336
test byte [esi + 0x164], 2
movss xmm1, dword [0x1004fa7c]
jne 0x1002133e
mov ecx, dword [ebp - 0x34]
mov eax, dword [esi + 0x88]
mov esi, dword [ebp - 0x18]
mov dword [ecx + 0x340], eax
jmp 0x10021340
mov dword [edi + 0x18], edx
mov dword [edi + 0x14], edx
jmp 0x10020d60
movss xmm1, dword [0x1004fa7c]
mov esi, ecx
mov edx, dword [ebp - 0xc]
inc edx
mov dword [ebp - 0xc], edx
cmp edx, dword [ebx + 0x24]
jl 0x10020e00
movups xmm0, xmmword [ebp - 0xe8]
movups xmm1, xmmword [ebp - 0xf8]
movups xmm2, xmmword [ebp - 0x108]
movups xmm3, xmmword [ebp - 0x118]
movups xmm4, xmmword [ebp - 0x128]
movups xmm5, xmmword [ebp - 0xd8]
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 0x100213bd
cmp byte [ebp - 0x20], 0
mov eax, dword [ebp - 0x48]
jne 0x100213ba
cmp dword [eax + 0x74], 0
jne 0x100213bd
mov dword [eax + 0x74], ecx
mov al, byte [ebx + 0xa0]
and al, 8
je 0x100213e0
mov ecx, dword [ebx + 0x74]
test ecx, ecx
je 0x100213e0
cmp byte [ecx + 0xcd], 0
je 0x100213e0
mov byte [ebp - 0xd], 1
jmp 0x1002148d
test al, al
je 0x1002158e
mov ecx, dword [0x100cbe88]
mov eax, dword [ecx + 0x3fa8]
or eax, 4
mov dword [ecx + 0x3fa8], eax
add ecx, 0x40b4
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
call fcn.10025ba0
movss xmm0, dword [esi + 0x392c]
lea eax, [ebp - 0xd8]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [esi + 0x3930]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [esi + 0x3934]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [esi + 0x3938]
mulss xmm0, dword [0x1004fab4]
mov esi, dword [0x100cbe88]
push eax
mov dword [ebp - 0xd8], 1
movss dword [ebp - 0x24], xmm0
movups xmm0, xmmword [esi + 0x392c]
lea ecx, [esi + 0x4084]
movups xmmword [ebp - 0xd4], xmm0
call fcn.100262b0
movups xmm0, xmmword [ebp - 0x30]
mov byte [ebp - 0xd], 0
movups xmmword [esi + 0x392c], xmm0
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
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.100066f0
mov ecx, dword [0x100cbe88]
add esp, 4
mov dword [ebp - 0x44], eax
cmp dword [ecx + 0x3f38], eax
jne 0x100214d8
push ecx
push str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.100259a0
mov eax, dword [ebp - 0x44]
add esp, 8
lea edx, [ebp - 0x54]
mov ecx, eax
call fcn.1003c500
test al, al
je 0x10021538
or byte [ebx + 0xa0], 0x40
cmp dword [edi], 0
jle 0x10021538
xor edx, edx
xor esi, esi
mov ecx, dword [edi + 8]
add ecx, edx
test byte [ecx + 4], 1
jne 0x10021523
mov byte [ecx + 0x28], 1
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx]
jne 0x1002152d
mov dword [ecx + 0xc], 0xffffffff
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
jmp 0x1002152d
mov eax, dword [ecx]
cmp dword [edi + 0x1c], eax
je 0x1002152d
mov dword [edi + 0x18], eax
inc esi
add edx, 0x2c
cmp esi, dword [edi]
jl 0x100214f6
mov esi, dword [ebp - 0x18]
cmp byte [ebp - 0xd], 0
jne 0x1002158e
mov ecx, dword [0x100cbe88]
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 [0x100cbe88]
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 - 0x34]
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.100066f0
mov ecx, dword [0x100cbe88]
add esp, 4
mov dword [ebp - 0x38], eax
cmp dword [ecx + 0x3f38], eax
jne 0x100215d9
push ecx
push str.TITLEBAR
mov edx, 0xb
mov ecx, eax
call fcn.100259a0
mov eax, dword [ebp - 0x38]
add esp, 8
mov ecx, dword [esi + 0x3f3c]
test ecx, ecx
je 0x100215f3
cmp ecx, eax
je 0x100215f3
cmp dword [esi + 0x3f50], eax
jne 0x100216a4
push 0x1000
lea ecx, [ebp - 0xd]
mov edx, eax
push ecx
push 0
lea ecx, [ebp - 0x78]
call fcn.1003b650
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov ecx, dword [0x100cbe88]
cmp dword [esi + 0x3f3c], eax
jne 0x10021646
mov dword [esi + 0x3fc0], eax
mov eax, dword [ecx + 0x3fc0]
cmp dword [ecx + 0x3f3c], eax
jne 0x10021637
mov byte [ecx + 0x3f44], 1
cmp dword [ecx + 0x3f50], eax
jne 0x10021646
mov byte [ecx + 0x3f5d], 1
cmp byte [ebp - 0xd], 0
je 0x100216a4
movss xmm0, dword [ecx + 0x36a8]
ucomiss xmm0, dword [0x1004fa58]
lahf
test ah, 0x44
jp 0x1002166b
mov eax, dword [edi + 0x14]
mov edx, eax
mov dword [ebp - 0x4c], eax
jmp 0x1002166e
mov edx, dword [edi + 0x14]
test edx, edx
je 0x100216a4
mov esi, dword [edi]
xor ecx, ecx
test esi, esi
jle 0x100216a4
mov eax, dword [edi + 8]
nop dword [eax]
cmp dword [eax], edx
je 0x1002168e
inc ecx
add eax, 0x2c
cmp ecx, esi
jl 0x10021680
jmp 0x100216a4
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10021698
mov ecx, dword [ebx + 0x70]
push 0
mov edx, ebx
call fcn.10009670
add esp, 4
mov ecx, dword [edi + 0x18]
test ecx, ecx
cmove ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x100216e4
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x100216e4
mov esi, dword [edi + 8]
nop dword [eax]
cmp dword [esi], ecx
je 0x100216ce
inc eax
add esi, 0x2c
cmp eax, edx
jl 0x100216c0
jmp 0x100216e4
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100216e4
call fcn.10014030
mov ecx, dword [esi + 8]
xor dl, dl
call fcn.10017750
call fcn.10040a40
mov eax, dword [0x100cbe88]
mov eax, dword [eax + 0x3f14]
dec dword [eax + 0xfc]
mov eax, dword [ebx + 0x10]
shr eax, 0xa
test al, 1
jne 0x1002178d
mov eax, dword [ebp - 0x34]
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.10047d31
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x24], 0
jle 0x1002173c
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
jmp 0x1002173e
xor eax, eax
mov dl, byte [ebp - 0x19]
mov dword [ebp - 0x38], 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 0x10021766
mov eax, dword [esi + 0x3eb0]
mov dword [ebx + 0x8c], eax
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1002178d
test cl, cl
jne 0x10021777
cmp dword [edi + 0x74], 0
jne 0x1002177a
mov dword [edi + 0x74], eax
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x1002178d
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.10047d31
mov esp, ebp
pop ebp
ret