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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x44c040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x38], edx
push esi
mov esi, dword [0x44c640]
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 0x41d7bc
mov byte [ebp - 0xa], 1
cmp ecx, edi
je 0x41d7c0
mov byte [ebp - 0xa], 0
cmp dword [ebx + 0x98], 0
je 0x41d7d4
mov dword [ebp - 0x4c], 1
cmp ecx, edi
je 0x41d7db
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 0x41d813
mov edx, eax
mov dword [ebp - 0x3c], edx
mov eax, dword [edx + 0x18]
test eax, eax
jne 0x41d801
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
mov eax, dword [esi + 0x4270]
mov dword [ebp - 0x40], 1
test eax, eax
je 0x41d82f
cmp dword [eax + 0x388], ebx
sete cl
jmp 0x41d856
mov eax, dword [esi + 0x4120]
test eax, eax
je 0x41d859
mov eax, dword [eax + 0x330]
cmp eax, dword [edx + 0x32c]
jne 0x41d859
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 0x41ea93
mov eax, dword [ebx + 0x10]
shr eax, 0xc
test al, 1
jne 0x41ea93
mov al, byte [edx + 0xc8]
mov byte [ebp - 0x15], al
mov eax, dword [ebx + 0x10]
shr eax, 0xa
test al, 1
jne 0x41d899
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 0x41d8bc
push ecx
push 0
mov edx, 0xd
call fcn.00422d70
add esp, 8
lea eax, [ebp - 8]
push eax
lea ecx, [edi + 0xfc]
call fcn.00422f70
mov eax, dword [ebx + 0x30]
mov edi, eax
mov dword [ebp - 0x8c], eax
test edi, edi
jne 0x41d8e4
mov ecx, ebx
call fcn.0041eb10
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 0x41d9cc
cmp dword [esi + 0x387c], 0xffffffff
je 0x41d9cc
mov eax, dword [0x44c640]
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.00404860
mov edx, dword [0x44c640]
add esp, 4
mov dword [ebp - 8], eax
cmp dword [edx + 0x3f28], eax
jne 0x41d981
push ecx
push str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.00422d70
mov al, byte [ebx + 0xa0]
add esp, 8
mov edx, dword [0x44c640]
mov byte [ebp - 0xb], al
mov eax, dword [edx + 0x40c8]
cmp dword [edx + 0x40bc], eax
jle 0x41d9c7
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 0x41d9c7
mov edx, edi
mov ecx, ebx
call fcn.0041d5b0
test eax, eax
je 0x41d9b6
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 0x41d9d0
mov cl, byte [ebp - 0xb]
jmp 0x41d9d6
mov byte [ebp - 9], 0
mov edx, dword [0x44c640]
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 0x41da8c
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 0x41dac6
cmp dword [edx + 0x387c], 0
jne 0x41daad
addss xmm3, dword [edx + 0x38a8]
addss xmm3, xmm6
movss dword [ebp - 0x2c], xmm3
jmp 0x41dac6
cmp dword [edx + 0x387c], 1
jne 0x41dac6
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 0x41dbd3
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 0x41db46
xor ecx, ecx
cmp dword [edi], ecx
jle 0x41db43
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 [0x44c640]
je 0x41dbba
inc ecx
add eax, 0x2c
cmp ecx, dword [edi]
jl 0x41db21
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 0x41dba6
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.0043ece0
mov edx, dword [0x44c640]
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 0x41db06
mov eax, dword [ebp - 0x30]
test al, al
je 0x41dbe9
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 0x41dbfc
mov eax, 0xc
jmp 0x41dc0e
test al, al
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
setne al
add eax, 0xa
movss xmm0, dword [0x448ce0]
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 0x41dc40
xorps xmm1, xmm1
jmp 0x41dc47
movaps xmm1, xmm0
minss xmm1, xmm4
movss xmm4, dword [0x448d70]
movss xmm5, dword [0x448c9c]
movss xmm6, dword [ebp - 0x28]
comiss xmm2, xmm6
mulss xmm1, xmm4
addss xmm1, xmm5
cvttss2si edx, xmm1
jbe 0x41dc72
xorps xmm1, xmm1
jmp 0x41dc79
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 0x41dc99
xorps xmm1, xmm1
jmp 0x41dca0
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 0x41dcbb
xorps xmm0, xmm0
jmp 0x41dcbf
minss xmm0, xmm3
movss xmm1, dword [ecx + 0x40]
movss xmm2, dword [0x448d0c]
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 0x41dd49
test al, al
je 0x41dd49
mov dword [ebp - 0x34], 0x10
jmp 0x41dd54
mov dword [ebp - 0x34], 0
test dl, dl
je 0x41dd5f
mov dword [ebp - 0x14], 0x20
test dh, dh
jne 0x41dd66
mov dword [ebp - 0x14], 0
test ah, ah
je 0x41dd75
test al, al
je 0x41dd75
mov edx, 0x40
jmp 0x41dd7b
xor edx, edx
test ah, ah
je 0x41dd86
cmp byte [ebp - 0xb], 0
mov eax, 0x180
jne 0x41dd8b
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.0042e290
cmp byte [ebp - 9], 0
je 0x41de9a
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.00404860
mov ecx, dword [0x44c640]
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ecx + 0x3f28], eax
jne 0x41de10
push ecx
push str.COLLAPSE
mov edx, 0xb
mov ecx, eax
call fcn.00422d70
mov eax, dword [ebp - 8]
add esp, 8
push ebx
lea edx, [ebp - 0xac]
mov ecx, eax
call fcn.00439590
add esp, 4
test al, al
je 0x41de7d
mov esi, dword [0x44c640]
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.00404860
add esp, 4
mov dword [ebp - 8], eax
cmp dword [esi + 0x3f28], eax
jne 0x41de73
push ecx
push str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.00422d70
mov eax, dword [ebp - 8]
add esp, 8
mov ecx, eax
call fcn.004133f0
mov esi, dword [ebp - 0x10]
mov eax, dword [0x44c640]
mov ecx, dword [eax + 0x3f40]
test ecx, ecx
je 0x41de9a
cmp ecx, dword [eax + 0x3fb0]
jne 0x41de9a
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 0x41dedf
imul edx, ecx, 0x2c
nop dword [eax]
mov eax, dword [edi + 8]
mov eax, dword [edx + eax + 4]
test eax, 0x400000
je 0x41ded9
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 0x41deb0
jmp 0x41dedc
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov ecx, dword [edi]
cmp ecx, eax
jle 0x41df0c
inc eax
cmp ecx, eax
jle 0x41df0c
mov eax, dword [ebp - 0x14]
sub ecx, eax
cmp ecx, 1
jbe 0x41df0c
imul eax, eax, 0x2c
push 0x41d550
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 0x41df2a
mov eax, dword [eax + 0x324]
cmp dword [eax + 0x388], ebx
jne 0x41df2a
mov eax, dword [eax + 4]
mov dword [edi + 0x14], eax
cmp dword [ebp - 0x8c], 0
jne 0x41df69
cmp dword [ebx + 0x94], 0
je 0x41df69
mov edx, dword [edi]
xor ecx, ecx
test edx, edx
jle 0x41df69
mov eax, dword [edi + 8]
nop word [eax + eax]
mov esi, dword [ebx + 0x94]
cmp dword [eax], esi
mov esi, dword [ebp - 0x10]
je 0x41e563
inc ecx
add eax, 0x2c
cmp ecx, edx
jl 0x41df50
mov eax, dword [edi]
cmp eax, dword [ebp - 0x90]
jle 0x41df89
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 0x41dfa6
cmp byte [ebp - 0x30], 0
mov eax, 0x700003
cmovne ecx, eax
push ebx
push ecx
lea edx, [ebp - 0xbc]
mov ecx, edi
call fcn.0043bdc0
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 0x41e5c0
movss xmm1, dword [0x448c64]
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 0x41e04f
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [eax]
jne 0x41e06b
cmp byte [edx + 0xcd], 0
mov dword [ebp - 0x14], eax
je 0x41e06b
test dword [edx + 8], 0x100000
mov dword [ebp - 0x14], eax
je 0x41e580
mov eax, dword [edx + 0x254]
inc eax
cmp eax, dword [esi + 0x3ea0]
jge 0x41e089
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x44], eax
je 0x41e580
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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 + 0x4490d0]
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.0043d450
mov ecx, dword [ebp - 0x14]
add esp, 0xc
cmp byte [ebp - 9], 0
jne 0x41e505
mov eax, dword [ecx]
mov dword [ebx + 0x98], eax
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx]
jne 0x41e50f
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 0x41e576
cmp dword [eax + 0x324], esi
jne 0x41e576
test byte [esi + 0x164], 2
movss xmm1, dword [0x448c64]
jne 0x41e57e
mov ecx, dword [ebp - 0x38]
mov eax, dword [esi + 0x88]
mov esi, dword [ebp - 0x10]
mov dword [ecx + 0x340], eax
jmp 0x41e580
test eax, eax
je 0x41df69
mov eax, dword [ebx + 0x94]
jmp 0x41df83
movss xmm1, dword [0x448c64]
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 0x41e030
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 0x41e603
cmp byte [ebp - 0x30], 0
mov eax, dword [ebp - 0x3c]
jne 0x41e600
cmp dword [eax + 0x74], 0
jne 0x41e603
mov dword [eax + 0x74], ecx
mov al, byte [ebx + 0xa0]
and al, 8
je 0x41e626
mov ecx, dword [ebx + 0x74]
test ecx, ecx
je 0x41e626
cmp byte [ecx + 0xcd], 0
je 0x41e626
mov byte [ebp - 0xa], 1
jmp 0x41e6ca
test al, al
je 0x41e7db
mov ecx, dword [0x44c640]
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.00422f70
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 [0x448c94]
mov esi, dword [0x44c640]
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.00423630
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.00404860
mov ecx, dword [0x44c640]
add esp, 4
mov dword [ebp - 0x44], eax
cmp dword [ecx + 0x3f28], eax
jne 0x41e715
push ecx
push str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.00422d70
mov eax, dword [ebp - 0x44]
add esp, 8
lea edx, [ebp - 0x88]
mov ecx, eax
call fcn.00439240
test al, al
je 0x41e785
or byte [ebx + 0xa0], 0x40
xor edx, edx
cmp dword [edi], edx
jle 0x41e785
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 0x41e770
mov byte [ecx + 0x28], 1
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx]
mov eax, dword [ebp - 0x3c]
jne 0x41e77a
mov dword [ecx + 0xc], 0xffffffff
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
jmp 0x41e77a
mov ecx, dword [ecx]
cmp dword [edi + 0x1c], ecx
je 0x41e77a
mov dword [edi + 0x18], ecx
inc edx
add eax, 0x2c
mov dword [ebp - 0x3c], eax
cmp edx, dword [edi]
jl 0x41e740
cmp byte [ebp - 0xa], 0
jne 0x41e7db
mov ecx, dword [0x44c640]
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 [0x44c640]
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.00404860
mov ecx, dword [0x44c640]
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ecx + 0x3f28], eax
jne 0x41e826
push ecx
push str.TITLEBAR
mov edx, 0xb
mov ecx, eax
call fcn.00422d70
mov eax, dword [ebp - 8]
add esp, 8
mov ecx, dword [esi + 0x3f2c]
test ecx, ecx
je 0x41e840
cmp ecx, eax
je 0x41e840
cmp dword [esi + 0x3f40], eax
jne 0x41ea01
push 0x1000
lea ecx, [ebp - 0xa]
mov edx, eax
push ecx
push 0
lea ecx, [ebp - 0xa4]
call fcn.00438940
mov eax, dword [ebp - 8]
add esp, 0xc
mov edx, dword [0x44c640]
cmp dword [esi + 0x3f2c], eax
jne 0x41e896
mov dword [esi + 0x3fb0], eax
mov eax, dword [edx + 0x3fb0]
cmp dword [edx + 0x3f2c], eax
jne 0x41e887
mov byte [edx + 0x3f34], 1
cmp dword [edx + 0x3f40], eax
jne 0x41e896
mov byte [edx + 0x3f4d], 1
cmp byte [ebp - 0xa], 0
je 0x41ea01
movss xmm0, dword [edx + 0x36a8]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x41e8ba
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x48], eax
cmp dword [edi + 0x14], 0
je 0x41ea01
mov esi, dword [edi]
xor ecx, ecx
test esi, esi
jle 0x41ea01
mov eax, dword [edi + 8]
mov edx, dword [edi + 0x14]
cmp dword [eax], edx
mov edx, dword [0x44c640]
je 0x41e8ed
inc ecx
add eax, 0x2c
cmp ecx, esi
jl 0x41e8d3
jmp 0x41ea01
test eax, eax
je 0x41ea01
mov esi, dword [eax + 8]
test esi, esi
jne 0x41e8ff
mov esi, dword [ebx + 0x70]
mov eax, dword [ebx + 0x74]
xor cl, cl
mov dword [ebp - 8], ecx
test eax, eax
je 0x41e94b
test byte [eax + 8], 4
jne 0x41e94b
mov eax, dword [ebx + 0x18]
mov ecx, ebx
test eax, eax
je 0x41e929
nop word [eax + eax]
mov ecx, eax
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x41e920
cmp dword [ecx + 0x7c], ebx
jne 0x41e934
cmp dword [ecx + 0x78], 0
je 0x41e948
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 0x41e94b
mov ecx, dword [ebp - 8]
movss xmm0, dword [edx + 0x36a8]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x41e960
mov ah, 1
jmp 0x41e962
xor ah, ah
cmp byte [edx + 0xd60], 0
jne 0x41e96f
xor al, al
jmp 0x41e999
movss xmm0, dword [edx + 0x30]
movaps xmm1, xmm0
mulss xmm1, dword [0x448d08]
comiss xmm2, xmm1
jbe 0x41e987
movaps xmm1, xmm0
movss xmm0, dword [edx + 0x36f8]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test cl, cl
je 0x41e9ea
test al, al
je 0x41ea01
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.00423180
jmp 0x41ea01
test ah, ah
jne 0x41e9f2
test al, al
je 0x41ea01
cmp dword [edx + 0x3f14], esi
je 0x41ea01
mov ecx, esi
call fcn.00407430
mov ecx, dword [edi + 0x18]
test ecx, ecx
cmove ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x41ea48
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x41ea48
mov esi, dword [edi + 8]
nop dword [eax]
cmp dword [esi], ecx
je 0x41ea2e
inc eax
add esi, 0x2c
cmp eax, edx
jl 0x41ea20
jmp 0x41ea48
test esi, esi
je 0x41ea48
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41ea48
call fcn.00411b80
mov ecx, dword [esi + 8]
xor dl, dl
call fcn.00414d40
call fcn.0043c160
mov eax, dword [0x44c640]
mov eax, dword [eax + 0x3f04]
dec dword [eax + 0xfc]
mov eax, dword [ebx + 0x10]
shr eax, 0xa
test al, 1
jne 0x41eaf1
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.004411d1
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x24], 0
jle 0x41eaa0
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
jmp 0x41eaa2
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 0x41eaca
mov eax, dword [esi + 0x3ea0]
mov dword [ebx + 0x8c], eax
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x41eaf1
test cl, cl
jne 0x41eadb
cmp dword [edi + 0x74], 0
jne 0x41eade
mov dword [edi + 0x74], eax
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x41eaf1
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.004411d1
mov esp, ebp
pop ebp
ret