Function at 0x10021810
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 [0x100af010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov esi, ecx
mov edx, dword [0x100aff30]
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 0x10021886
mov byte [ebp - 0xad], 1
cmp ecx, dword [ebp - 0xd8]
je 0x1002188d
mov byte [ebp - 0xad], 0
cmp dword [esi + 0x9c], 0
je 0x100218a8
mov dword [ebp - 0xe0], 1
cmp ecx, dword [ebp - 0xd8]
je 0x100218b2
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 0x100218f5
nop word [eax + eax]
mov edi, eax
mov dword [ebp - 0xb8], edi
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x100218e0
mov edi, dword [ebp - 0xac]
mov eax, dword [edx + 0x4d58]
test eax, eax
je 0x1002190d
cmp dword [eax + 0x3c4], esi
sete ch
jmp 0x100219a5
mov ecx, dword [edx + 0x4b90]
test ecx, ecx
je 0x100219a3
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x94]
cmp eax, dword [esi]
jne 0x100219a3
mov ecx, dword [ecx + 0x348]
test dword [ecx + 0xc], 0x10000000
je 0x10021955
nop word [eax + eax]
mov eax, dword [ecx + 0x340]
mov ecx, dword [eax + 0x348]
test dword [ecx + 0xc], 0x10000000
jne 0x10021940
mov eax, dword [ecx + 0x3c8]
test eax, eax
jne 0x10021970
mov eax, dword [ecx + 0x3c4]
test eax, eax
je 0x100219a3
nop dword [eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x10021980
mov eax, ecx
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x10021977
cmp eax, dword [ebp - 0xb8]
je 0x10021b37
mov eax, dword [eax + 0x74]
test eax, eax
je 0x100219a3
mov eax, dword [eax + 0x348]
mov eax, dword [eax + 0x3c4]
test eax, eax
jne 0x10021970
xor ch, ch
mov eax, dword [esi + 0x10]
mov byte [ebp - 0x95], ch
test eax, 0x3000
jne 0x10022a90
mov cl, byte [edi + 0xec]
shr eax, 0xa
mov byte [ebp - 0xa1], cl
test al, 1
jne 0x100219dd
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 0x10021a00
push ecx
push 0
mov edx, 0xd
call fcn.10027530
add esp, 8
lea eax, [ebp - 0x70]
push eax
lea ecx, [edi + 0x124]
call fcn.10027db0
mov eax, dword [esi + 0x30]
mov edi, eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x70], eax
test edi, edi
jne 0x10021a2e
mov ecx, esi
call fcn.10022b10
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 [0x100aa174]
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 0x10021bd4
mov edx, dword [ebp - 0xa0]
cmp dword [edx + 0x397c], 0xffffffff
je 0x10021bd4
mov eax, dword [0x100aff30]
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.100041f0
mov ecx, dword [esi]
add esp, 4
mov dword [ebp - 0x9c], eax
cmp dword [ecx + 0x40a0], eax
jne 0x10021adc
push ecx
push str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.10027530
movss xmm4, dword [0x100aa174]
add esp, 8
mov eax, dword [ebp - 0x9c]
xor edx, edx
mov ecx, eax
call fcn.100166c0
mov esi, dword [ebp - 0xb4]
test al, al
je 0x10021bde
mov eax, dword [edi + 0x18]
movss xmm0, dword [esi + 0x38]
movss xmm3, dword [esi + 0x34]
mov dword [ebp - 0xa8], eax
mov eax, dword [0x100aff30]
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 0x10021b3e
xorps xmm4, xmm4
jmp 0x10021b47
mov ch, 1
jmp 0x100219a5
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.10016c30
test al, al
je 0x10021baa
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.10016cb0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10021bc2
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 0x10021bde
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.10022d30
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 0x10021d3e
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 0x10021c80
xor ecx, ecx
cmp dword [edi], ecx
jle 0x10021c80
mov eax, dword [edi + 8]
nop
cmp dword [eax], edx
je 0x10021d28
inc ecx
add eax, 0x30
cmp ecx, dword [edi]
jl 0x10021c70
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 0x10021d14
mov eax, dword [0x100aff30]
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.1004cba0
mov ecx, dword [ebp - 0x9c]
inc ecx
mov dword [ebp - 0x9c], ecx
cmp ecx, dword [esi + 0x24]
jl 0x10021c50
cmp byte [ebp - 0x95], 0
mov ecx, dword [ebp - 0xa0]
je 0x10021d59
mov eax, dword [ecx + 0x3fe0]
mov dword [esi + 0x90], eax
mov eax, dword [ebp - 0xac]
cmp byte [eax + 0xea], 0
je 0x10021d6f
mov edx, 0xc
jmp 0x10021d7d
xor edx, edx
cmp byte [ebp - 0x95], dl
setne dl
add edx, 0xa
mov eax, dword [0x100aff30]
add edx, edx
movss xmm5, dword [0x100aa174]
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 0x10021db7
xorps xmm0, xmm0
jmp 0x10021dbe
movaps xmm0, xmm5
minss xmm0, xmm2
movss xmm2, dword [0x100aa250]
movss xmm4, dword [0x100aa12c]
movss xmm3, dword [ebp - 0x12c]
comiss xmm6, xmm3
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si edx, xmm0
jbe 0x10021dec
xorps xmm0, xmm0
jmp 0x10021df3
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 0x10021e16
xorps xmm0, xmm0
jmp 0x10021e1d
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 0x10021e38
xorps xmm5, xmm5
jmp 0x10021e3c
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 0x10021ecb
test cl, cl
je 0x10021ecb
mov eax, 0x110
jmp 0x10021ed4
mov eax, 0x100
test dl, dl
je 0x10021ee2
mov dword [ebp - 0x9c], 0x20
test dh, dh
jne 0x10021eec
mov dword [ebp - 0x9c], 0
test ch, ch
je 0x10021efb
test cl, cl
je 0x10021efb
mov edx, 0x40
jmp 0x10021f01
xor edx, edx
test ch, ch
je 0x10021f0e
cmp byte [ebp - 0x6a], 0
je 0x10021f0e
mov ecx, 0x80
jmp 0x10021f10
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.10032480
cmp byte [ebp - 0x69], 0
je 0x1002202a
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.100041f0
mov ecx, dword [ebp - 0xac]
add esp, 4
mov dword [ebp - 0x9c], eax
mov ecx, dword [ecx]
cmp dword [ecx + 0x40a0], eax
jne 0x10021fa8
push ecx
push str.COLLAPSE
mov edx, 0xb
mov ecx, eax
call fcn.10027530
mov eax, dword [ebp - 0x9c]
add esp, 8
push esi
lea edx, [ebp - 0xc8]
mov ecx, eax
call fcn.1003e1a0
add esp, 4
test al, al
je 0x10021fc2
call fcn.10016780
mov eax, dword [0x100aff30]
mov ecx, dword [eax + 0x40b8]
test ecx, ecx
je 0x10021fe2
cmp ecx, dword [eax + 0x49e8]
jne 0x10021fe2
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xd4], eax
mov ecx, 0x11000
call fcn.10007d90
test al, al
mov eax, dword [ebp - 0xa0]
je 0x10022030
movss xmm0, dword [eax + 0x40b0]
comiss xmm0, dword [0x100aa12c]
jbe 0x10022030
mov eax, dword [0x100aff30]
mov ecx, str.Missing_Text
mov eax, dword [eax + 0x5f9c]
test eax, eax
cmovne ecx, eax
push ecx
push 0x10073afc
call fcn.100165d0
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 0x10022090
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 0x1002207e
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 0x10022050
jmp 0x10022084
mov ecx, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xa0]
mov edx, dword [edi]
cmp edx, ecx
jle 0x100221fb
mov ecx, dword [eax + 0x5fd4]
mov dword [ebp - 0xa8], ecx
test ecx, 0x100
je 0x100220f8
mov eax, dword [ebp - 0xc4]
mov ecx, str.__will_sort_
inc eax
mov dword [ebp - 0x9c], 0x100726df
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.10027060
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 0x10022195
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 0x10022176
mov eax, dword [edx + 8]
test eax, eax
je 0x10022143
movsx eax, word [eax + 0x3aa]
mov dword [ebp - 0xa8], eax
jmp 0x1002214d
mov dword [ebp - 0xa8], 0xffffffff
mov ecx, edi
call fcn.1004ae90
push dword [ebp - 0xa8]
push eax
push dword [edx]
push str._docking____Tab_0x_08X__s_Order__d_n
call fcn.10027060
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 0x10022120
mov esi, dword [ebp - 0xb4]
mov dword [ebp - 0xa8], ecx
test dword [ebp - 0xa8], 0x100
je 0x100221cc
mov eax, dword [eax + 0x4b90]
test eax, eax
je 0x100221b3
mov eax, dword [eax + 0xac]
jmp 0x100221b6
or eax, 0xffffffff
push eax
push dword [esi + 0x98]
push str._docking__SelectedTabId__0x_08X__NavWindow__TabId__0x_08X_n
call fcn.10027060
mov edx, dword [edi]
add esp, 0xc
mov ecx, dword [ebp - 0xc4]
lea eax, [ecx + 1]
cmp edx, eax
jle 0x100221fb
sub edx, ecx
cmp edx, 1
jbe 0x100221fb
push 0x10021690
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 0x10022222
mov eax, dword [eax + 0x348]
cmp dword [eax + 0x3c4], esi
jne 0x10022222
mov eax, dword [eax + 0xac]
mov dword [edi + 0x14], eax
cmp dword [ebp - 0xdc], 0
jne 0x10022250
mov edx, dword [esi + 0x98]
test edx, edx
je 0x10022250
mov esi, dword [edi]
xor ecx, ecx
test esi, esi
jle 0x10022250
mov eax, dword [edi + 8]
cmp dword [eax], edx
je 0x100225e2
inc ecx
add eax, 0x30
cmp ecx, esi
jl 0x10022240
mov eax, dword [edi]
cmp eax, dword [ebp - 0xc0]
jle 0x10022272
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 0x100222a1
cmp byte [ebp - 0x95], 0
mov ecx, 0x700003
cmovne eax, ecx
mov dword [ebp - 0x9c], eax
mov eax, dword [0x100aff30]
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, 0x10073bac
call fcn.100041f0
mov ecx, dword [esi]
add esp, 4
mov dword [ebp - 0xc0], eax
cmp dword [ecx + 0x40a0], eax
jne 0x100222f6
push ecx
push 0x10073bac
mov edx, 0xb
mov ecx, eax
call fcn.10027530
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.10049b10
add esp, 4
lea esi, [ebp - 0x68]
mov edi, 6
nop dword [eax]
mov ecx, esi
call fcn.10001480
add esi, 0x10
sub edi, 1
jne 0x10022350
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 0x10022617
movss xmm1, dword [0x100aa0d4]
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 0x100223f3
mov eax, dword [ebp - 0xe0]
cmp eax, dword [esi + 0xac]
jne 0x10022409
cmp byte [esi + 0xf1], 0
je 0x10022409
test dword [esi + 0xc], 0x40000
je 0x100225f5
mov eax, dword [esi + 0x278]
inc eax
cmp eax, dword [ecx + 0x3fe0]
jge 0x1002242a
mov eax, dword [ebp - 0xd8]
cmp dword [ebp - 0xbc], eax
je 0x100225f5
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0xc]
or edx, 1
and eax, 0x40000
mov eax, dword [edi + 0xc]
mov edi, 0x10074670
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 + 0x100aa640]
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 + 0x100aa640]
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 + 0x100aa640]
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 + 0x100aa640]
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, 0x10074688
jl 0x10022468
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.1004b5e0
mov ecx, dword [ebp - 0xb4]
add esp, 0xc
cmp byte [ebp - 0x69], 0
jne 0x1002257d
mov eax, dword [esi + 0xac]
mov dword [ecx + 0x9c], eax
mov eax, dword [edi + 0x1c]
cmp eax, dword [esi + 0xac]
jne 0x1002258b
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 0x100225ed
cmp dword [eax + 0x348], esi
jne 0x100225ed
test byte [esi + 0x18c], 2
movss xmm1, dword [0x100aa0d4]
jne 0x100225f5
mov edx, dword [ebp - 0xac]
mov eax, dword [esi + 0xac]
mov dword [edx + 0x368], eax
jmp 0x100225f5
mov dword [edi + 0x18], edx
mov dword [edi + 0x14], edx
jmp 0x10022272
movss xmm1, dword [0x100aa0d4]
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 0x100223d0
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 0x10022674
cmp byte [ebp - 0x95], 0
mov ecx, dword [ebp - 0xb8]
jne 0x10022671
cmp dword [ecx + 0x78], 0
jne 0x10022674
mov dword [ecx + 0x78], eax
mov al, byte [esi + 0xa8]
and al, 8
je 0x1002269a
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x1002269a
cmp byte [ecx + 0xf1], 0
je 0x1002269a
mov byte [ebp - 0x95], 1
jmp 0x1002277d
test al, al
je 0x100228b8
mov ecx, dword [0x100aff30]
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.10027db0
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 [0x100aa118]
mov eax, dword [0x100aff30]
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.10028100
mov eax, dword [ebp - 0xbc]
mov byte [ebp - 0x95], 0
cmp dword [eax + 0x4ac8], 0
je 0x1002277d
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.100041f0
mov ecx, dword [ebp - 0xac]
add esp, 4
mov dword [ebp - 0xbc], eax
mov ecx, dword [ecx]
cmp dword [ecx + 0x40a0], eax
jne 0x100227d3
push ecx
push str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.10027530
mov eax, dword [ebp - 0xbc]
add esp, 8
lea edx, [ebp - 0xe8]
mov ecx, eax
call fcn.1003ddd0
test al, al
je 0x10022851
or byte [esi + 0xa8], 0x40
xor edx, edx
cmp dword [edi], edx
jle 0x10022851
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 0x10022846
test dword [ecx + 4], 0x101
jne 0x1002283c
mov byte [ecx + 0x2c], 1
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx]
mov eax, dword [ebp - 0x70]
jne 0x10022846
mov dword [ecx + 0xc], 0xffffffff
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
jmp 0x10022846
mov ecx, dword [ecx]
cmp dword [edi + 0x1c], ecx
je 0x10022846
mov dword [edi + 0x18], ecx
inc edx
add eax, 0x30
mov dword [ebp - 0x70], eax
cmp edx, dword [edi]
jl 0x10022800
cmp byte [ebp - 0x95], 0
jne 0x100228b8
mov edx, dword [0x100aff30]
cmp dword [edx + 0x4acc], 1
jl 0x1002289c
mov eax, dword [edx + 0x4acc]
lea edx, [eax + eax*4]
mov eax, dword [0x100aff30]
mov ecx, dword [eax + 0x4ad4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
mov edx, dword [0x100aff30]
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.100041f0
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 0x1002290b
push ecx
mov ecx, dword [ebp - 0x70]
mov edx, 0xb
push str.TITLEBAR
call fcn.10027530
mov edx, dword [ebp - 0x70]
add esp, 8
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x40a4]
test ecx, ecx
je 0x1002292b
cmp ecx, edx
je 0x1002292b
cmp dword [eax + 0x40b8], edx
jne 0x100229fc
mov eax, dword [0x100aff30]
cmp dword [eax + 0x40b8], edx
jne 0x1002293e
mov dword [eax + 0x40bc], edx
cmp dword [eax + 0x40e0], edx
jne 0x1002294d
mov byte [eax + 0x40e4], 1
push 0x1000
lea eax, [ebp - 0x6a]
push eax
push 0
lea ecx, [ebp - 0x80]
call fcn.1003cfd0
mov eax, dword [ebp - 0xa0]
add esp, 0xc
mov ecx, dword [ebp - 0x70]
cmp dword [eax + 0x40a4], ecx
jne 0x1002297a
mov dword [eax + 0x49e8], ecx
cmp byte [ebp - 0x6a], 0
je 0x100229fc
mov eax, dword [0x100aff30]
cmp byte [eax + 0xe10], 0
je 0x100229c8
movss xmm0, dword [eax + 0x3860]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x100229c8
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100229c8
xor edx, edx
mov ecx, 0x28f
call fcn.10015300
test al, al
je 0x100229c8
mov eax, dword [edi + 0x14]
mov edx, eax
mov dword [ebp - 0xd4], eax
jmp 0x100229cb
mov edx, dword [edi + 0x14]
test edx, edx
je 0x100229fc
xor ecx, ecx
cmp dword [edi], ecx
jle 0x100229fc
mov eax, dword [edi + 8]
cmp dword [eax], edx
je 0x100229e6
inc ecx
add eax, 0x30
cmp ecx, dword [edi]
jl 0x100229d8
jmp 0x100229fc
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x100229f0
mov ecx, dword [esi + 0x74]
push 0
mov edx, esi
call fcn.100085c0
add esp, 4
mov ecx, dword [edi + 0x18]
test ecx, ecx
cmove ecx, dword [ebp - 0xd4]
test ecx, ecx
je 0x10022a3d
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x10022a3d
mov edi, dword [edi + 8]
cmp dword [edi], ecx
je 0x10022a25
inc eax
add edi, 0x30
cmp eax, edx
jl 0x10022a17
jmp 0x10022a3d
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x10022a3d
xor edx, edx
call fcn.10012540
mov ecx, dword [edi + 8]
xor dl, dl
call fcn.100182b0
call fcn.10049e40
mov eax, dword [0x100aff30]
mov eax, dword [eax + 0x4068]
dec dword [eax + 0x124]
mov eax, dword [esi + 0x10]
shr eax, 0xa
test al, 1
jne 0x10022af1
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.1006dc26
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [esi + 0x24], 0
jle 0x10022a9d
mov eax, dword [esi + 0x2c]
mov edi, dword [eax]
jmp 0x10022a9f
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 0x10022ac7
mov eax, dword [edx + 0x3fe0]
mov dword [esi + 0x90], eax
test edi, edi
je 0x10022af1
mov eax, dword [ebp - 0xb8]
test ch, ch
jne 0x10022adb
cmp dword [eax + 0x78], 0
jne 0x10022ade
mov dword [eax + 0x78], edi
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x10022af1
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.1006dc26
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret