Function at 0x100213c0
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 [0x100d7010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov esi, ecx
mov edx, dword [0x100d9260]
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 0x10021436
mov byte [ebp - 0xad], 1
cmp ecx, dword [ebp - 0xd8]
je 0x1002143d
mov byte [ebp - 0xad], 0
cmp dword [esi + 0x9c], 0
je 0x10021458
mov dword [ebp - 0xe0], 1
cmp ecx, dword [ebp - 0xd8]
je 0x10021462
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 0x100214a5
nop word [eax + eax]
mov edi, eax
mov dword [ebp - 0xb8], edi
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x10021490
mov edi, dword [ebp - 0xac]
mov eax, dword [edx + 0x4d58]
test eax, eax
je 0x100214bd
cmp dword [eax + 0x3c4], esi
sete ch
jmp 0x10021555
mov ecx, dword [edx + 0x4b90]
test ecx, ecx
je 0x10021553
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x94]
cmp eax, dword [esi]
jne 0x10021553
mov ecx, dword [ecx + 0x348]
test dword [ecx + 0xc], 0x10000000
je 0x10021505
nop word [eax + eax]
mov eax, dword [ecx + 0x340]
mov ecx, dword [eax + 0x348]
test dword [ecx + 0xc], 0x10000000
jne 0x100214f0
mov eax, dword [ecx + 0x3c8]
test eax, eax
jne 0x10021520
mov eax, dword [ecx + 0x3c4]
test eax, eax
je 0x10021553
nop dword [eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x10021530
mov eax, ecx
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x10021527
cmp eax, dword [ebp - 0xb8]
je 0x100216e7
mov eax, dword [eax + 0x74]
test eax, eax
je 0x10021553
mov eax, dword [eax + 0x348]
mov eax, dword [eax + 0x3c4]
test eax, eax
jne 0x10021520
xor ch, ch
mov eax, dword [esi + 0x10]
mov byte [ebp - 0x95], ch
test eax, 0x3000
jne 0x10022640
mov cl, byte [edi + 0xec]
shr eax, 0xa
mov byte [ebp - 0xa1], cl
test al, 1
jne 0x1002158d
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 0x100215b0
push ecx
push 0
mov edx, 0xd
call fcn.100270f0
add esp, 8
lea eax, [ebp - 0x70]
push eax
lea ecx, [edi + 0x124]
call fcn.10027970
mov eax, dword [esi + 0x30]
mov edi, eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x70], eax
test edi, edi
jne 0x100215de
mov ecx, esi
call fcn.100226c0
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 [0x100cf570]
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 0x10021784
mov edx, dword [ebp - 0xa0]
cmp dword [edx + 0x397c], 0xffffffff
je 0x10021784
mov eax, dword [0x100d9260]
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.10003db0
mov ecx, dword [esi]
add esp, 4
mov dword [ebp - 0x9c], eax
cmp dword [ecx + 0x40a0], eax
jne 0x1002168c
push ecx
push str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.100270f0
movss xmm4, dword [0x100cf570]
add esp, 8
mov eax, dword [ebp - 0x9c]
xor edx, edx
mov ecx, eax
call fcn.100162c0
mov esi, dword [ebp - 0xb4]
test al, al
je 0x1002178e
mov eax, dword [edi + 0x18]
movss xmm0, dword [esi + 0x38]
movss xmm3, dword [esi + 0x34]
mov dword [ebp - 0xa8], eax
mov eax, dword [0x100d9260]
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 0x100216ee
xorps xmm4, xmm4
jmp 0x100216f7
mov ch, 1
jmp 0x10021555
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.10016830
test al, al
je 0x1002175a
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.100168b0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10021772
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 0x1002178e
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.100228e0
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 0x100218ee
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 0x10021830
xor ecx, ecx
cmp dword [edi], ecx
jle 0x10021830
mov eax, dword [edi + 8]
nop
cmp dword [eax], edx
je 0x100218d8
inc ecx
add eax, 0x30
cmp ecx, dword [edi]
jl 0x10021820
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 0x100218c4
mov eax, dword [0x100d9260]
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.1004bd70
mov ecx, dword [ebp - 0x9c]
inc ecx
mov dword [ebp - 0x9c], ecx
cmp ecx, dword [esi + 0x24]
jl 0x10021800
cmp byte [ebp - 0x95], 0
mov ecx, dword [ebp - 0xa0]
je 0x10021909
mov eax, dword [ecx + 0x3fe0]
mov dword [esi + 0x90], eax
mov eax, dword [ebp - 0xac]
cmp byte [eax + 0xea], 0
je 0x1002191f
mov edx, 0xc
jmp 0x1002192d
xor edx, edx
cmp byte [ebp - 0x95], dl
setne dl
add edx, 0xa
mov eax, dword [0x100d9260]
add edx, edx
movss xmm5, dword [0x100cf570]
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 0x10021967
xorps xmm0, xmm0
jmp 0x1002196e
movaps xmm0, xmm5
minss xmm0, xmm2
movss xmm2, dword [0x100cf634]
movss xmm4, dword [0x100cf52c]
movss xmm3, dword [ebp - 0x12c]
comiss xmm6, xmm3
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si edx, xmm0
jbe 0x1002199c
xorps xmm0, xmm0
jmp 0x100219a3
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 0x100219c6
xorps xmm0, xmm0
jmp 0x100219cd
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 0x100219e8
xorps xmm5, xmm5
jmp 0x100219ec
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 0x10021a7b
test cl, cl
je 0x10021a7b
mov eax, 0x110
jmp 0x10021a84
mov eax, 0x100
test dl, dl
je 0x10021a92
mov dword [ebp - 0x9c], 0x20
test dh, dh
jne 0x10021a9c
mov dword [ebp - 0x9c], 0
test ch, ch
je 0x10021aab
test cl, cl
je 0x10021aab
mov edx, 0x40
jmp 0x10021ab1
xor edx, edx
test ch, ch
je 0x10021abe
cmp byte [ebp - 0x6a], 0
je 0x10021abe
mov ecx, 0x80
jmp 0x10021ac0
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.10032040
cmp byte [ebp - 0x69], 0
je 0x10021bda
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.10003db0
mov ecx, dword [ebp - 0xac]
add esp, 4
mov dword [ebp - 0x9c], eax
mov ecx, dword [ecx]
cmp dword [ecx + 0x40a0], eax
jne 0x10021b58
push ecx
push str.COLLAPSE
mov edx, 0xb
mov ecx, eax
call fcn.100270f0
mov eax, dword [ebp - 0x9c]
add esp, 8
push esi
lea edx, [ebp - 0xc8]
mov ecx, eax
call fcn.1003dcc0
add esp, 4
test al, al
je 0x10021b72
call fcn.10016380
mov eax, dword [0x100d9260]
mov ecx, dword [eax + 0x40b8]
test ecx, ecx
je 0x10021b92
cmp ecx, dword [eax + 0x49e8]
jne 0x10021b92
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xd4], eax
mov ecx, 0x11000
call fcn.10007940
test al, al
mov eax, dword [ebp - 0xa0]
je 0x10021be0
movss xmm0, dword [eax + 0x40b0]
comiss xmm0, dword [0x100cf52c]
jbe 0x10021be0
mov eax, dword [0x100d9260]
mov ecx, str.Missing_Text
mov eax, dword [eax + 0x5f9c]
test eax, eax
cmovne ecx, eax
push ecx
push 0x10099fec
call fcn.100161d0
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 0x10021c40
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 0x10021c2e
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 0x10021c00
jmp 0x10021c34
mov ecx, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xa0]
mov edx, dword [edi]
cmp edx, ecx
jle 0x10021daa
mov ecx, dword [eax + 0x5fd4]
mov dword [ebp - 0xa8], ecx
test ecx, 0x100
je 0x10021ca8
mov eax, dword [ebp - 0xc4]
mov ecx, str.__will_sort_
inc eax
mov dword [ebp - 0x9c], 0x10098bdb
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.10026c20
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 0x10021d45
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 0x10021d26
mov eax, dword [edx + 8]
test eax, eax
je 0x10021cf3
movsx eax, word [eax + 0x3aa]
mov dword [ebp - 0xa8], eax
jmp 0x10021cfd
mov dword [ebp - 0xa8], 0xffffffff
mov ecx, edi
call fcn.1004a060
push dword [ebp - 0xa8]
push eax
push dword [edx]
push str._docking____Tab_0x_08X__s_Order__d_n
call fcn.10026c20
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 0x10021cd0
mov esi, dword [ebp - 0xb4]
mov dword [ebp - 0xa8], ecx
test dword [ebp - 0xa8], 0x100
je 0x10021d7c
mov eax, dword [eax + 0x4b90]
test eax, eax
je 0x10021d63
mov eax, dword [eax + 0xac]
jmp 0x10021d66
or eax, 0xffffffff
push eax
push dword [esi + 0x98]
push str._docking__SelectedTabId__0x_08X__NavWindow__TabId__0x_08X_n
call fcn.10026c20
mov edx, dword [edi]
add esp, 0xc
mov ecx, dword [ebp - 0xc4]
lea eax, [ecx + 1]
cmp edx, eax
jle 0x10021daa
sub edx, ecx
cmp edx, 1
jbe 0x10021daa
push 0x10021250
lea eax, [ecx + ecx*2]
push 0x30
shl eax, 4
add eax, dword [edi + 8]
push edx
push eax
call fcn.1006d100
add esp, 0x10
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x4b90]
test eax, eax
je 0x10021dd1
mov eax, dword [eax + 0x348]
cmp dword [eax + 0x3c4], esi
jne 0x10021dd1
mov eax, dword [eax + 0xac]
mov dword [edi + 0x14], eax
cmp dword [ebp - 0xdc], 0
jne 0x10021e00
mov edx, dword [esi + 0x98]
test edx, edx
je 0x10021e00
mov esi, dword [edi]
xor ecx, ecx
test esi, esi
jle 0x10021e00
mov eax, dword [edi + 8]
nop
cmp dword [eax], edx
je 0x10022192
inc ecx
add eax, 0x30
cmp ecx, esi
jl 0x10021df0
mov eax, dword [edi]
cmp eax, dword [ebp - 0xc0]
jle 0x10021e22
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 0x10021e51
cmp byte [ebp - 0x95], 0
mov ecx, 0x700003
cmovne eax, ecx
mov dword [ebp - 0x9c], eax
mov eax, dword [0x100d9260]
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, 0x1009a09c
call fcn.10003db0
mov ecx, dword [esi]
add esp, 4
mov dword [ebp - 0xc0], eax
cmp dword [ecx + 0x40a0], eax
jne 0x10021ea6
push ecx
push 0x1009a09c
mov edx, 0xb
mov ecx, eax
call fcn.100270f0
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.10048cd0
add esp, 4
lea esi, [ebp - 0x68]
mov edi, 6
nop dword [eax]
mov ecx, esi
call fcn.10001060
add esi, 0x10
sub edi, 1
jne 0x10021f00
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 0x100221c7
movss xmm1, dword [0x100cf4e4]
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 0x10021fa3
mov eax, dword [ebp - 0xe0]
cmp eax, dword [esi + 0xac]
jne 0x10021fb9
cmp byte [esi + 0xf1], 0
je 0x10021fb9
test dword [esi + 0xc], 0x40000
je 0x100221a5
mov eax, dword [esi + 0x278]
inc eax
cmp eax, dword [ecx + 0x3fe0]
jge 0x10021fda
mov eax, dword [ebp - 0xd8]
cmp dword [ebp - 0xbc], eax
je 0x100221a5
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0xc]
or edx, 1
and eax, 0x40000
mov eax, dword [edi + 0xc]
mov edi, 0x1009ab60
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 + 0x100cfa10]
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 + 0x100cfa10]
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 + 0x100cfa10]
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 + 0x100cfa10]
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, 0x1009ab78
jl 0x10022018
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.1004a7b0
mov ecx, dword [ebp - 0xb4]
add esp, 0xc
cmp byte [ebp - 0x69], 0
jne 0x1002212d
mov eax, dword [esi + 0xac]
mov dword [ecx + 0x9c], eax
mov eax, dword [edi + 0x1c]
cmp eax, dword [esi + 0xac]
jne 0x1002213b
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 0x1002219d
cmp dword [eax + 0x348], esi
jne 0x1002219d
test byte [esi + 0x18c], 2
movss xmm1, dword [0x100cf4e4]
jne 0x100221a5
mov edx, dword [ebp - 0xac]
mov eax, dword [esi + 0xac]
mov dword [edx + 0x368], eax
jmp 0x100221a5
mov dword [edi + 0x18], edx
mov dword [edi + 0x14], edx
jmp 0x10021e22
movss xmm1, dword [0x100cf4e4]
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 0x10021f80
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 0x10022224
cmp byte [ebp - 0x95], 0
mov ecx, dword [ebp - 0xb8]
jne 0x10022221
cmp dword [ecx + 0x78], 0
jne 0x10022224
mov dword [ecx + 0x78], eax
mov al, byte [esi + 0xa8]
and al, 8
je 0x1002224a
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x1002224a
cmp byte [ecx + 0xf1], 0
je 0x1002224a
mov byte [ebp - 0x95], 1
jmp 0x1002232d
test al, al
je 0x10022468
mov ecx, dword [0x100d9260]
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.10027970
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 [0x100cf51c]
mov eax, dword [0x100d9260]
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.10027cc0
mov eax, dword [ebp - 0xbc]
mov byte [ebp - 0x95], 0
cmp dword [eax + 0x4ac8], 0
je 0x1002232d
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.10003db0
mov ecx, dword [ebp - 0xac]
add esp, 4
mov dword [ebp - 0xbc], eax
mov ecx, dword [ecx]
cmp dword [ecx + 0x40a0], eax
jne 0x10022383
push ecx
push str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.100270f0
mov eax, dword [ebp - 0xbc]
add esp, 8
lea edx, [ebp - 0xe8]
mov ecx, eax
call fcn.1003d8f0
test al, al
je 0x10022401
or byte [esi + 0xa8], 0x40
xor edx, edx
cmp dword [edi], edx
jle 0x10022401
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 0x100223f6
test dword [ecx + 4], 0x101
jne 0x100223ec
mov byte [ecx + 0x2c], 1
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx]
mov eax, dword [ebp - 0x70]
jne 0x100223f6
mov dword [ecx + 0xc], 0xffffffff
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
jmp 0x100223f6
mov ecx, dword [ecx]
cmp dword [edi + 0x1c], ecx
je 0x100223f6
mov dword [edi + 0x18], ecx
inc edx
add eax, 0x30
mov dword [ebp - 0x70], eax
cmp edx, dword [edi]
jl 0x100223b0
cmp byte [ebp - 0x95], 0
jne 0x10022468
mov edx, dword [0x100d9260]
cmp dword [edx + 0x4acc], 1
jl 0x1002244c
mov eax, dword [edx + 0x4acc]
lea edx, [eax + eax*4]
mov eax, dword [0x100d9260]
mov ecx, dword [eax + 0x4ad4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
mov edx, dword [0x100d9260]
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.10003db0
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 0x100224bb
push ecx
mov ecx, dword [ebp - 0x70]
mov edx, 0xb
push str.TITLEBAR
call fcn.100270f0
mov edx, dword [ebp - 0x70]
add esp, 8
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x40a4]
test ecx, ecx
je 0x100224db
cmp ecx, edx
je 0x100224db
cmp dword [eax + 0x40b8], edx
jne 0x100225ac
mov eax, dword [0x100d9260]
cmp dword [eax + 0x40b8], edx
jne 0x100224ee
mov dword [eax + 0x40bc], edx
cmp dword [eax + 0x40e0], edx
jne 0x100224fd
mov byte [eax + 0x40e4], 1
push 0x1000
lea eax, [ebp - 0x6a]
push eax
push 0
lea ecx, [ebp - 0x80]
call fcn.1003cb90
mov eax, dword [ebp - 0xa0]
add esp, 0xc
mov ecx, dword [ebp - 0x70]
cmp dword [eax + 0x40a4], ecx
jne 0x1002252a
mov dword [eax + 0x49e8], ecx
cmp byte [ebp - 0x6a], 0
je 0x100225ac
mov eax, dword [0x100d9260]
cmp byte [eax + 0xe10], 0
je 0x10022578
movss xmm0, dword [eax + 0x3860]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x10022578
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10022578
xor edx, edx
mov ecx, 0x28f
call fcn.10014e30
test al, al
je 0x10022578
mov eax, dword [edi + 0x14]
mov edx, eax
mov dword [ebp - 0xd4], eax
jmp 0x1002257b
mov edx, dword [edi + 0x14]
test edx, edx
je 0x100225ac
xor ecx, ecx
cmp dword [edi], ecx
jle 0x100225ac
mov eax, dword [edi + 8]
cmp dword [eax], edx
je 0x10022596
inc ecx
add eax, 0x30
cmp ecx, dword [edi]
jl 0x10022588
jmp 0x100225ac
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x100225a0
mov ecx, dword [esi + 0x74]
push 0
mov edx, esi
call fcn.10008170
add esp, 4
mov ecx, dword [edi + 0x18]
test ecx, ecx
cmove ecx, dword [ebp - 0xd4]
test ecx, ecx
je 0x100225ed
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x100225ed
mov edi, dword [edi + 8]
cmp dword [edi], ecx
je 0x100225d5
inc eax
add edi, 0x30
cmp eax, edx
jl 0x100225c7
jmp 0x100225ed
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x100225ed
xor edx, edx
call fcn.10012070
mov ecx, dword [edi + 8]
xor dl, dl
call fcn.10017eb0
call fcn.10049000
mov eax, dword [0x100d9260]
mov eax, dword [eax + 0x4068]
dec dword [eax + 0x124]
mov eax, dword [esi + 0x10]
shr eax, 0xa
test al, 1
jne 0x100226a1
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.10064b15
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [esi + 0x24], 0
jle 0x1002264d
mov eax, dword [esi + 0x2c]
mov edi, dword [eax]
jmp 0x1002264f
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 0x10022677
mov eax, dword [edx + 0x3fe0]
mov dword [esi + 0x90], eax
test edi, edi
je 0x100226a1
mov eax, dword [ebp - 0xb8]
test ch, ch
jne 0x1002268b
cmp dword [eax + 0x78], 0
jne 0x1002268e
mov dword [eax + 0x78], edi
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x100226a1
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.10064b15
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret