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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x448040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x38], edx
push esi
mov esi, dword [0x448434]
push edi
mov ecx, dword [ebx + 0x88]
mov al, byte [ebx + 0xa0]
inc ecx
mov edi, dword [esi + 0x3ea0]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x94], edi
test al, 0x40
je 0x41c25c
mov byte [ebp - 0xa], 1
cmp ecx, edi
je 0x41c260
mov byte [ebp - 0xa], 0
cmp dword [ebx + 0x98], 0
je 0x41c274
mov dword [ebp - 0x4c], 1
cmp ecx, edi
je 0x41c27b
mov dword [ebp - 0x4c], 0
and al, 0xbf
mov dword [ebx + 0x98], 0
mov byte [ebp - 0x15], al
xor cl, cl
mov byte [ebx + 0xa0], al
mov edi, ebx
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x3c], edi
test eax, eax
je 0x41c2b3
mov edx, eax
mov dword [ebp - 0x3c], edx
mov eax, dword [edx + 0x18]
test eax, eax
jne 0x41c2a1
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
mov eax, dword [esi + 0x4270]
mov dword [ebp - 0x40], 1
test eax, eax
je 0x41c2cf
cmp dword [eax + 0x388], ebx
sete cl
jmp 0x41c2f6
mov eax, dword [esi + 0x4120]
test eax, eax
je 0x41c2f9
mov eax, dword [eax + 0x330]
cmp eax, dword [edx + 0x32c]
jne 0x41c2f9
mov eax, dword [edi + 0x90]
cmp eax, dword [ebx]
movzx ecx, cl
cmove ecx, dword [ebp - 0x40]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebx + 0x10]
shr eax, 0xd
test al, 1
jne 0x41d533
mov eax, dword [ebx + 0x10]
shr eax, 0xc
test al, 1
jne 0x41d533
mov al, byte [edx + 0xc8]
mov byte [ebp - 0x15], al
mov eax, dword [ebx + 0x10]
shr eax, 0xa
test al, 1
jne 0x41c339
mov byte [edx + 0xc8], 0
mov dword [edx + 0x160], 1
mov ecx, dword [ebx]
mov edi, dword [esi + 0x3f04]
mov dword [ebp - 8], ecx
cmp dword [esi + 0x3f28], ecx
jne 0x41c35c
push ecx
push 0
mov edx, 0xd
call fcn.00421810
add esp, 8
lea eax, [ebp - 8]
push eax
lea ecx, [edi + 0xfc]
call fcn.00421a10
mov eax, dword [ebx + 0x30]
mov edi, eax
mov dword [ebp - 0x8c], eax
test edi, edi
jne 0x41c384
mov ecx, ebx
call fcn.0041d5b0
mov edi, dword [ebx + 0x30]
mov cl, byte [ebx + 0xa0]
mov al, byte [ebp - 0x30]
and cl, 0xfd
add al, al
mov dword [ebp - 0x48], 0
or cl, al
test dword [ebx + 0x10], 0x4000
mov byte [ebp - 0xb], cl
mov byte [ebx + 0xa0], cl
jne 0x41c46c
cmp dword [esi + 0x387c], 0xffffffff
je 0x41c46c
mov eax, dword [0x448434]
xor edx, edx
mov byte [ebp - 9], 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.004032d0
mov edx, dword [0x448434]
add esp, 4
mov dword [ebp - 8], eax
cmp dword [edx + 0x3f28], eax
jne 0x41c421
push ecx
push str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.00421810
mov al, byte [ebx + 0xa0]
add esp, 8
mov edx, dword [0x448434]
mov byte [ebp - 0xb], al
mov eax, dword [edx + 0x40c8]
cmp dword [edx + 0x40bc], eax
jle 0x41c467
mov esi, dword [ebp - 8]
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x40c4]
cmp dword [eax + ecx*4], esi
mov esi, dword [ebp - 0x10]
jne 0x41c467
mov edx, edi
mov ecx, ebx
call fcn.0041c050
test eax, eax
je 0x41c456
mov dword [edi + 0x18], eax
mov dword [ebp - 0x48], eax
mov cl, byte [ebx + 0xa0]
mov al, cl
shr al, 1
and al, 1
or byte [ebp - 0x30], al
jmp 0x41c470
mov cl, byte [ebp - 0xb]
jmp 0x41c476
mov byte [ebp - 9], 0
mov edx, dword [0x448434]
movss xmm3, dword [edx + 0x3c98]
movss xmm5, dword [ebx + 0x38]
movaps xmm0, xmm3
movss xmm1, dword [edx + 0x3894]
addss xmm0, xmm5
movss xmm4, dword [ebx + 0x34]
addss xmm1, xmm1
movss dword [ebp - 0x2c], xmm4
movaps xmm2, xmm4
movss dword [ebp - 0x28], xmm5
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
addss xmm1, xmm0
addss xmm2, dword [ebx + 0x3c]
movss dword [ebp - 0x20], xmm1
movss xmm1, dword [edx + 0x3890]
movss dword [ebp - 0x24], xmm2
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ebp - 0xa4], xmm0
movss xmm0, dword [edx + 0x3868]
addss xmm4, xmm0
subss xmm2, xmm0
movaps xmm6, xmm4
addss xmm6, xmm1
subss xmm2, xmm1
movss dword [ebp - 0x2c], xmm6
movss dword [ebp - 0x24], xmm2
test cl, 8
je 0x41c52c
subss xmm2, xmm3
movss dword [ebp - 0x84], xmm5
movaps xmm0, xmm2
movss dword [ebp - 0x24], xmm2
subss xmm0, xmm1
movss dword [ebp - 0x88], xmm0
test cl, 0x10
je 0x41c566
cmp dword [edx + 0x387c], 0
jne 0x41c54d
addss xmm3, dword [edx + 0x38a8]
addss xmm3, xmm6
movss dword [ebp - 0x2c], xmm3
jmp 0x41c566
cmp dword [edx + 0x387c], 1
jne 0x41c566
addss xmm3, xmm1
movaps xmm4, xmm2
subss xmm4, xmm3
movss dword [ebp - 0x24], xmm4
cmp dword [ebx + 0x24], 0
movups xmm0, xmmword [ebp - 0x2c]
mov eax, dword [edi]
movss dword [ebp - 0xac], xmm4
movups xmmword [ebp - 0xbc], xmm0
mov dword [ebp - 0x90], eax
movss dword [ebp - 0xa8], xmm5
mov dword [ebp - 0x1c], 0
jle 0x41c673
xor ecx, ecx
mov dword [ebp - 8], 0x400000
mov dword [ebp - 0x34], ecx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ecx + eax]
mov dword [ebp - 0x14], ecx
cmp dword [ecx + 0x88], 0
je 0x41c5e6
xor ecx, ecx
cmp dword [edi], ecx
jle 0x41c5e3
mov eax, dword [edi + 8]
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 0x88]
cmp dword [eax], esi
mov esi, dword [ebp - 0x10]
mov edx, dword [0x448434]
je 0x41c65a
inc ecx
add eax, 0x2c
cmp ecx, dword [edi]
jl 0x41c5c1
mov ecx, dword [ebp - 0x14]
or eax, 0xffffffff
mov dword [ebp - 0x64], 0
cmp byte [ecx + 0xcd], 0
xorps xmm0, xmm0
mov word [ebp - 0x5a], ax
mov word [ebp - 0x5c], ax
mov eax, dword [ecx + 0x88]
mov dword [ebp - 0x80], eax
mov eax, 0x500000
cmovne eax, dword [ebp - 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [edi + 0x20]
movlpd qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x74], eax
cmp eax, 0xffffffff
jne 0x41c646
mov eax, dword [edx + 0x3ea0]
dec eax
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x78], ecx
push eax
mov ecx, edi
call fcn.0043d740
mov edx, dword [0x448434]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
inc eax
add ecx, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], ecx
cmp eax, dword [ebx + 0x24]
jl 0x41c5a6
mov eax, dword [ebp - 0x30]
test al, al
je 0x41c689
mov eax, dword [esi + 0x3ea0]
mov dword [ebx + 0x8c], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
cmp byte [ecx + 0xc6], 0
je 0x41c69c
mov eax, 0xc
jmp 0x41c6ae
test al, al
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
setne al
add eax, 0xa
movss xmm0, dword [0x445530]
add eax, eax
xorps xmm2, xmm2
movups xmm4, xmmword [edx + eax*8 + 0x391c]
comiss xmm2, xmm4
movaps xmm3, xmm4
shufps xmm3, xmm4, 0xff
mulss xmm3, dword [edx + 0x3854]
movups xmmword [ebp - 0x2c], xmm4
jbe 0x41c6e0
xorps xmm1, xmm1
jmp 0x41c6e7
movaps xmm1, xmm0
minss xmm1, xmm4
movss xmm4, dword [0x4455c0]
movss xmm5, dword [0x4454ec]
movss xmm6, dword [ebp - 0x28]
comiss xmm2, xmm6
mulss xmm1, xmm4
addss xmm1, xmm5
cvttss2si edx, xmm1
jbe 0x41c712
xorps xmm1, xmm1
jmp 0x41c719
movaps xmm1, xmm0
minss xmm1, xmm6
movss xmm6, dword [ebp - 0x24]
mulss xmm1, xmm4
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or edx, eax
comiss xmm2, xmm6
jbe 0x41c739
xorps xmm1, xmm1
jmp 0x41c740
movaps xmm1, xmm0
minss xmm1, xmm6
mulss xmm1, xmm4
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 0x10
or edx, eax
comiss xmm2, xmm3
jbe 0x41c75b
xorps xmm0, xmm0
jmp 0x41c75f
minss xmm0, xmm3
movss xmm1, dword [ecx + 0x40]
movss xmm2, dword [0x44555c]
mulss xmm0, xmm4
movss xmm3, dword [ecx + 0x44]
addss xmm0, xmm5
cvttss2si eax, xmm0
movaps xmm0, xmm1
addss xmm1, dword [ecx + 0x48]
shl eax, 0x18
addss xmm0, xmm2
or eax, edx
mov dword [ebp - 8], eax
subss xmm1, xmm2
comiss xmm0, dword [ebp - 0xa4]
movss xmm0, dword [ebp - 0x9c]
setae al
comiss xmm0, xmm1
movaps xmm0, xmm3
addss xmm3, dword [ecx + 0x4c]
addss xmm0, xmm2
setae dh
mov byte [ebp - 0xb], dh
subss xmm3, xmm2
comiss xmm0, dword [ebp - 0xa0]
movss xmm0, dword [ebp - 0x98]
setae dl
comiss xmm0, xmm3
setae ah
test dl, dl
je 0x41c7e9
test al, al
je 0x41c7e9
mov dword [ebp - 0x34], 0x10
jmp 0x41c7f4
mov dword [ebp - 0x34], 0
test dl, dl
je 0x41c7ff
mov dword [ebp - 0x14], 0x20
test dh, dh
jne 0x41c806
mov dword [ebp - 0x14], 0
test ah, ah
je 0x41c815
test al, al
je 0x41c815
mov edx, 0x40
jmp 0x41c81b
xor edx, edx
test ah, ah
je 0x41c826
cmp byte [ebp - 0xb], 0
mov eax, 0x180
jne 0x41c82b
mov eax, pe_nt_image_headers32
or eax, dword [ebp - 0x34]
movss xmm0, dword [ecx + 0x78]
or eax, edx
or eax, dword [ebp - 0x14]
push eax
push ecx
mov ecx, dword [ecx + 0x288]
lea eax, [ebp - 0x9c]
movss dword [esp], xmm0
push dword [ebp - 8]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0042cd10
cmp byte [ebp - 9], 0
je 0x41c93a
mov eax, dword [ebp - 0x38]
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.004032d0
mov ecx, dword [0x448434]
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ecx + 0x3f28], eax
jne 0x41c8b0
push ecx
push str.COLLAPSE
mov edx, 0xb
mov ecx, eax
call fcn.00421810
mov eax, dword [ebp - 8]
add esp, 8
push ebx
lea edx, [ebp - 0xac]
mov ecx, eax
call fcn.00437ff0
add esp, 4
test al, al
je 0x41c91d
mov esi, dword [0x448434]
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.004032d0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [esi + 0x3f28], eax
jne 0x41c913
push ecx
push str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.00421810
mov eax, dword [ebp - 8]
add esp, 8
mov ecx, eax
call fcn.00411e70
mov esi, dword [ebp - 0x10]
mov eax, dword [0x448434]
mov ecx, dword [eax + 0x3f40]
test ecx, ecx
je 0x41c93a
cmp ecx, dword [eax + 0x3fb0]
jne 0x41c93a
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
lea ecx, [eax - 1]
test ecx, ecx
js 0x41c97f
imul edx, ecx, 0x2c
nop dword [eax]
mov eax, dword [edi + 8]
mov eax, dword [edx + eax + 4]
test eax, 0x400000
je 0x41c979
mov esi, dword [edi + 8]
and eax, 0xffbfffff
mov dword [edx + esi + 4], eax
mov eax, ecx
sub edx, 0x2c
mov dword [ebp - 0x14], eax
sub ecx, 1
jns 0x41c950
jmp 0x41c97c
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov ecx, dword [edi]
cmp ecx, eax
jle 0x41c9ac
inc eax
cmp ecx, eax
jle 0x41c9ac
mov eax, dword [ebp - 0x14]
sub ecx, eax
cmp ecx, 1
jbe 0x41c9ac
imul eax, eax, 0x2c
push 0x41bff0
push 0x2c
push ecx
add eax, dword [edi + 8]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
add esp, 0x10
mov eax, dword [esi + 0x4120]
test eax, eax
je 0x41c9ca
mov eax, dword [eax + 0x324]
cmp dword [eax + 0x388], ebx
jne 0x41c9ca
mov eax, dword [eax + 4]
mov dword [edi + 0x14], eax
cmp dword [ebp - 0x8c], 0
jne 0x41ca09
cmp dword [ebx + 0x94], 0
je 0x41ca09
mov edx, dword [edi]
xor ecx, ecx
test edx, edx
jle 0x41ca09
mov eax, dword [edi + 8]
nop word [eax + eax]
mov esi, dword [ebx + 0x94]
cmp dword [eax], esi
mov esi, dword [ebp - 0x10]
je 0x41d003
inc ecx
add eax, 0x2c
cmp ecx, edx
jl 0x41c9f0
mov eax, dword [edi]
cmp eax, dword [ebp - 0x90]
jle 0x41ca29
imul ecx, eax, 0x2c
mov eax, dword [edi + 8]
mov eax, dword [ecx + eax - 0x24]
mov eax, dword [eax + 0x88]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x38]
mov ecx, 0x500003
cmp byte [eax + 0xc6], 0
jne 0x41ca46
cmp byte [ebp - 0x30], 0
mov eax, 0x700003
cmovne ecx, eax
push ebx
push ecx
lea edx, [ebp - 0xbc]
mov ecx, edi
call fcn.0043a820
movups xmm0, xmmword [esi + 0x391c]
add esp, 8
cmp dword [ebx + 0x24], 0
movups xmm1, xmmword [esi + 0x3b2c]
mov dword [ebp - 0x34], 0
movups xmm2, xmmword [esi + 0x3b3c]
movups xmm3, xmmword [esi + 0x3b4c]
movups xmm4, xmmword [esi + 0x3b5c]
movups xmm5, xmmword [esi + 0x3b6c]
mov dword [ebx + 0x74], 0
movups xmmword [ebp - 0xd0], xmm0
movups xmmword [ebp - 0xe0], xmm1
movups xmmword [ebp - 0xf0], xmm2
movups xmmword [ebp - 0x100], xmm3
movups xmmword [ebp - 0x110], xmm4
movups xmmword [ebp - 0x68], xmm5
jle 0x41d060
movss xmm1, dword [0x4454b4]
xor edx, edx
mov dword [ebp - 8], edx
nop
cmp byte [ebp - 0xa], 0
mov eax, dword [ebx + 0x2c]
mov edx, dword [edx + eax]
mov dword [ebp - 0x1c], edx
lea eax, [edx + 0x88]
mov dword [ebp - 0x14], eax
jne 0x41caef
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [eax]
jne 0x41cb0b
cmp byte [edx + 0xcd], 0
mov dword [ebp - 0x14], eax
je 0x41cb0b
test dword [edx + 8], 0x100000
mov dword [ebp - 0x14], eax
je 0x41d020
mov eax, dword [edx + 0x254]
inc eax
cmp eax, dword [esi + 0x3ea0]
jge 0x41cb29
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x44], eax
je 0x41d020
mov ecx, dword [ebp - 0x1c]
mov esi, dword [edx + 0x20]
or esi, 1
test dword [edx + 8], 0x100000
mov ecx, dword [ecx + 0x370]
cmove esi, dword [edx + 0x20]
movzx eax, cl
mov edx, dword [edi + 0xc]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x445930]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x445930]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x28], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x445930]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x24], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x445930]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [eax + 0x391c], xmm0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x374]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x445930]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x445930]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x28], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x445930]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x24], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x445930]
cvtpd2ps xmm0, xmm0
mov eax, dword [ebp - 0x10]
mulss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [eax + 0x3b2c], xmm0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x378]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x445930]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x445930]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x28], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x445930]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x24], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x445930]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [eax + 0x3b3c], xmm0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x37c]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x445930]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x445930]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x28], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x445930]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x24], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x445930]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [eax + 0x3b4c], xmm0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x380]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x445930]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x445930]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x28], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x445930]
mov eax, dword [ebp - 0x10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x24], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x445930]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [eax + 0x3b5c], xmm0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x384]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x445930]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x445930]
mov eax, ecx
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x28], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
shr ecx, 0x18
addsd xmm0, qword [eax*8 + 0x445930]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x24], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mov eax, dword [ebp - 0x10]
shr ecx, 0x1f
push dword [ebp - 0x1c]
addsd xmm0, qword [ecx*8 + 0x445930]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [eax + 0x3b6c], xmm0
mov eax, esi
mov byte [ebp - 9], 1
or eax, 4
test dl, 8
cmove eax, esi
mov esi, dword [ebp - 0x1c]
xor ecx, ecx
push eax
lea eax, [ebp - 9]
cmp byte [esi + 0xcd], cl
mov edx, dword [esi]
cmove eax, ecx
mov ecx, edi
push eax
call fcn.0043beb0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
cmp byte [ebp - 9], 0
jne 0x41cfa5
mov eax, dword [ecx]
mov dword [ebx + 0x98], eax
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx]
jne 0x41cfaf
mov dword [ebx + 0x74], esi
mov ecx, dword [ebp - 0x10]
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 0x41d016
cmp dword [eax + 0x324], esi
jne 0x41d016
test byte [esi + 0x164], 2
movss xmm1, dword [0x4454b4]
jne 0x41d01e
mov ecx, dword [ebp - 0x38]
mov eax, dword [esi + 0x88]
mov esi, dword [ebp - 0x10]
mov dword [ecx + 0x340], eax
jmp 0x41d020
test eax, eax
je 0x41ca09
mov eax, dword [ebx + 0x94]
jmp 0x41ca23
movss xmm1, dword [0x4454b4]
mov esi, ecx
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 8]
inc eax
add edx, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 8], edx
cmp eax, dword [ebx + 0x24]
jl 0x41cad0
movups xmm0, xmmword [ebp - 0xd0]
movups xmm1, xmmword [ebp - 0xe0]
movups xmm2, xmmword [ebp - 0xf0]
movups xmm3, xmmword [ebp - 0x100]
movups xmm4, xmmword [ebp - 0x110]
movups xmm5, xmmword [ebp - 0x68]
movups xmmword [esi + 0x391c], xmm0
movups xmmword [esi + 0x3b2c], xmm1
movups xmmword [esi + 0x3b3c], xmm2
movups xmmword [esi + 0x3b4c], xmm3
movups xmmword [esi + 0x3b5c], xmm4
movups xmmword [esi + 0x3b6c], xmm5
mov ecx, dword [ebx + 0x74]
test ecx, ecx
je 0x41d0a3
cmp byte [ebp - 0x30], 0
mov eax, dword [ebp - 0x3c]
jne 0x41d0a0
cmp dword [eax + 0x74], 0
jne 0x41d0a3
mov dword [eax + 0x74], ecx
mov al, byte [ebx + 0xa0]
and al, 8
je 0x41d0c6
mov ecx, dword [ebx + 0x74]
test ecx, ecx
je 0x41d0c6
cmp byte [ecx + 0xcd], 0
je 0x41d0c6
mov byte [ebp - 0xa], 1
jmp 0x41d16a
test al, al
je 0x41d27b
mov ecx, dword [0x448434]
mov eax, dword [ecx + 0x3f98]
or eax, 4
mov dword [ecx + 0x3f98], eax
add ecx, 0x40a4
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
call fcn.00421a10
movss xmm0, dword [esi + 0x391c]
lea eax, [ebp - 0x68]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [esi + 0x3920]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [esi + 0x3924]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [esi + 0x3928]
mulss xmm0, dword [0x4454e4]
mov esi, dword [0x448434]
push eax
mov dword [ebp - 0x68], 0
movss dword [ebp - 0x20], xmm0
movups xmm0, xmmword [esi + 0x391c]
lea ecx, [esi + 0x4074]
movups xmmword [ebp - 0x64], xmm0
call fcn.004220d0
movups xmm0, xmmword [ebp - 0x2c]
mov byte [ebp - 0xa], 0
movups xmmword [esi + 0x391c], xmm0
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x38]
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.004032d0
mov ecx, dword [0x448434]
add esp, 4
mov dword [ebp - 0x44], eax
cmp dword [ecx + 0x3f28], eax
jne 0x41d1b5
push ecx
push str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.00421810
mov eax, dword [ebp - 0x44]
add esp, 8
lea edx, [ebp - 0x88]
mov ecx, eax
call fcn.00437ca0
test al, al
je 0x41d225
or byte [ebx + 0xa0], 0x40
xor edx, edx
cmp dword [edi], edx
jle 0x41d225
xor eax, eax
mov dword [ebp - 0x3c], eax
nop dword [eax + eax]
mov ecx, dword [edi + 8]
add ecx, eax
test byte [ecx + 4], 1
jne 0x41d210
mov byte [ecx + 0x28], 1
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx]
mov eax, dword [ebp - 0x3c]
jne 0x41d21a
mov dword [ecx + 0xc], 0xffffffff
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
jmp 0x41d21a
mov ecx, dword [ecx]
cmp dword [edi + 0x1c], ecx
je 0x41d21a
mov dword [edi + 0x18], ecx
inc edx
add eax, 0x2c
mov dword [ebp - 0x3c], eax
cmp edx, dword [edi]
jl 0x41d1e0
cmp byte [ebp - 0xa], 0
jne 0x41d27b
mov ecx, dword [0x448434]
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 [0x448434]
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 - 0x38]
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.004032d0
mov ecx, dword [0x448434]
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ecx + 0x3f28], eax
jne 0x41d2c6
push ecx
push str.TITLEBAR
mov edx, 0xb
mov ecx, eax
call fcn.00421810
mov eax, dword [ebp - 8]
add esp, 8
mov ecx, dword [esi + 0x3f2c]
test ecx, ecx
je 0x41d2e0
cmp ecx, eax
je 0x41d2e0
cmp dword [esi + 0x3f40], eax
jne 0x41d4a1
push 0x1000
lea ecx, [ebp - 0xa]
mov edx, eax
push ecx
push 0
lea ecx, [ebp - 0xa4]
call fcn.004373a0
mov eax, dword [ebp - 8]
add esp, 0xc
mov edx, dword [0x448434]
cmp dword [esi + 0x3f2c], eax
jne 0x41d336
mov dword [esi + 0x3fb0], eax
mov eax, dword [edx + 0x3fb0]
cmp dword [edx + 0x3f2c], eax
jne 0x41d327
mov byte [edx + 0x3f34], 1
cmp dword [edx + 0x3f40], eax
jne 0x41d336
mov byte [edx + 0x3f4d], 1
cmp byte [ebp - 0xa], 0
je 0x41d4a1
movss xmm0, dword [edx + 0x36a8]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x41d35a
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x48], eax
cmp dword [edi + 0x14], 0
je 0x41d4a1
mov esi, dword [edi]
xor ecx, ecx
test esi, esi
jle 0x41d4a1
mov eax, dword [edi + 8]
mov edx, dword [edi + 0x14]
cmp dword [eax], edx
mov edx, dword [0x448434]
je 0x41d38d
inc ecx
add eax, 0x2c
cmp ecx, esi
jl 0x41d373
jmp 0x41d4a1
test eax, eax
je 0x41d4a1
mov esi, dword [eax + 8]
test esi, esi
jne 0x41d39f
mov esi, dword [ebx + 0x70]
mov eax, dword [ebx + 0x74]
xor cl, cl
mov dword [ebp - 8], ecx
test eax, eax
je 0x41d3eb
test byte [eax + 8], 4
jne 0x41d3eb
mov eax, dword [ebx + 0x18]
mov ecx, ebx
test eax, eax
je 0x41d3c9
nop word [eax + eax]
mov ecx, eax
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x41d3c0
cmp dword [ecx + 0x7c], ebx
jne 0x41d3d4
cmp dword [ecx + 0x78], 0
je 0x41d3e8
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 8]
shr eax, 0xa
test al, 1
movzx ecx, cl
cmovne ecx, dword [ebp - 0x40]
jmp 0x41d3eb
mov ecx, dword [ebp - 8]
movss xmm0, dword [edx + 0x36a8]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x41d400
mov ah, 1
jmp 0x41d402
xor ah, ah
cmp byte [edx + 0xd60], 0
jne 0x41d40f
xor al, al
jmp 0x41d439
movss xmm0, dword [edx + 0x30]
movaps xmm1, xmm0
mulss xmm1, dword [0x445558]
comiss xmm2, xmm1
jbe 0x41d427
movaps xmm1, xmm0
movss xmm0, dword [edx + 0x36f8]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test cl, cl
je 0x41d48a
test al, al
je 0x41d4a1
lea eax, [ebp - 0x78]
mov dword [ebp - 0x5c], 0
push eax
lea ecx, [edx + 0x534c]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x64], 0x3f000000
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x78], 2
mov dword [ebp - 0x58], ebx
call fcn.00421c20
jmp 0x41d4a1
test ah, ah
jne 0x41d492
test al, al
je 0x41d4a1
cmp dword [edx + 0x3f14], esi
je 0x41d4a1
mov ecx, esi
call fcn.00405ea0
mov ecx, dword [edi + 0x18]
test ecx, ecx
cmove ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x41d4e8
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x41d4e8
mov esi, dword [edi + 8]
nop dword [eax]
cmp dword [esi], ecx
je 0x41d4ce
inc eax
add esi, 0x2c
cmp eax, edx
jl 0x41d4c0
jmp 0x41d4e8
test esi, esi
je 0x41d4e8
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41d4e8
call fcn.00410600
mov ecx, dword [esi + 8]
xor dl, dl
call fcn.004137c0
call fcn.0043abc0
mov eax, dword [0x448434]
mov eax, dword [eax + 0x3f04]
dec dword [eax + 0xfc]
mov eax, dword [ebx + 0x10]
shr eax, 0xa
test al, 1
jne 0x41d591
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp - 0x15]
mov dword [eax + 0x160], 0
mov byte [eax + 0xc8], cl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e467
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x24], 0
jle 0x41d540
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
jmp 0x41d542
xor eax, eax
mov dl, byte [ebp - 0x15]
mov dword [ebp - 0x40], eax
and dl, 0xfd
mov dword [ebx + 0x74], eax
mov al, cl
add al, al
or dl, al
mov byte [ebx + 0xa0], dl
test cl, cl
je 0x41d56a
mov eax, dword [esi + 0x3ea0]
mov dword [ebx + 0x8c], eax
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x41d591
test cl, cl
jne 0x41d57b
cmp dword [edi + 0x74], 0
jne 0x41d57e
mov dword [edi + 0x74], eax
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x41d591
mov eax, dword [ebx + 0x74]
mov eax, dword [eax + 0x88]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e467
mov esp, ebp
pop ebp
ret