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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x100a7010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov esi, ecx
mov edx, dword [0x100a79b0]
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xb4], esi
mov ecx, dword [esi + 0x8c]
mov eax, dword [edx + 0x3fe0]
inc ecx
mov dword [ebp - 0xd8], eax
mov al, byte [esi + 0xa8]
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xbc], ecx
test al, 0x40
je 0x10021626
mov byte [ebp - 0xad], 1
cmp ecx, dword [ebp - 0xd8]
je 0x1002162d
mov byte [ebp - 0xad], 0
cmp dword [esi + 0x9c], 0
je 0x10021648
mov dword [ebp - 0xe0], 1
cmp ecx, dword [ebp - 0xd8]
je 0x10021652
mov dword [ebp - 0xe0], 0
and al, 0xbf
mov dword [esi + 0x9c], 0
mov byte [ebp - 0xa1], al
mov byte [esi + 0xa8], al
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xb8], esi
test eax, eax
je 0x10021695
nop word [eax + eax]
mov edi, eax
mov dword [ebp - 0xb8], edi
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x10021680
mov edi, dword [ebp - 0xac]
mov eax, dword [edx + 0x4d58]
test eax, eax
je 0x100216ad
cmp dword [eax + 0x3c4], esi
sete ch
jmp 0x10021745
mov ecx, dword [edx + 0x4b90]
test ecx, ecx
je 0x10021743
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x94]
cmp eax, dword [esi]
jne 0x10021743
mov ecx, dword [ecx + 0x348]
test dword [ecx + 0xc], 0x10000000
je 0x100216f5
nop word [eax + eax]
mov eax, dword [ecx + 0x340]
mov ecx, dword [eax + 0x348]
test dword [ecx + 0xc], 0x10000000
jne 0x100216e0
mov eax, dword [ecx + 0x3c8]
test eax, eax
jne 0x10021710
mov eax, dword [ecx + 0x3c4]
test eax, eax
je 0x10021743
nop dword [eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x10021720
mov eax, ecx
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x10021717
cmp eax, dword [ebp - 0xb8]
je 0x100218d7
mov eax, dword [eax + 0x74]
test eax, eax
je 0x10021743
mov eax, dword [eax + 0x348]
mov eax, dword [eax + 0x3c4]
test eax, eax
jne 0x10021710
xor ch, ch
mov eax, dword [esi + 0x10]
mov byte [ebp - 0x95], ch
test eax, 0x3000
jne 0x10022830
mov cl, byte [edi + 0xec]
shr eax, 0xa
mov byte [ebp - 0xa1], cl
test al, 1
jne 0x1002177d
mov byte [edi + 0xec], 0
mov dword [edi + 0x188], 1
mov ecx, dword [esi]
mov edi, dword [edx + 0x4068]
mov dword [ebp - 0x70], ecx
cmp dword [edx + 0x40a0], ecx
jne 0x100217a0
push ecx
push 0
mov edx, 0xd
call fcn.100272d0
add esp, 8
lea eax, [ebp - 0x70]
push eax
lea ecx, [edi + 0x124]
call fcn.10027b50
mov eax, dword [esi + 0x30]
mov edi, eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x70], eax
test edi, edi
jne 0x100217ce
mov ecx, esi
call fcn.100228b0
mov edi, dword [esi + 0x30]
mov dword [ebp - 0x70], edi
mov ah, byte [ebp - 0x95]
mov cl, byte [esi + 0xa8]
mov al, ah
movss xmm4, dword [0x100a2c38]
and cl, 0xfd
add al, al
mov dword [ebp - 0xd4], 0
or cl, al
test dword [esi + 0x10], 0x4000
mov byte [esi + 0xa8], cl
jne 0x10021974
mov edx, dword [ebp - 0xa0]
cmp dword [edx + 0x397c], 0xffffffff
je 0x10021974
mov eax, dword [0x100a79b0]
xor edx, edx
mov byte [ebp - 0x69], 1
mov esi, dword [eax + 0x4068]
mov ecx, dword [esi + 0x124]
mov eax, dword [esi + 0x12c]
push dword [eax + ecx*4 - 4]
mov ecx, str.WindowMenu
call fcn.10003f90
mov ecx, dword [esi]
add esp, 4
mov dword [ebp - 0x9c], eax
cmp dword [ecx + 0x40a0], eax
jne 0x1002187c
push ecx
push str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.100272d0
movss xmm4, dword [0x100a2c38]
add esp, 8
mov eax, dword [ebp - 0x9c]
xor edx, edx
mov ecx, eax
call fcn.10016470
mov esi, dword [ebp - 0xb4]
test al, al
je 0x1002197e
mov eax, dword [edi + 0x18]
movss xmm0, dword [esi + 0x38]
movss xmm3, dword [esi + 0x34]
mov dword [ebp - 0xa8], eax
mov eax, dword [0x100a79b0]
mov dword [ebp - 0x9c], eax
cmp dword [eax + 0x397c], 0
movss xmm2, dword [eax + 0x3994]
addss xmm2, xmm2
addss xmm2, dword [eax + 0x3dcc]
addss xmm2, xmm0
jne 0x100218de
xorps xmm4, xmm4
jmp 0x100218e7
mov ch, 1
jmp 0x10021745
movss xmm1, dword [esi + 0x3c]
addss xmm3, xmm1
or dword [eax + 0x4a34], 1
movss dword [eax + 0x4a48], xmm3
movss dword [eax + 0x4a4c], xmm2
movss dword [eax + 0x4a50], xmm4
mov dword [eax + 0x4a54], 0
mov dword [eax + 0x4a38], 1
mov byte [eax + 0x4a74], 1
call fcn.100169e0
test al, al
je 0x1002194a
mov eax, dword [ebp - 0x9c]
or byte [esi + 0xa8], 2
push edi
push esi
push eax
mov eax, dword [eax + 0x5f28]
call eax
add esp, 0xc
call fcn.10016a60
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10021962
xor ecx, ecx
cmp eax, dword [ebp - 0xa8]
cmovne ecx, eax
mov dword [ebp - 0xd4], ecx
mov al, byte [esi + 0xa8]
shr al, 1
and al, 1
or byte [ebp - 0x95], al
jmp 0x1002197e
mov byte [ebp - 0x69], 0
mov byte [ebp - 0x95], ah
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xc8], 0
push eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc4], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0xe8], 0
lea eax, [ebp - 0x90]
mov dword [ebp - 0xe4], 0
push eax
lea edx, [ebp - 0x80]
mov ecx, esi
movups xmmword [ebp - 0x80], xmm0
movups xmmword [ebp - 0x90], xmm0
call fcn.10022ad0
mov eax, dword [edi]
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x9c], ecx
cmp dword [esi + 0x24], ecx
jle 0x10021ade
nop
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xa8], eax
mov edx, dword [eax + 0xac]
test edx, edx
je 0x10021a20
xor ecx, ecx
cmp dword [edi], ecx
jle 0x10021a20
mov eax, dword [edi + 8]
nop
cmp dword [eax], edx
je 0x10021ac8
inc ecx
add eax, 0x30
cmp ecx, dword [edi]
jl 0x10021a10
mov ecx, dword [ebp - 0xa8]
or eax, 0xffffffff
mov word [ebp - 0xee], ax
xorps xmm0, xmm0
mov word [ebp - 0xf0], ax
mov eax, 0x500000
mov dword [ebp - 0x118], edx
mov edx, 0x400000
cmp byte [ecx + 0xf1], 0
movlpd qword [ebp - 0x104], xmm0
cmovne eax, edx
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x114], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0xec], 0
mov dword [ebp - 0x108], 0xffffffff
mov dword [ebp - 0xf8], 0xbf800000
mov dword [ebp - 0xf4], 0xffffffff
mov dword [ebp - 0x10c], eax
cmp eax, 0xffffffff
jne 0x10021ab4
mov eax, dword [0x100a79b0]
mov eax, dword [eax + 0x3fe0]
dec eax
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x110], ecx
push eax
mov ecx, edi
call fcn.1004c0c0
mov ecx, dword [ebp - 0x9c]
inc ecx
mov dword [ebp - 0x9c], ecx
cmp ecx, dword [esi + 0x24]
jl 0x100219f0
cmp byte [ebp - 0x95], 0
mov ecx, dword [ebp - 0xa0]
je 0x10021af9
mov eax, dword [ecx + 0x3fe0]
mov dword [esi + 0x90], eax
mov eax, dword [ebp - 0xac]
cmp byte [eax + 0xea], 0
je 0x10021b0f
mov edx, 0xc
jmp 0x10021b1d
xor edx, edx
cmp byte [ebp - 0x95], dl
setne dl
add edx, 0xa
mov eax, dword [0x100a79b0]
add edx, edx
movss xmm5, dword [0x100a2c38]
xorps xmm6, xmm6
movups xmm2, xmmword [eax + edx*8 + 0x3a3c]
comiss xmm6, xmm2
movaps xmm1, xmm2
movaps xmmword [ebp - 0x130], xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [eax + 0x3954]
jbe 0x10021b57
xorps xmm0, xmm0
jmp 0x10021b5e
movaps xmm0, xmm5
minss xmm0, xmm2
movss xmm2, dword [0x100a2d04]
movss xmm4, dword [0x100a2bf4]
movss xmm3, dword [ebp - 0x12c]
comiss xmm6, xmm3
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si edx, xmm0
jbe 0x10021b8c
xorps xmm0, xmm0
jmp 0x10021b93
movaps xmm0, xmm5
minss xmm0, xmm3
movss xmm3, dword [ebp - 0x128]
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm6, xmm3
jbe 0x10021bb6
xorps xmm0, xmm0
jmp 0x10021bbd
movaps xmm0, xmm5
minss xmm0, xmm3
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm6, xmm1
jbe 0x10021bd8
xorps xmm5, xmm5
jmp 0x10021bdc
minss xmm5, xmm1
movss xmm3, dword [ecx + 0x3a28]
mulss xmm5, xmm2
movaps xmm0, xmm3
movups xmm2, xmmword [ebp - 0x80]
addss xmm5, xmm4
cvttss2si eax, xmm5
shl eax, 0x18
or eax, edx
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xac]
movss xmm1, dword [eax + 0x4c]
movss xmm4, dword [eax + 0x50]
addss xmm0, xmm1
addss xmm1, dword [eax + 0x54]
comiss xmm0, xmm2
subss xmm1, xmm3
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
setae cl
comiss xmm0, xmm1
movaps xmm1, xmm3
movaps xmm0, xmm2
addss xmm1, xmm4
shufps xmm0, xmm2, 0x55
addss xmm4, dword [eax + 0x58]
setae dh
shufps xmm2, xmm2, 0xff
mov byte [ebp - 0x6a], dh
comiss xmm1, xmm0
subss xmm4, xmm3
setae dl
comiss xmm2, xmm4
setae ch
test dl, dl
je 0x10021c6b
test cl, cl
je 0x10021c6b
mov eax, pe_nt_image_headers32
jmp 0x10021c74
mov eax, 0x100
test dl, dl
je 0x10021c82
mov dword [ebp - 0x9c], 0x20
test dh, dh
jne 0x10021c8c
mov dword [ebp - 0x9c], 0
test ch, ch
je 0x10021c9b
test cl, cl
je 0x10021c9b
mov edx, 0x40
jmp 0x10021ca1
xor edx, edx
test ch, ch
je 0x10021cae
cmp byte [ebp - 0x6a], 0
je 0x10021cae
mov ecx, 0x80
jmp 0x10021cb0
xor ecx, ecx
or eax, ecx
or eax, edx
or eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x78]
movss xmm0, dword [eax + 0x84]
movss dword [esp], xmm0
push dword [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [eax + 0x2ac]
call fcn.10032220
cmp byte [ebp - 0x69], 0
je 0x10021dca
mov eax, dword [ebp - 0xac]
xor edx, edx
mov ecx, dword [eax + 0x124]
mov eax, dword [eax + 0x12c]
push dword [eax + ecx*4 - 4]
mov ecx, str.COLLAPSE
call fcn.10003f90
mov ecx, dword [ebp - 0xac]
add esp, 4
mov dword [ebp - 0x9c], eax
mov ecx, dword [ecx]
cmp dword [ecx + 0x40a0], eax
jne 0x10021d48
push ecx
push str.COLLAPSE
mov edx, 0xb
mov ecx, eax
call fcn.100272d0
mov eax, dword [ebp - 0x9c]
add esp, 8
push esi
lea edx, [ebp - 0xc8]
mov ecx, eax
call fcn.1003df40
add esp, 4
test al, al
je 0x10021d62
call fcn.10016530
mov eax, dword [0x100a79b0]
mov ecx, dword [eax + 0x40b8]
test ecx, ecx
je 0x10021d82
cmp ecx, dword [eax + 0x49e8]
jne 0x10021d82
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xd4], eax
mov ecx, 0x11000
call fcn.10007b30
test al, al
mov eax, dword [ebp - 0xa0]
je 0x10021dd0
movss xmm0, dword [eax + 0x40b0]
comiss xmm0, dword [0x100a2bf4]
jbe 0x10021dd0
mov eax, dword [0x100a79b0]
mov ecx, str.Missing_Text
mov eax, dword [eax + 0x5f9c]
test eax, eax
cmovne ecx, eax
push ecx
push 0x1006c97c
call fcn.10016380
add esp, 8
mov eax, dword [ebp - 0xa0]
mov ecx, dword [edi]
mov dword [ebp - 0xc4], ecx
lea edx, [ecx - 1]
test edx, edx
js 0x10021e30
lea esi, [edx + edx*2]
shl esi, 4
nop word [eax + eax]
mov ecx, dword [edi + 8]
mov ecx, dword [ecx + esi + 4]
test ecx, 0x400000
je 0x10021e1e
mov eax, dword [edi + 8]
and ecx, 0xffbfffff
mov dword [eax + esi + 4], ecx
mov ecx, edx
sub esi, 0x30
mov dword [ebp - 0xc4], ecx
sub edx, 1
jns 0x10021df0
jmp 0x10021e24
mov ecx, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xa0]
mov edx, dword [edi]
cmp edx, ecx
jle 0x10021f9b
mov ecx, dword [eax + 0x5fd4]
mov dword [ebp - 0xa8], ecx
test ecx, 0x100
je 0x10021e98
mov eax, dword [ebp - 0xc4]
mov ecx, str.__will_sort_
inc eax
mov dword [ebp - 0x9c], 0x1006b55f
cmp edx, eax
cmovle ecx, dword [ebp - 0x9c]
sub edx, dword [ebp - 0xc4]
push ecx
push edx
push dword [esi]
push str._docking__In_node_0x_08X:__d_new_appearing_tabs:_s_n
call fcn.10026e00
mov eax, dword [ebp - 0xa0]
add esp, 0x10
mov edx, dword [edi]
mov ecx, dword [eax + 0x5fd4]
mov dword [ebp - 0xa8], ecx
mov eax, dword [ebp - 0xc4]
cmp eax, edx
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xa0]
jge 0x10021f35
mov edx, dword [ebp - 0xc4]
lea esi, [edx + edx*2]
shl esi, 4
nop
mov edx, dword [edi + 8]
add edx, esi
test ecx, 0x100
je 0x10021f16
mov eax, dword [edx + 8]
test eax, eax
je 0x10021ee3
movsx eax, word [eax + 0x3aa]
mov dword [ebp - 0xa8], eax
jmp 0x10021eed
mov dword [ebp - 0xa8], 0xffffffff
mov ecx, edi
call fcn.1004a3b0
push dword [ebp - 0xa8]
push eax
push dword [edx]
push str._docking____Tab_0x_08X__s_Order__d_n
call fcn.10026e00
mov eax, dword [ebp - 0xa0]
add esp, 0x10
mov ecx, dword [eax + 0x5fd4]
inc dword [ebp - 0x9c]
add esi, 0x30
mov edx, dword [edi]
cmp dword [ebp - 0x9c], edx
jl 0x10021ec0
mov esi, dword [ebp - 0xb4]
mov dword [ebp - 0xa8], ecx
test dword [ebp - 0xa8], 0x100
je 0x10021f6c
mov eax, dword [eax + 0x4b90]
test eax, eax
je 0x10021f53
mov eax, dword [eax + 0xac]
jmp 0x10021f56
or eax, 0xffffffff
push eax
push dword [esi + 0x98]
push str._docking__SelectedTabId__0x_08X__NavWindow__TabId__0x_08X_n
call fcn.10026e00
mov edx, dword [edi]
add esp, 0xc
mov ecx, dword [ebp - 0xc4]
lea eax, [ecx + 1]
cmp edx, eax
jle 0x10021f9b
sub edx, ecx
cmp edx, 1
jbe 0x10021f9b
push 0x10021440
lea eax, [ecx + ecx*2]
push 0x30
shl eax, 4
add eax, dword [edi + 8]
push edx
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
add esp, 0x10
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x4b90]
test eax, eax
je 0x10021fc2
mov eax, dword [eax + 0x348]
cmp dword [eax + 0x3c4], esi
jne 0x10021fc2
mov eax, dword [eax + 0xac]
mov dword [edi + 0x14], eax
cmp dword [ebp - 0xdc], 0
jne 0x10021ff0
mov edx, dword [esi + 0x98]
test edx, edx
je 0x10021ff0
mov esi, dword [edi]
xor ecx, ecx
test esi, esi
jle 0x10021ff0
mov eax, dword [edi + 8]
cmp dword [eax], edx
je 0x10022382
inc ecx
add eax, 0x30
cmp ecx, esi
jl 0x10021fe0
mov eax, dword [edi]
cmp eax, dword [ebp - 0xc0]
jle 0x10022012
lea ecx, [eax + eax*2]
mov eax, dword [edi + 8]
add ecx, ecx
mov eax, dword [eax + ecx*8 - 0x28]
mov eax, dword [eax + 0xac]
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], eax
mov ecx, dword [ebp - 0xac]
mov eax, 0x500003
mov dword [ebp - 0x9c], eax
cmp byte [ecx + 0xea], 0
jne 0x10022041
cmp byte [ebp - 0x95], 0
mov ecx, 0x700003
cmovne eax, ecx
mov dword [ebp - 0x9c], eax
mov eax, dword [0x100a79b0]
xor edx, edx
mov esi, dword [eax + 0x4068]
mov ecx, dword [esi + 0x124]
mov eax, dword [esi + 0x12c]
push dword [eax + ecx*4 - 4]
mov ecx, 0x1006ca2c
call fcn.10003f90
mov ecx, dword [esi]
add esp, 4
mov dword [ebp - 0xc0], eax
cmp dword [ecx + 0x40a0], eax
jne 0x10022096
push ecx
push 0x1006ca2c
mov edx, 0xb
mov ecx, eax
call fcn.100272d0
mov eax, dword [ebp - 0xc0]
add esp, 8
mov esi, dword [ebp - 0xb4]
lea edx, [ebp - 0x90]
push dword [ebp - 0x9c]
mov dword [edi + 0x10], eax
mov ecx, edi
mov eax, dword [ebp - 0xac]
movss xmm0, dword [esi + 0x34]
addss xmm0, dword [eax + 0x88]
movss dword [edi + 0x60], xmm0
movss xmm0, dword [esi + 0x3c]
addss xmm0, dword [esi + 0x34]
subss xmm0, dword [eax + 0x88]
movss dword [edi + 0x64], xmm0
call fcn.10049030
add esp, 4
lea esi, [ebp - 0x68]
mov edi, 6
nop dword [eax]
mov ecx, esi
call fcn.10001220
add esi, 0x10
sub edi, 1
jne 0x100220f0
mov ecx, dword [ebp - 0xa0]
xor edx, edx
mov esi, dword [ebp - 0xb4]
mov dword [ebp - 0x9c], edx
movups xmm1, xmmword [ecx + 0x3a3c]
movups xmmword [ebp - 0x68], xmm1
movups xmm0, xmmword [ecx + 0x3c4c]
movups xmmword [ebp - 0x58], xmm0
movups xmm0, xmmword [ecx + 0x3c5c]
movups xmmword [ebp - 0x48], xmm0
movups xmm0, xmmword [ecx + 0x3c6c]
movups xmmword [ebp - 0x38], xmm0
movups xmm0, xmmword [ecx + 0x3c7c]
movups xmmword [ebp - 0x28], xmm0
movups xmm0, xmmword [ecx + 0x3c8c]
mov dword [esi + 0x78], edi
mov edi, dword [ebp - 0x70]
movups xmmword [ebp - 0x18], xmm0
cmp dword [esi + 0x24], edx
jle 0x100223b7
movss xmm1, dword [0x100a2bac]
nop dword [eax]
cmp byte [ebp - 0xad], 0
mov eax, dword [esi + 0x2c]
mov esi, dword [eax + edx*4]
mov dword [ebp - 0xdc], esi
jne 0x10022193
mov eax, dword [ebp - 0xe0]
cmp eax, dword [esi + 0xac]
jne 0x100221a9
cmp byte [esi + 0xf1], 0
je 0x100221a9
test dword [esi + 0xc], 0x40000
je 0x10022395
mov eax, dword [esi + 0x278]
inc eax
cmp eax, dword [ecx + 0x3fe0]
jge 0x100221ca
mov eax, dword [ebp - 0xd8]
cmp dword [ebp - 0xbc], eax
je 0x10022395
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0xc]
or edx, 1
and eax, 0x40000
mov eax, dword [edi + 0xc]
mov edi, 0x1006d4f0
cmove edx, dword [esi + 0x2c]
mov ecx, edx
or ecx, 4
and al, 8
lea eax, [esi + 0x3ac]
cmove ecx, edx
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xa0]
mov esi, eax
mov dword [ebp - 0xa8], ecx
mov ecx, dword [esi]
add esi, 4
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100a30f0]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0xd0], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100a30f0]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0xcc], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100a30f0]
mov eax, dword [edi]
add edi, 4
add eax, eax
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0xc8], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x100a30f0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0xc4], xmm0
movups xmm0, xmmword [ebp - 0xd0]
movups xmmword [edx + eax*8 + 0x3a3c], xmm0
cmp edi, 0x1006d508
jl 0x10022208
mov esi, dword [ebp - 0xdc]
lea eax, [ebp - 0x69]
mov edi, dword [ebp - 0x70]
xor ecx, ecx
push esi
push dword [ebp - 0xa8]
cmp byte [esi + 0xf1], cl
mov edx, dword [esi + 4]
cmove eax, ecx
mov byte [ebp - 0x69], 1
push eax
mov ecx, edi
call fcn.1004ab00
mov ecx, dword [ebp - 0xb4]
add esp, 0xc
cmp byte [ebp - 0x69], 0
jne 0x1002231d
mov eax, dword [esi + 0xac]
mov dword [ecx + 0x9c], eax
mov eax, dword [edi + 0x1c]
cmp eax, dword [esi + 0xac]
jne 0x1002232b
mov dword [ecx + 0x78], esi
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx + 0x49f0]
mov dword [esi + 0x3d0], eax
movups xmm0, xmmword [ecx + 0x49f4]
movups xmmword [esi + 0x3d4], xmm0
mov eax, dword [ecx + 0x4b90]
test eax, eax
je 0x1002238d
cmp dword [eax + 0x348], esi
jne 0x1002238d
test byte [esi + 0x18c], 2
movss xmm1, dword [0x100a2bac]
jne 0x10022395
mov edx, dword [ebp - 0xac]
mov eax, dword [esi + 0xac]
mov dword [edx + 0x368], eax
jmp 0x10022395
mov dword [edi + 0x18], edx
mov dword [edi + 0x14], edx
jmp 0x10022012
movss xmm1, dword [0x100a2bac]
mov eax, dword [ebp - 0x9c]
mov esi, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0x9c], eax
mov edx, eax
cmp eax, dword [esi + 0x24]
jl 0x10022170
movups xmm1, xmmword [ebp - 0x68]
movups xmmword [ecx + 0x3a3c], xmm1
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [ecx + 0x3c4c], xmm0
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [ecx + 0x3c5c], xmm0
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [ecx + 0x3c6c], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ecx + 0x3c7c], xmm0
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [ecx + 0x3c8c], xmm0
mov eax, dword [esi + 0x78]
test eax, eax
je 0x10022414
cmp byte [ebp - 0x95], 0
mov ecx, dword [ebp - 0xb8]
jne 0x10022411
cmp dword [ecx + 0x78], 0
jne 0x10022414
mov dword [ecx + 0x78], eax
mov al, byte [esi + 0xa8]
and al, 8
je 0x1002243a
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x1002243a
cmp byte [ecx + 0xf1], 0
je 0x1002243a
mov byte [ebp - 0x95], 1
jmp 0x1002251d
test al, al
je 0x10022658
mov ecx, dword [0x100a79b0]
mov eax, dword [ecx + 0x49bc]
or eax, 4
mov dword [ecx + 0x49bc], eax
add ecx, 0x4afc
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xbc]
push eax
call fcn.10027b50
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x94]
push ecx
mov dword [ebp - 0x94], 0
movss xmm0, dword [eax + 0x3a3c]
movss dword [ebp - 0xd0], xmm0
movss xmm0, dword [eax + 0x3a40]
movss dword [ebp - 0xcc], xmm0
movss xmm0, dword [eax + 0x3a44]
movss dword [ebp - 0xc8], xmm0
movss xmm0, dword [eax + 0x3a48]
mulss xmm0, dword [0x100a2be4]
mov eax, dword [0x100a79b0]
mov dword [ebp - 0xbc], eax
movss dword [ebp - 0xc4], xmm0
movups xmm0, xmmword [eax + 0x3a3c]
lea ecx, [eax + 0x4acc]
movups xmmword [ebp - 0x90], xmm0
call fcn.10027ea0
mov eax, dword [ebp - 0xbc]
mov byte [ebp - 0x95], 0
cmp dword [eax + 0x4ac8], 0
je 0x1002251d
movups xmm0, xmmword [ebp - 0xd0]
mov byte [ebp - 0x95], 0
movups xmmword [eax + 0x3a3c], xmm0
mov eax, dword [ebp - 0xac]
xor edx, edx
mov ecx, dword [eax + 0x124]
mov eax, dword [eax + 0x12c]
push dword [eax + ecx*4 - 4]
mov ecx, str.CLOSE
call fcn.10003f90
mov ecx, dword [ebp - 0xac]
add esp, 4
mov dword [ebp - 0xbc], eax
mov ecx, dword [ecx]
cmp dword [ecx + 0x40a0], eax
jne 0x10022573
push ecx
push str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.100272d0
mov eax, dword [ebp - 0xbc]
add esp, 8
lea edx, [ebp - 0xe8]
mov ecx, eax
call fcn.1003db70
test al, al
je 0x100225f1
or byte [esi + 0xa8], 0x40
xor edx, edx
cmp dword [edi], edx
jle 0x100225f1
xor eax, eax
mov dword [ebp - 0x70], eax
nop word [eax + eax]
mov ecx, dword [edi + 8]
add ecx, eax
test dword [ecx + 4], 0x200000
jne 0x100225e6
test dword [ecx + 4], 0x101
jne 0x100225dc
mov byte [ecx + 0x2c], 1
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx]
mov eax, dword [ebp - 0x70]
jne 0x100225e6
mov dword [ecx + 0xc], 0xffffffff
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
jmp 0x100225e6
mov ecx, dword [ecx]
cmp dword [edi + 0x1c], ecx
je 0x100225e6
mov dword [edi + 0x18], ecx
inc edx
add eax, 0x30
mov dword [ebp - 0x70], eax
cmp edx, dword [edi]
jl 0x100225a0
cmp byte [ebp - 0x95], 0
jne 0x10022658
mov edx, dword [0x100a79b0]
cmp dword [edx + 0x4acc], 1
jl 0x1002263c
mov eax, dword [edx + 0x4acc]
lea edx, [eax + eax*4]
mov eax, dword [0x100a79b0]
mov ecx, dword [eax + 0x4ad4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
mov edx, dword [0x100a79b0]
add eax, eax
movups xmmword [edx + eax*8 + 0x3a3c], xmm0
dec dword [edx + 0x4acc]
dec dword [edx + 0x4afc]
mov eax, dword [edx + 0x4b04]
mov ecx, dword [edx + 0x4afc]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x49bc], eax
mov eax, dword [ebp - 0xac]
xor edx, edx
mov ecx, dword [eax + 0x124]
mov eax, dword [eax + 0x12c]
push dword [eax + ecx*4 - 4]
mov ecx, str.TITLEBAR
call fcn.10003f90
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x70], edx
mov ecx, dword [eax]
cmp dword [ecx + 0x40a0], edx
jne 0x100226ab
push ecx
mov ecx, dword [ebp - 0x70]
mov edx, 0xb
push str.TITLEBAR
call fcn.100272d0
mov edx, dword [ebp - 0x70]
add esp, 8
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x40a4]
test ecx, ecx
je 0x100226cb
cmp ecx, edx
je 0x100226cb
cmp dword [eax + 0x40b8], edx
jne 0x1002279c
mov eax, dword [0x100a79b0]
cmp dword [eax + 0x40b8], edx
jne 0x100226de
mov dword [eax + 0x40bc], edx
cmp dword [eax + 0x40e0], edx
jne 0x100226ed
mov byte [eax + 0x40e4], 1
push 0x1000
lea eax, [ebp - 0x6a]
push eax
push 0
lea ecx, [ebp - 0x80]
call fcn.1003cd70
mov eax, dword [ebp - 0xa0]
add esp, 0xc
mov ecx, dword [ebp - 0x70]
cmp dword [eax + 0x40a4], ecx
jne 0x1002271a
mov dword [eax + 0x49e8], ecx
cmp byte [ebp - 0x6a], 0
je 0x1002279c
mov eax, dword [0x100a79b0]
cmp byte [eax + 0xe10], 0
je 0x10022768
movss xmm0, dword [eax + 0x3860]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x10022768
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10022768
xor edx, edx
mov ecx, 0x28f
call fcn.100150b0
test al, al
je 0x10022768
mov eax, dword [edi + 0x14]
mov edx, eax
mov dword [ebp - 0xd4], eax
jmp 0x1002276b
mov edx, dword [edi + 0x14]
test edx, edx
je 0x1002279c
xor ecx, ecx
cmp dword [edi], ecx
jle 0x1002279c
mov eax, dword [edi + 8]
cmp dword [eax], edx
je 0x10022786
inc ecx
add eax, 0x30
cmp ecx, dword [edi]
jl 0x10022778
jmp 0x1002279c
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10022790
mov ecx, dword [esi + 0x74]
push 0
mov edx, esi
call fcn.10008360
add esp, 4
mov ecx, dword [edi + 0x18]
test ecx, ecx
cmove ecx, dword [ebp - 0xd4]
test ecx, ecx
je 0x100227dd
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x100227dd
mov edi, dword [edi + 8]
cmp dword [edi], ecx
je 0x100227c5
inc eax
add edi, 0x30
cmp eax, edx
jl 0x100227b7
jmp 0x100227dd
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x100227dd
xor edx, edx
call fcn.100122f0
mov ecx, dword [edi + 8]
xor dl, dl
call fcn.10018060
call fcn.10049360
mov eax, dword [0x100a79b0]
mov eax, dword [eax + 0x4068]
dec dword [eax + 0x124]
mov eax, dword [esi + 0x10]
shr eax, 0xa
test al, 1
jne 0x10022891
mov eax, dword [ebp - 0xac]
mov cl, byte [ebp - 0xa1]
mov dword [eax + 0x188], 0
mov byte [eax + 0xec], cl
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10068185
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [esi + 0x24], 0
jle 0x1002283d
mov eax, dword [esi + 0x2c]
mov edi, dword [eax]
jmp 0x1002283f
xor edi, edi
mov cl, byte [ebp - 0xa1]
mov al, ch
and cl, 0xfd
mov dword [esi + 0x78], edi
add al, al
or cl, al
mov byte [esi + 0xa8], cl
test ch, ch
je 0x10022867
mov eax, dword [edx + 0x3fe0]
mov dword [esi + 0x90], eax
test edi, edi
je 0x10022891
mov eax, dword [ebp - 0xb8]
test ch, ch
jne 0x1002287b
cmp dword [eax + 0x78], 0
jne 0x1002287e
mov dword [eax + 0x78], edi
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x10022891
mov eax, dword [esi + 0x78]
mov eax, dword [eax + 0xac]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10068185
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret