Function at 0x422e20
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 [0x45900c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [0x4595e8]
push edi
mov edi, edx
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa0], edi
mov edx, dword [ecx + 0x3ea0]
mov eax, dword [esi + 0x88]
mov dword [ebp - 0xc8], edx
inc eax
mov dl, byte [esi + 0xa0]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xc0], eax
test dl, 0x40
je 0x422e97
mov byte [ebp - 0x91], 1
cmp eax, dword [ebp - 0xc8]
je 0x422e9e
mov byte [ebp - 0x91], 0
cmp dword [esi + 0x98], 0
je 0x422eb9
mov dword [ebp - 0xbc], 1
cmp eax, dword [ebp - 0xc8]
je 0x422ec3
mov dword [ebp - 0xbc], 0
and dl, 0xbf
mov dword [esi + 0x98], 0
mov byte [esi + 0xa0], dl
mov eax, dword [esi + 0x18]
mov byte [ebp - 0x98], 0
mov dword [ebp - 0xb8], esi
test eax, eax
je 0x422f05
nop word [eax + eax]
mov edi, eax
mov dword [ebp - 0xb8], edi
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x422ef0
mov edi, dword [ebp - 0xa0]
mov eax, dword [ecx + 0x4270]
mov dword [ebp - 0xf8], 1
test eax, eax
je 0x422f28
cmp dword [eax + 0x388], esi
sete byte [ebp - 0x98]
jmp 0x422f72
mov eax, dword [ecx + 0x4120]
test eax, eax
je 0x422f72
mov eax, dword [eax + 0x330]
cmp eax, dword [edi + 0x32c]
jne 0x422f72
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x98]
movzx ecx, cl
mov dword [ebp - 0x98], ecx
mov eax, dword [eax + 0x90]
cmp eax, dword [esi]
mov eax, ecx
mov ecx, dword [ebp - 0x9c]
cmove eax, dword [ebp - 0xf8]
mov dword [ebp - 0x98], eax
mov eax, dword [esi + 0x10]
test eax, 0x3000
jne 0x423fa1
mov dl, byte [edi + 0xc8]
shr eax, 0xa
mov byte [ebp - 0xad], dl
test al, 1
jne 0x422fa4
mov byte [edi + 0xc8], 0
mov dword [edi + 0x160], 1
mov eax, dword [esi]
mov edi, dword [ecx + 0x3f04]
mov dword [ebp - 0x70], eax
cmp dword [ecx + 0x3f28], eax
jne 0x422fc9
push ecx
push 0
mov edx, 0xd
mov ecx, eax
call fcn.004282e0
add esp, 8
lea eax, [ebp - 0x70]
push eax
lea ecx, [edi + 0xfc]
call fcn.004284e0
mov eax, dword [esi + 0x30]
mov edi, eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xb4], eax
test edi, edi
jne 0x422ffd
mov ecx, esi
call fcn.00424020
mov edi, dword [esi + 0x30]
mov dword [ebp - 0xb4], edi
mov cl, byte [esi + 0xa0]
mov al, byte [ebp - 0x98]
and cl, 0xfd
add al, al
mov dword [ebp - 0xc4], 0
or cl, al
test dword [esi + 0x10], 0x4000
mov byte [ebp - 0x92], cl
mov byte [esi + 0xa0], cl
jne 0x423103
mov edx, dword [ebp - 0x9c]
cmp dword [edx + 0x387c], 0xffffffff
je 0x423103
mov eax, dword [0x4595e8]
xor edx, edx
mov byte [ebp - 0x69], 1
mov eax, dword [eax + 0x3f04]
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, str.WindowMenu
call fcn.00408d20
mov edx, dword [0x4595e8]
add esp, 4
mov dword [ebp - 0x70], eax
cmp dword [edx + 0x3f28], eax
jne 0x4230ac
push ecx
push str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.004282e0
mov al, byte [esi + 0xa0]
add esp, 8
mov edx, dword [0x4595e8]
mov byte [ebp - 0x92], al
mov eax, dword [edx + 0x40c8]
cmp dword [edx + 0x40bc], eax
jle 0x4230fb
mov edi, dword [ebp - 0x70]
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x40c4]
cmp dword [eax + ecx*4], edi
mov edi, dword [ebp - 0xb4]
jne 0x4230fb
mov edx, edi
mov ecx, esi
call fcn.00422c60
test eax, eax
je 0x4230e7
mov dword [edi + 0x18], eax
mov dword [ebp - 0xc4], eax
mov cl, byte [esi + 0xa0]
mov al, cl
shr al, 1
and al, 1
or byte [ebp - 0x98], al
jmp 0x423107
mov cl, byte [ebp - 0x92]
jmp 0x42310d
mov byte [ebp - 0x69], 0
mov edx, dword [0x4595e8]
movss xmm7, dword [esi + 0x38]
movss xmm2, dword [edx + 0x3c98]
movaps xmm6, xmm7
movss xmm1, dword [edx + 0x3894]
movaps xmm0, xmm2
movss xmm4, dword [esi + 0x34]
addss xmm1, xmm1
movss dword [ebp - 0xa8], xmm4
addss xmm0, xmm7
movss dword [ebp - 0x80], xmm4
movaps xmm3, xmm4
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
movss dword [ebp - 0xcc], xmm7
movss dword [ebp - 0x7c], xmm7
addss xmm1, xmm0
movss xmm0, dword [edx + 0x3868]
movaps xmm5, xmm0
addss xmm5, xmm4
addss xmm3, dword [esi + 0x3c]
movss dword [ebp - 0x70], xmm1
movss dword [ebp - 0x74], xmm1
movss dword [ebp - 0xf4], xmm3
movss xmm1, dword [ebp - 0xf4]
movss dword [ebp - 0x78], xmm3
subss xmm1, xmm0
movss xmm3, dword [edx + 0x3890]
movaps xmm4, xmm3
addss xmm4, xmm5
subss xmm1, xmm3
test cl, 8
je 0x4231d4
subss xmm1, xmm2
movss dword [ebp - 0xfc], xmm7
movaps xmm0, xmm1
subss xmm0, xmm3
movss dword [ebp - 0x100], xmm0
test cl, 0x10
je 0x423204
cmp dword [edx + 0x387c], 0
jne 0x4231f0
addss xmm2, dword [edx + 0x38a8]
addss xmm4, xmm2
jmp 0x423204
cmp dword [edx + 0x387c], 1
jne 0x423204
addss xmm3, xmm2
subss xmm1, xmm3
movaps xmm5, xmm1
movss xmm0, dword [ebp - 0x70]
xor ecx, ecx
mov eax, dword [edi]
movss dword [ebp - 0x90], xmm4
movss dword [ebp - 0x8c], xmm7
movss dword [ebp - 0x88], xmm1
movss dword [ebp - 0x84], xmm0
movss dword [ebp - 0x138], xmm5
movss dword [ebp - 0x134], xmm6
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xa4], ecx
cmp dword [esi + 0x24], ecx
jle 0x423343
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x130], eax
mov edx, dword [eax + 0x88]
test edx, edx
je 0x423281
xor ecx, ecx
cmp dword [edi], ecx
jle 0x423281
mov eax, dword [edi + 8]
cmp dword [eax], edx
je 0x42331f
inc ecx
add eax, 0x2c
cmp ecx, dword [edi]
jl 0x423271
mov ecx, dword [ebp - 0x130]
or eax, 0xffffffff
mov word [ebp - 0x106], ax
xorps xmm0, xmm0
mov word [ebp - 0x108], ax
mov eax, 0x500000
mov dword [ebp - 0x12c], edx
mov edx, 0x400000
cmp byte [ecx + 0xcd], 0
movlpd qword [ebp - 0x118], xmm0
cmovne eax, edx
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x128], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x11c], 0xffffffff
mov dword [ebp - 0x10c], 0xffffffff
mov dword [ebp - 0x120], eax
cmp eax, 0xffffffff
jne 0x42330b
mov eax, dword [0x4595e8]
mov eax, dword [eax + 0x3ea0]
dec eax
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x124], ecx
push eax
mov ecx, edi
call fcn.0044af50
mov ecx, dword [ebp - 0xa4]
inc ecx
mov dword [ebp - 0xa4], ecx
cmp ecx, dword [esi + 0x24]
jl 0x423252
movss xmm7, dword [ebp - 0xcc]
mov edx, dword [0x4595e8]
mov ecx, dword [ebp - 0x98]
test cl, cl
je 0x42335f
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x3ea0]
mov dword [esi + 0x8c], eax
mov eax, dword [ebp - 0xa0]
cmp byte [eax + 0xc6], 0
je 0x423375
mov eax, 0xc
jmp 0x42337f
xor eax, eax
test cl, cl
setne al
add eax, 0xa
movss xmm1, dword [0x454b38]
add eax, eax
xorps xmm6, xmm6
movups xmm2, xmmword [edx + eax*8 + 0x391c]
comiss xmm6, xmm2
movaps xmm3, xmm2
movaps xmmword [ebp - 0xf0], xmm2
shufps xmm3, xmm2, 0xff
mulss xmm3, dword [edx + 0x3854]
jbe 0x4233b4
xorps xmm0, xmm0
jmp 0x4233bb
movaps xmm0, xmm1
minss xmm0, xmm2
movss xmm2, dword [0x454be8]
movss xmm4, dword [0x454af4]
movss xmm5, dword [ebp - 0xec]
comiss xmm6, xmm5
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x4233e9
xorps xmm0, xmm0
jmp 0x4233f0
movaps xmm0, xmm1
minss xmm0, xmm5
movss xmm5, dword [ebp - 0xe8]
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm6, xmm5
jbe 0x423413
xorps xmm0, xmm0
jmp 0x42341a
movaps xmm0, xmm1
minss xmm0, xmm5
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm6, xmm3
jbe 0x423435
xorps xmm1, xmm1
jmp 0x423439
minss xmm1, xmm3
mulss xmm1, xmm2
movss xmm2, dword [0x454b70]
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xa0]
movss xmm1, dword [eax + 0x40]
movss xmm3, dword [eax + 0x44]
movaps xmm0, xmm1
addss xmm1, dword [eax + 0x48]
addss xmm0, xmm2
subss xmm1, xmm2
comiss xmm0, dword [ebp - 0xa8]
movss xmm0, dword [ebp - 0xf4]
setae cl
comiss xmm0, xmm1
movaps xmm0, xmm3
addss xmm3, dword [eax + 0x4c]
addss xmm0, xmm2
setae dh
mov byte [ebp - 0x92], dh
subss xmm3, xmm2
comiss xmm0, xmm7
movss xmm0, dword [ebp - 0x70]
setae dl
comiss xmm0, xmm3
setae ch
test dl, dl
je 0x4234c6
test cl, cl
je 0x4234c6
mov eax, 0x10
jmp 0x4234cc
xor eax, eax
test dl, dl
je 0x4234d7
mov dword [ebp - 0x70], 0x20
test dh, dh
jne 0x4234de
mov dword [ebp - 0x70], 0
test ch, ch
je 0x4234ed
test cl, cl
je 0x4234ed
mov edx, 0x40
jmp 0x4234f3
xor edx, edx
test ch, ch
je 0x423501
cmp byte [ebp - 0x92], 0
mov ecx, 0x180
jne 0x423506
mov ecx, 0x100
or eax, ecx
or eax, dword [ebp - 0x70]
or eax, edx
push eax
mov eax, dword [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x78]
movss xmm0, dword [eax + 0x78]
movss dword [esp], xmm0
push dword [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [eax + 0x288]
call fcn.00433af0
cmp byte [ebp - 0x69], 0
je 0x42362c
mov eax, dword [ebp - 0xa0]
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.00408d20
mov ecx, dword [0x4595e8]
add esp, 4
mov dword [ebp - 0xa8], eax
cmp dword [ecx + 0x3f28], eax
jne 0x423596
push ecx
push str.COLLAPSE
mov edx, 0xb
mov ecx, eax
call fcn.004282e0
mov eax, dword [ebp - 0xa8]
add esp, 8
push esi
lea edx, [ebp - 0x138]
mov ecx, eax
call fcn.0043f4f0
add esp, 4
test al, al
je 0x42360c
mov esi, dword [0x4595e8]
mov ecx, str.WindowMenu
mov eax, dword [esi + 0x3f04]
mov edx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.00408d20
add esp, 4
mov dword [ebp - 0xa8], eax
cmp dword [esi + 0x3f28], eax
jne 0x4235ff
push ecx
push str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.004282e0
mov eax, dword [ebp - 0xa8]
add esp, 8
mov ecx, eax
call fcn.004186c0
mov esi, dword [ebp - 0xac]
mov eax, dword [0x4595e8]
mov ecx, dword [eax + 0x3f40]
test ecx, ecx
je 0x42362c
cmp ecx, dword [eax + 0x3fb0]
jne 0x42362c
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xc4], eax
mov eax, dword [edi]
mov dword [ebp - 0xa4], eax
lea ecx, [eax - 1]
test ecx, ecx
js 0x423678
imul edx, ecx, 0x2c
nop
mov eax, dword [edi + 8]
mov eax, dword [edx + eax + 4]
test eax, 0x400000
je 0x42366c
mov esi, dword [edi + 8]
and eax, 0xffbfffff
mov dword [edx + esi + 4], eax
mov eax, ecx
sub edx, 0x2c
mov dword [ebp - 0xa4], eax
sub ecx, 1
jns 0x423640
jmp 0x423672
mov eax, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xac]
mov ecx, dword [edi]
cmp ecx, eax
jle 0x4236a8
inc eax
cmp ecx, eax
jle 0x4236a8
mov eax, dword [ebp - 0xa4]
sub ecx, eax
cmp ecx, 1
jbe 0x4236a8
imul eax, eax, 0x2c
push 0x422c00
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 [ebp - 0x9c]
mov eax, dword [eax + 0x4120]
test eax, eax
je 0x4236cc
mov eax, dword [eax + 0x324]
cmp dword [eax + 0x388], esi
jne 0x4236cc
mov eax, dword [eax + 4]
mov dword [edi + 0x14], eax
cmp dword [ebp - 0xd0], 0
jne 0x4236f8
mov edx, dword [esi + 0x94]
test edx, edx
je 0x4236f8
xor ecx, ecx
cmp dword [edi], ecx
jle 0x4236f8
mov eax, dword [edi + 8]
cmp dword [eax], edx
je 0x4239f3
inc ecx
add eax, 0x2c
cmp ecx, dword [edi]
jl 0x4236e8
mov eax, dword [edi]
cmp eax, dword [ebp - 0xd4]
jle 0x423718
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 ecx, dword [ebp - 0xa0]
mov eax, 0x500003
cmp byte [ecx + 0xc6], 0
jne 0x42373b
cmp byte [ebp - 0x98], 0
mov ecx, 0x700003
cmovne eax, ecx
push esi
push eax
lea edx, [ebp - 0x90]
mov ecx, edi
call fcn.00447ff0
add esp, 8
lea eax, [ebp - 0x60]
mov ecx, 6
mov dword [eax - 8], 0
lea eax, [eax + 0x10]
mov dword [eax - 0x14], 0
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x423755
mov ecx, dword [ebp - 0x9c]
xor edx, edx
mov dword [ebp - 0xa4], edx
movups xmm1, xmmword [ecx + 0x391c]
movups xmmword [ebp - 0x68], xmm1
movups xmm0, xmmword [ecx + 0x3b2c]
movups xmmword [ebp - 0x58], xmm0
movups xmm0, xmmword [ecx + 0x3b3c]
movups xmmword [ebp - 0x48], xmm0
movups xmm0, xmmword [ecx + 0x3b4c]
movups xmmword [ebp - 0x38], xmm0
movups xmm0, xmmword [ecx + 0x3b5c]
movups xmmword [ebp - 0x28], xmm0
movups xmm0, xmmword [ecx + 0x3b6c]
mov dword [esi + 0x74], 0
movups xmmword [ebp - 0x18], xmm0
cmp dword [esi + 0x24], edx
jle 0x423a30
movss xmm1, dword [0x454abc]
cmp byte [ebp - 0x91], 0
mov eax, dword [esi + 0x2c]
mov esi, dword [eax + edx*4]
mov dword [ebp - 0xd0], esi
jne 0x423804
mov eax, dword [ebp - 0xbc]
cmp eax, dword [esi + 0x88]
jne 0x42381a
cmp byte [esi + 0xcd], 0
je 0x42381a
test dword [esi + 8], 0x100000
je 0x423a0e
mov eax, dword [esi + 0x254]
inc eax
cmp eax, dword [ecx + 0x3ea0]
jge 0x42383b
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0xc0], eax
je 0x423a0e
mov edx, dword [esi + 0x20]
lea eax, [esi + 0x370]
or edx, 1
mov dword [ebp - 0xd4], eax
test dword [esi + 8], 0x100000
cmove edx, dword [esi + 0x20]
mov esi, eax
mov ecx, edx
or ecx, 4
test byte [edi + 0xc], 8
mov edi, 0x4503f8
cmove ecx, edx
mov edx, dword [ebp - 0x9c]
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 + 0x455030]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0xf0], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x455030]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0xec], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x455030]
mov eax, dword [edi]
add edi, 4
add eax, eax
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0xe8], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x455030]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0xe4], xmm0
movups xmm0, xmmword [ebp - 0xf0]
movups xmmword [edx + eax*8 + 0x391c], xmm0
cmp edi, 0x450410
jl 0x423877
mov esi, dword [ebp - 0xd0]
lea eax, [ebp - 0x69]
mov edi, dword [ebp - 0xb4]
xor ecx, ecx
push esi
push dword [ebp - 0xa8]
cmp byte [esi + 0xcd], cl
mov edx, dword [esi]
cmove eax, ecx
mov byte [ebp - 0x69], 1
push eax
mov ecx, edi
call fcn.004495f0
mov ecx, dword [ebp - 0xac]
add esp, 0xc
cmp byte [ebp - 0x69], 0
jne 0x42398e
mov eax, dword [esi + 0x88]
mov dword [ecx + 0x98], eax
mov eax, dword [edi + 0x1c]
cmp eax, dword [esi + 0x88]
jne 0x42399c
mov dword [ecx + 0x74], esi
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx + 0x3fb8]
mov dword [esi + 0x394], eax
movups xmm0, xmmword [ecx + 0x3fbc]
movups xmmword [esi + 0x398], xmm0
mov eax, dword [ecx + 0x4120]
test eax, eax
je 0x423a06
cmp dword [eax + 0x324], esi
jne 0x423a06
test byte [esi + 0x164], 2
movss xmm1, dword [0x454abc]
jne 0x423a0e
mov edx, dword [ebp - 0xa0]
mov eax, dword [esi + 0x88]
mov dword [edx + 0x340], eax
jmp 0x423a0e
test eax, eax
je 0x4236f8
mov dword [edi + 0x18], edx
mov dword [edi + 0x14], edx
jmp 0x423718
movss xmm1, dword [0x454abc]
mov eax, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xa4], eax
mov edx, eax
cmp eax, dword [esi + 0x24]
jl 0x4237e1
movups xmm1, xmmword [ebp - 0x68]
movups xmmword [ecx + 0x391c], xmm1
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [ecx + 0x3b2c], xmm0
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [ecx + 0x3b3c], xmm0
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [ecx + 0x3b4c], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ecx + 0x3b5c], xmm0
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [ecx + 0x3b6c], xmm0
mov eax, dword [esi + 0x74]
test eax, eax
je 0x423a8d
cmp byte [ebp - 0x98], 0
mov ecx, dword [ebp - 0xb8]
jne 0x423a8a
cmp dword [ecx + 0x74], 0
jne 0x423a8d
mov dword [ecx + 0x74], eax
mov al, byte [esi + 0xa0]
and al, 8
je 0x423ab3
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x423ab3
cmp byte [ecx + 0xcd], 0
je 0x423ab3
mov byte [ebp - 0x91], 1
jmp 0x423b81
test al, al
je 0x423c94
mov ecx, dword [0x4595e8]
mov eax, dword [ecx + 0x3f98]
or eax, 4
mov dword [ecx + 0x3f98], eax
add ecx, 0x40a4
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xc0]
push eax
call fcn.004284e0
mov eax, dword [ebp - 0x9c]
mov esi, dword [0x4595e8]
mov dword [ebp - 0x114], 0
movss xmm0, dword [eax + 0x391c]
movss dword [ebp - 0xf0], xmm0
lea ecx, [esi + 0x4074]
movss xmm0, dword [eax + 0x3920]
movss dword [ebp - 0xec], xmm0
movss xmm0, dword [eax + 0x3924]
movss dword [ebp - 0xe8], xmm0
movss xmm0, dword [eax + 0x3928]
lea eax, [ebp - 0x114]
mulss xmm0, dword [0x454aec]
push eax
movss dword [ebp - 0xe4], xmm0
movups xmm0, xmmword [esi + 0x391c]
movups xmmword [ebp - 0x110], xmm0
call fcn.00428dc0
movups xmm0, xmmword [ebp - 0xf0]
mov byte [ebp - 0x91], 0
movups xmmword [esi + 0x391c], xmm0
mov esi, dword [ebp - 0xac]
mov eax, dword [ebp - 0xa0]
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.00408d20
mov ecx, dword [0x4595e8]
add esp, 4
mov dword [ebp - 0xc0], eax
cmp dword [ecx + 0x3f28], eax
jne 0x423bd5
push ecx
push str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.004282e0
mov eax, dword [ebp - 0xc0]
add esp, 8
lea edx, [ebp - 0x100]
mov ecx, eax
call fcn.0043f190
test al, al
je 0x423c3b
or byte [esi + 0xa0], 0x40
cmp dword [edi], 0
jle 0x423c3b
xor edx, edx
xor esi, esi
mov ecx, dword [edi + 8]
add ecx, edx
test byte [ecx + 4], 1
jne 0x423c23
mov byte [ecx + 0x28], 1
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx]
jne 0x423c2d
mov dword [ecx + 0xc], 0xffffffff
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
jmp 0x423c2d
mov eax, dword [ecx]
cmp dword [edi + 0x1c], eax
je 0x423c2d
mov dword [edi + 0x18], eax
inc esi
add edx, 0x2c
cmp esi, dword [edi]
jl 0x423bf6
mov esi, dword [ebp - 0xac]
cmp byte [ebp - 0x91], 0
jne 0x423c94
mov ecx, dword [0x4595e8]
mov eax, dword [ecx + 0x4074]
mov ecx, dword [ecx + 0x407c]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
mov edx, dword [0x4595e8]
add eax, eax
movups xmmword [edx + eax*8 + 0x391c], xmm0
dec dword [edx + 0x4074]
dec dword [edx + 0x40a4]
mov eax, dword [edx + 0x40ac]
mov ecx, dword [edx + 0x40a4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x3f98], eax
mov eax, dword [ebp - 0xa0]
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.00408d20
mov ecx, dword [0x4595e8]
mov edx, eax
add esp, 4
mov dword [ebp - 0xb4], edx
cmp dword [ecx + 0x3f28], edx
jne 0x423cea
push ecx
push str.TITLEBAR
mov edx, 0xb
mov ecx, eax
call fcn.004282e0
mov edx, dword [ebp - 0xb4]
add esp, 8
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax + 0x3f2c]
test ecx, ecx
je 0x423d0a
cmp ecx, edx
je 0x423d0a
cmp dword [eax + 0x3f40], edx
jne 0x423f0b
push 0x1000
lea eax, [ebp - 0x91]
push eax
push 0
lea ecx, [ebp - 0x80]
call fcn.0043e650
mov eax, dword [ebp - 0x9c]
add esp, 0xc
mov ecx, dword [ebp - 0xb4]
mov edx, dword [0x4595e8]
cmp dword [eax + 0x3f2c], ecx
jne 0x423d67
mov dword [eax + 0x3fb0], ecx
mov eax, dword [edx + 0x3fb0]
cmp dword [edx + 0x3f2c], eax
jne 0x423d58
mov byte [edx + 0x3f34], 1
cmp dword [edx + 0x3f40], eax
jne 0x423d67
mov byte [edx + 0x3f4d], 1
cmp byte [ebp - 0x91], 0
je 0x423f0b
movss xmm0, dword [edx + 0x36a8]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x423d91
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xc4], eax
cmp dword [edi + 0x14], 0
je 0x423f0b
xor ecx, ecx
cmp dword [edi], ecx
jle 0x423f0b
mov eax, dword [edi + 8]
nop dword [eax + eax]
mov esi, dword [edi + 0x14]
cmp dword [eax], esi
mov esi, dword [ebp - 0xac]
je 0x423dca
inc ecx
add eax, 0x2c
cmp ecx, dword [edi]
jl 0x423db0
jmp 0x423f0b
test eax, eax
je 0x423f0b
mov eax, dword [eax + 8]
mov dword [ebp - 0x70], eax
test eax, eax
jne 0x423de2
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0x74]
xor cl, cl
mov dword [ebp - 0xbc], ecx
test eax, eax
je 0x423e34
test byte [eax + 8], 4
jne 0x423e34
mov eax, dword [esi + 0x18]
mov ecx, esi
test eax, eax
je 0x423e09
mov ecx, eax
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x423e00
cmp dword [ecx + 0x7c], esi
jne 0x423e14
cmp dword [ecx + 0x78], 0
je 0x423e2e
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 0xbc]
shr eax, 0xa
test al, 1
movzx ecx, cl
cmovne ecx, dword [ebp - 0xf8]
jmp 0x423e34
mov ecx, dword [ebp - 0xbc]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x423e41
mov ah, 1
jmp 0x423e43
xor ah, ah
cmp byte [edx + 0xd60], 0
jne 0x423e50
xor al, al
jmp 0x423e7a
movss xmm0, dword [edx + 0x30]
movaps xmm1, xmm0
mulss xmm1, dword [0x454b60]
comiss xmm2, xmm1
jbe 0x423e68
movaps xmm1, xmm0
movss xmm0, dword [edx + 0x36f8]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test cl, cl
je 0x423ef1
test al, al
je 0x423f0b
lea eax, [ebp - 0x124]
mov dword [ebp - 0x108], 0
push eax
lea ecx, [edx + 0x534c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x114], 0xffffffff
mov dword [ebp - 0x110], 0x3f000000
mov byte [ebp - 0x10c], 0
mov dword [ebp - 0x124], 2
mov dword [ebp - 0x104], esi
call fcn.00428820
jmp 0x423f0b
test ah, ah
jne 0x423ef9
test al, al
je 0x423f0b
mov eax, dword [ebp - 0x70]
cmp dword [edx + 0x3f14], eax
je 0x423f0b
mov ecx, eax
call fcn.0040bbc0
mov ecx, dword [edi + 0x18]
test ecx, ecx
cmove ecx, dword [ebp - 0xc4]
test ecx, ecx
je 0x423f4e
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x423f4e
mov edi, dword [edi + 8]
cmp dword [edi], ecx
je 0x423f34
inc eax
add edi, 0x2c
cmp eax, edx
jl 0x423f26
jmp 0x423f4e
test edi, edi
je 0x423f4e
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x423f4e
call fcn.00416880
mov ecx, dword [edi + 8]
xor dl, dl
call fcn.0041a060
call fcn.00448390
mov eax, dword [0x4595e8]
mov eax, dword [eax + 0x3f04]
dec dword [eax + 0xfc]
mov eax, dword [esi + 0x10]
shr eax, 0xa
test al, 1
jne 0x42400c
mov eax, dword [ebp - 0xa0]
mov cl, byte [ebp - 0xad]
mov dword [eax + 0x160], 0
mov byte [eax + 0xc8], cl
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c9de
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [esi + 0x24], 0
jle 0x423fae
mov eax, dword [esi + 0x2c]
mov edi, dword [eax]
jmp 0x423fb0
xor edi, edi
mov al, byte [ebp - 0x98]
and dl, 0xfd
add al, al
mov dword [esi + 0x74], edi
or dl, al
mov eax, dword [ebp - 0x98]
mov byte [esi + 0xa0], dl
test al, al
je 0x423fe2
mov eax, dword [ecx + 0x3ea0]
mov dword [esi + 0x8c], eax
mov eax, dword [ebp - 0x98]
test edi, edi
je 0x42400c
test al, al
mov eax, dword [ebp - 0xb8]
jne 0x423ff6
cmp dword [eax + 0x74], 0
jne 0x423ff9
mov dword [eax + 0x74], edi
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x42400c
mov eax, dword [esi + 0x74]
mov eax, dword [eax + 0x88]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044c9de
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret