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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
mov eax, dword [0x4ef400]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
mov esi, ecx
mov dword [esp + 0x48], edx
mov ecx, dword [0x4f0690]
push edi
mov dword [esp + 0x50], esi
mov edi, dword [esi + 0x84]
mov eax, dword [ecx + 0x1be8]
inc edi
mov dword [esp + 0x2c], eax
mov al, byte [esi + 0x9c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x5c], edi
test al, 0x20
je 0x41d93a
mov byte [esp + 0x17], 1
cmp edi, dword [esp + 0x2c]
je 0x41d93f
mov byte [esp + 0x17], 0
cmp dword [esi + 0x94], 0
je 0x41d956
mov dword [esp + 0x54], 1
cmp edi, dword [esp + 0x2c]
je 0x41d95e
mov dword [esp + 0x54], 0
and al, 0xdf
mov dword [esi + 0x94], 0
mov byte [esp + 0x1f], al
mov edi, esi
mov byte [esi + 0x9c], al
mov eax, dword [esi + 0x18]
mov byte [esp + 0x20], 0
mov dword [esp + 0x60], edi
test eax, eax
je 0x41d99b
mov edx, eax
mov dword [esp + 0x60], edx
mov eax, dword [edx + 0x18]
test eax, eax
jne 0x41d986
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x60]
mov eax, dword [ecx + 0x1fac]
mov dword [esp + 0x58], 1
test eax, eax
je 0x41d9ba
cmp dword [eax + 0x374], esi
sete byte [esp + 0x20]
jmp 0x41d9f4
mov eax, dword [ecx + 0x1e5c]
test eax, eax
je 0x41d9f4
mov eax, dword [eax + 0x31c]
cmp eax, dword [edx + 0x318]
jne 0x41d9f4
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x8c]
cmp eax, dword [esi]
movzx ecx, cl
mov eax, ecx
mov dword [esp + 0x20], ecx
cmove eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x10]
shr eax, 0xd
test al, 1
jne 0x41eb48
mov eax, dword [esi + 0x10]
shr eax, 0xc
test al, 1
jne 0x41eb48
mov al, byte [edx + 0xc4]
mov byte [esp + 0x1f], al
mov eax, dword [esi + 0x10]
shr eax, 0xa
test al, 1
jne 0x41da35
mov byte [edx + 0xc4], 0
mov dword [edx + 0x150], 1
mov eax, dword [esi]
mov edi, dword [ecx + 0x1c4c]
mov dword [esp + 0xc0], eax
cmp dword [ecx + 0x1c70], eax
jne 0x41da5e
push ecx
push 0
mov edx, 0xd
mov ecx, eax
call fcn.00422df0
add esp, 8
lea eax, [esp + 0xc0]
push eax
lea ecx, [edi + 0xf8]
call fcn.00422fc0
mov eax, dword [esi + 0x30]
mov edi, eax
mov dword [esp + 0x24], eax
test edi, edi
jne 0x41da88
mov ecx, esi
call fcn.0041ebc0
mov edi, dword [esi + 0x30]
mov cl, byte [esi + 0x9c]
mov al, byte [esp + 0x20]
and cl, 0xfd
add al, al
mov dword [esp + 0x64], 0
or cl, al
test dword [esi + 0x10], 0x4000
mov byte [esi + 0x9c], cl
jne 0x41daf2
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x15c8], 0xffffffff
je 0x41daf2
mov byte [esp + 0xbf], 1
call fcn.00413490
test al, al
je 0x41dafa
mov edx, edi
mov ecx, esi
call fcn.0041d730
test eax, eax
je 0x41dae2
mov dword [edi + 0x18], eax
mov dword [esp + 0x64], eax
mov al, byte [esi + 0x9c]
shr al, 1
and al, 1
or byte [esp + 0x20], al
jmp 0x41dafa
mov byte [esp + 0xbf], 0
lea eax, [esp + 0x6c]
mov dword [esp + 0x34], 0
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0
push eax
xorps xmm0, xmm0
mov dword [esp + 0x78], 0
lea eax, [esp + 0xcc]
mov dword [esp + 0x74], 0
push eax
lea edx, [esp + 0xf4]
mov ecx, esi
movups xmmword [esp + 0xf4], xmm0
movups xmmword [esp + 0xd0], xmm0
call fcn.0041ede0
mov eax, dword [edi]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x24], ecx
jle 0x41dc52
nop word [eax + eax]
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0xc0], eax
mov edx, dword [eax + 4]
test edx, edx
je 0x41dba0
xor ecx, ecx
cmp dword [edi], ecx
jle 0x41dba0
mov eax, dword [edi + 8]
nop dword [eax]
cmp dword [eax], edx
je 0x41dc40
inc ecx
add eax, 0x2c
cmp ecx, dword [edi]
jl 0x41db90
mov ecx, dword [esp + 0xc0]
or eax, 0xffffffff
mov word [esp + 0x9a], ax
xorps xmm0, xmm0
mov word [esp + 0x98], ax
mov eax, 0x500000
mov dword [esp + 0x74], edx
mov edx, 0x400000
cmp byte [ecx + 0xc8], 0
movlpd qword [esp + 0x88], xmm0
cmovne eax, edx
mov dword [esp + 0x90], 0
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x9c], 0
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x80], eax
cmp eax, 0xffffffff
jne 0x41dc30
mov eax, dword [0x4f0690]
mov eax, dword [eax + 0x1be8]
dec eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x7c], ecx
push eax
mov ecx, edi
call fcn.00445910
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, dword [esi + 0x24]
jl 0x41db70
mov eax, dword [esp + 0x20]
test al, al
je 0x41dc6e
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x1be8]
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
cmp byte [ecx + 0xc2], 0
je 0x41dc82
mov edx, 0xc
jmp 0x41dc8c
xor edx, edx
test al, al
setne dl
add edx, 0xa
mov eax, dword [0x4f0690]
add edx, edx
movss xmm1, dword [0x4e6934]
xorps xmm2, xmm2
movups xmm4, xmmword [eax + edx*8 + 0x1668]
comiss xmm2, xmm4
movaps xmm3, xmm4
movaps xmmword [esp + 0xa0], xmm4
shufps xmm3, xmm4, 0xff
mulss xmm3, dword [eax + 0x15a0]
jbe 0x41dcc7
xorps xmm0, xmm0
jmp 0x41dcce
movaps xmm0, xmm1
minss xmm0, xmm4
movss xmm4, dword [0x4e6a50]
movss xmm5, dword [0x4e68f0]
movss xmm6, dword [esp + 0xa4]
comiss xmm2, xmm6
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si edx, xmm0
jbe 0x41dcfd
xorps xmm0, xmm0
jmp 0x41dd04
movaps xmm0, xmm1
minss xmm0, xmm6
movss xmm6, dword [esp + 0xa8]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm2, xmm6
jbe 0x41dd28
xorps xmm0, xmm0
jmp 0x41dd2f
movaps xmm0, xmm1
minss xmm0, xmm6
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm2, xmm3
jbe 0x41dd4a
xorps xmm1, xmm1
jmp 0x41dd4e
minss xmm1, xmm3
movss xmm0, dword [ecx + 0x78]
mulss xmm1, xmm4
push 0x30
push ecx
mov ecx, dword [ecx + 0x278]
addss xmm1, xmm5
movss dword [esp], xmm0
cvttss2si eax, xmm1
shl eax, 0x18
or eax, edx
push eax
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.0042eb30
cmp byte [esp + 0xbf], 0
je 0x41de3d
mov eax, dword [esp + 0x4c]
xor edx, edx
mov ecx, dword [eax + 0xf8]
mov eax, dword [eax + 0x100]
push dword [eax + ecx*4 - 4]
mov ecx, str.COLLAPSE
call fcn.00403960
mov ecx, dword [0x4f0690]
add esp, 4
mov dword [esp + 0xc0], eax
cmp dword [ecx + 0x1c88], eax
jne 0x41ddd4
mov dword [ecx + 0x1c8c], eax
cmp dword [ecx + 0x1cc4], eax
jne 0x41dde3
mov byte [ecx + 0x1cc8], 1
cmp dword [ecx + 0x1c70], eax
jne 0x41de07
push ecx
push str.COLLAPSE
mov edx, 0xb
mov ecx, eax
call fcn.00422df0
mov eax, dword [esp + 0xc8]
add esp, 8
push esi
lea edx, [esp + 0x34]
mov ecx, eax
call fcn.00439fa0
add esp, 4
test al, al
je 0x41de1f
call fcn.00413510
mov eax, dword [0x4f0690]
mov ecx, dword [eax + 0x1c88]
test ecx, ecx
je 0x41de3d
cmp ecx, dword [eax + 0x1cf0]
jne 0x41de3d
mov eax, dword [edi + 0x14]
mov dword [esp + 0x64], eax
mov eax, dword [edi]
mov dword [esp + 0x28], eax
lea ecx, [eax - 1]
test ecx, ecx
js 0x41de82
imul edx, ecx, 0x2c
nop dword [eax]
mov eax, dword [edi + 8]
mov eax, dword [edx + eax + 4]
test eax, 0x400000
je 0x41de7a
mov esi, dword [edi + 8]
and eax, 0xffbfffff
mov dword [edx + esi + 4], eax
mov eax, ecx
sub edx, 0x2c
mov dword [esp + 0x28], eax
sub ecx, 1
jns 0x41de50
jmp 0x41de7e
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x50]
mov ecx, dword [edi]
cmp ecx, eax
jle 0x41deab
inc eax
cmp ecx, eax
jle 0x41deab
imul eax, dword [esp + 0x28], 0x2c
sub ecx, dword [esp + 0x28]
push 0x41d6d0
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 [esp + 0x18]
mov eax, dword [eax + 0x1e5c]
test eax, eax
je 0x41decd
mov eax, dword [eax + 0x310]
cmp dword [eax + 0x374], esi
jne 0x41decd
mov eax, dword [eax + 4]
mov dword [edi + 0x14], eax
cmp dword [esp + 0x24], 0
jne 0x41def7
mov edx, dword [esi + 0x90]
test edx, edx
je 0x41def7
xor ecx, ecx
cmp dword [edi], ecx
jle 0x41def7
mov eax, dword [edi + 8]
cmp dword [eax], edx
je 0x41e50e
inc ecx
add eax, 0x2c
cmp ecx, dword [edi]
jl 0x41dee7
mov eax, dword [edi]
cmp eax, dword [esp + 0x68]
jle 0x41df12
imul ecx, eax, 0x2c
mov eax, dword [edi + 8]
mov eax, dword [ecx + eax - 0x24]
mov eax, dword [eax + 4]
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x4c]
mov ecx, 0x500003
cmp byte [eax + 0xc2], 0
jne 0x41df31
cmp byte [esp + 0x20], 0
mov eax, 0x700003
cmovne ecx, eax
push esi
push ecx
lea edx, [esp + 0xcc]
mov ecx, edi
call fcn.004427f0
add esp, 8
lea eax, [esp + 0x100]
mov ecx, 6
mov dword [eax + 4], 0
lea eax, [eax + 0x10]
mov dword [eax - 0x10], 0
mov dword [eax - 0x14], 0
mov dword [eax - 0x18], 0
sub ecx, 1
jne 0x41df50
mov ecx, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0xc0], edx
movups xmm1, xmmword [ecx + 0x1668]
movups xmmword [esp + 0xf8], xmm1
movups xmm0, xmmword [ecx + 0x1878]
movups xmmword [esp + 0x108], xmm0
movups xmm0, xmmword [ecx + 0x1888]
movups xmmword [esp + 0x118], xmm0
movups xmm0, xmmword [ecx + 0x1898]
movups xmmword [esp + 0x128], xmm0
movups xmm0, xmmword [ecx + 0x18a8]
movups xmmword [esp + 0x138], xmm0
movups xmm0, xmmword [ecx + 0x18b8]
mov dword [esi + 0x70], 0
movups xmmword [esp + 0x148], xmm0
cmp dword [esi + 0x24], edx
jle 0x41e5ae
movss xmm1, dword [0x4e68b8]
cmp byte [esp + 0x17], 0
mov eax, dword [esi + 0x2c]
mov edx, dword [eax + edx*4]
mov dword [esp + 0x24], edx
lea eax, [edx + 4]
mov dword [esp + 0x28], eax
jne 0x41e017
mov ecx, dword [esp + 0x54]
cmp ecx, dword [eax]
mov ecx, dword [esp + 0x18]
jne 0x41e035
cmp byte [edx + 0xc8], 0
mov dword [esp + 0x28], eax
je 0x41e035
test dword [edx + 8], 0x100000
mov dword [esp + 0x28], eax
je 0x41e58e
mov eax, dword [edx + 0x244]
inc eax
cmp eax, dword [ecx + 0x1be8]
jge 0x41e052
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x5c], eax
je 0x41e58e
mov ecx, dword [esp + 0x24]
mov esi, dword [edx + 0x20]
or esi, 1
test dword [edx + 8], 0x100000
mov ecx, dword [ecx + 0x35c]
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 + 0x4e70d0]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x30], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e70d0]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e70d0]
mov eax, dword [esp + 0x18]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x38], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4e70d0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [eax + 0x1668], xmm0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x360]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e70d0]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x30], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e70d0]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e70d0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x38], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4e70d0]
cvtpd2ps xmm0, xmm0
mov eax, dword [esp + 0x18]
mulss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [eax + 0x1878], xmm0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x364]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e70d0]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x30], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e70d0]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e70d0]
mov eax, dword [esp + 0x18]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x38], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4e70d0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [eax + 0x1888], xmm0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x368]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e70d0]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x30], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e70d0]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e70d0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x38], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4e70d0]
mov eax, dword [esp + 0x18]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [eax + 0x1898], xmm0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x36c]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e70d0]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x30], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e70d0]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e70d0]
mov eax, dword [esp + 0x18]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x38], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4e70d0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [eax + 0x18a8], xmm0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x370]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e70d0]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x30], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e70d0]
mov eax, ecx
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
shr ecx, 0x18
addsd xmm0, qword [eax*8 + 0x4e70d0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x38], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mov eax, dword [esp + 0x18]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4e70d0]
mov ecx, dword [esp + 0x24]
push ecx
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x40], xmm0
movups xmm0, xmmword [esp + 0x34]
movups xmmword [eax + 0x18b8], xmm0
mov eax, esi
mov byte [esp + 0xc3], 1
or eax, 4
test dl, 8
cmove eax, esi
xor edx, edx
cmp byte [ecx + 0xc8], dl
push eax
lea eax, [esp + 0xc7]
cmove eax, edx
mov edx, dword [ecx]
push eax
mov ecx, edi
call fcn.00443fa0
mov edx, dword [esp + 0x30]
add esp, 0xc
cmp byte [esp + 0xbf], 0
mov esi, dword [esp + 0x50]
jne 0x41e521
mov eax, dword [edx + 4]
lea ecx, [edx + 4]
mov dword [esi + 0x94], eax
jmp 0x41e525
test eax, eax
je 0x41def7
mov dword [edi + 0x18], edx
mov dword [edi + 0x14], edx
jmp 0x41df12
mov ecx, dword [esp + 0x28]
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx]
jne 0x41e52f
mov dword [esi + 0x70], edx
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x1cf8]
mov dword [edx + 0x380], eax
mov eax, dword [esp + 0x18]
movups xmm0, xmmword [eax + 0x1cfc]
movups xmmword [edx + 0x384], xmm0
mov eax, dword [eax + 0x1e5c]
test eax, eax
je 0x41e582
cmp dword [eax + 0x310], edx
jne 0x41e582
test byte [edx + 0x154], 2
movss xmm1, dword [0x4e68b8]
jne 0x41e58a
mov eax, dword [ecx]
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x32c], eax
jmp 0x41e58a
movss xmm1, dword [0x4e68b8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc0]
inc edx
mov dword [esp + 0xc0], edx
cmp edx, dword [esi + 0x24]
jl 0x41dff3
movups xmm1, xmmword [esp + 0xf8]
movups xmmword [ecx + 0x1668], xmm1
movups xmm0, xmmword [esp + 0x108]
movups xmmword [ecx + 0x1878], xmm0
movups xmm0, xmmword [esp + 0x118]
movups xmmword [ecx + 0x1888], xmm0
movups xmm0, xmmword [esp + 0x128]
movups xmmword [ecx + 0x1898], xmm0
movups xmm0, xmmword [esp + 0x138]
movups xmmword [ecx + 0x18a8], xmm0
movups xmm0, xmmword [esp + 0x148]
movups xmmword [ecx + 0x18b8], xmm0
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x41e61b
cmp byte [esp + 0x20], 0
mov eax, dword [esp + 0x60]
jne 0x41e618
cmp dword [eax + 0x70], 0
jne 0x41e61b
mov dword [eax + 0x70], ecx
mov al, byte [esi + 0x9c]
and al, 4
je 0x41e63f
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x41e63f
cmp byte [ecx + 0xc8], 0
je 0x41e63f
mov byte [esp + 0x17], 1
jmp 0x41e6fc
test al, al
je 0x41e82e
mov ecx, dword [0x4f0690]
mov eax, dword [ecx + 0x1cd8]
or eax, 4
mov dword [ecx + 0x1cd8], eax
add ecx, 0x1de4
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push eax
call fcn.00422fc0
mov eax, dword [esp + 0x18]
mov esi, dword [0x4f0690]
mov dword [esp + 0xc4], 0
movss xmm0, dword [eax + 0x1668]
movss dword [esp + 0x30], xmm0
lea ecx, [esi + 0x1db4]
movss xmm0, dword [eax + 0x166c]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 0x1670]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax + 0x1674]
lea eax, [esp + 0xc4]
mulss xmm0, dword [0x4e68e8]
push eax
movss dword [esp + 0x40], xmm0
movups xmm0, xmmword [esi + 0x1668]
movups xmmword [esp + 0xcc], xmm0
call fcn.004238f0
movups xmm0, xmmword [esp + 0x30]
mov byte [esp + 0x17], 0
movups xmmword [esi + 0x1668], xmm0
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
xor edx, edx
mov ecx, dword [eax + 0xf8]
mov eax, dword [eax + 0x100]
push dword [eax + ecx*4 - 4]
mov ecx, str.CLOSE
call fcn.00403960
mov ecx, dword [0x4f0690]
add esp, 4
mov dword [esp + 0x5c], eax
cmp dword [ecx + 0x1c88], eax
jne 0x41e737
mov dword [ecx + 0x1c8c], eax
cmp dword [ecx + 0x1cc4], eax
jne 0x41e746
mov byte [ecx + 0x1cc8], 1
cmp dword [ecx + 0x1c70], eax
jne 0x41e767
push ecx
push str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.00422df0
mov eax, dword [esp + 0x64]
add esp, 8
lea edx, [esp + 0x6c]
mov ecx, eax
call fcn.00439c20
test al, al
je 0x41e7d7
or byte [esi + 0x9c], 0x20
xor edx, edx
cmp dword [edi], edx
jle 0x41e7d7
xor eax, eax
mov dword [esp + 0x2c], eax
nop dword [eax]
mov ecx, dword [edi + 8]
add ecx, eax
test byte [ecx + 4], 1
jne 0x41e7c1
mov byte [ecx + 0x28], 1
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx]
mov eax, dword [esp + 0x2c]
jne 0x41e7cb
mov dword [ecx + 0xc], 0xffffffff
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
jmp 0x41e7cb
mov ecx, dword [ecx]
cmp dword [edi + 0x1c], ecx
je 0x41e7cb
mov dword [edi + 0x18], ecx
inc edx
add eax, 0x2c
mov dword [esp + 0x2c], eax
cmp edx, dword [edi]
jl 0x41e790
cmp byte [esp + 0x17], 0
jne 0x41e82e
mov ecx, dword [0x4f0690]
mov eax, dword [ecx + 0x1db4]
mov ecx, dword [ecx + 0x1dbc]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
mov edx, dword [0x4f0690]
add eax, eax
movups xmmword [edx + eax*8 + 0x1668], xmm0
dec dword [edx + 0x1db4]
dec dword [edx + 0x1de4]
mov eax, dword [edx + 0x1dec]
mov ecx, dword [edx + 0x1de4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1cd8], eax
mov eax, dword [esp + 0x4c]
xor edx, edx
mov ecx, dword [eax + 0xf8]
mov eax, dword [eax + 0x100]
push dword [eax + ecx*4 - 4]
mov ecx, str.TITLEBAR
call fcn.00403960
mov ecx, dword [0x4f0690]
mov edx, eax
add esp, 4
mov dword [esp + 0x2c], edx
cmp dword [ecx + 0x1c88], edx
jne 0x41e86b
mov dword [ecx + 0x1c8c], edx
cmp dword [ecx + 0x1cc4], edx
jne 0x41e87a
mov byte [ecx + 0x1cc8], 1
cmp dword [ecx + 0x1c70], edx
jne 0x41e89d
push ecx
mov ecx, dword [esp + 0x30]
mov edx, 0xb
push str.TITLEBAR
call fcn.00422df0
mov edx, dword [esp + 0x34]
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x1c74]
test ecx, ecx
je 0x41e8bb
cmp ecx, edx
je 0x41e8bb
cmp dword [eax + 0x1c88], edx
jne 0x41eab6
push 0x1000
lea eax, [esp + 0x1b]
push eax
push 0
lea ecx, [esp + 0xf4]
call fcn.00438dc0
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov edx, dword [0x4f0690]
cmp dword [eax + 0x1c74], ecx
jne 0x41e916
mov dword [eax + 0x1cf0], ecx
mov eax, dword [edx + 0x1cf0]
cmp dword [edx + 0x1c74], eax
jne 0x41e907
mov byte [edx + 0x1c7c], 1
cmp dword [edx + 0x1c88], eax
jne 0x41e916
mov byte [edx + 0x1c95], 1
cmp byte [esp + 0x17], 0
je 0x41eab6
movss xmm0, dword [edx + 0x410]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x41e93c
mov eax, dword [edi + 0x14]
mov dword [esp + 0x64], eax
cmp dword [edi + 0x14], 0
je 0x41eab6
xor ecx, ecx
cmp dword [edi], ecx
jle 0x41eab6
mov eax, dword [edi + 8]
mov esi, dword [edi + 0x14]
cmp dword [eax], esi
mov esi, dword [esp + 0x50]
je 0x41e96b
inc ecx
add eax, 0x2c
cmp ecx, dword [edi]
jl 0x41e953
jmp 0x41eab6
test eax, eax
je 0x41eab6
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
test eax, eax
jne 0x41e985
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x70]
xor cl, cl
mov dword [esp + 0xc0], ecx
test eax, eax
je 0x41e9d8
test byte [eax + 8], 4
jne 0x41e9d8
mov eax, dword [esi + 0x18]
mov ecx, esi
test eax, eax
je 0x41e9ad
mov ecx, eax
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x41e9a4
cmp dword [ecx + 0x78], esi
jne 0x41e9b8
cmp dword [ecx + 0x74], 0
je 0x41e9d1
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc0]
shr eax, 0xa
test al, 1
movzx ecx, cl
cmovne ecx, dword [esp + 0x58]
jmp 0x41e9d8
mov ecx, dword [esp + 0xc0]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x41e9e5
mov ah, 1
jmp 0x41e9e7
xor ah, ah
cmp byte [edx + 0xec], 0
jne 0x41e9f4
xor al, al
jmp 0x41ea1e
movss xmm0, dword [edx + 0x30]
movaps xmm1, xmm0
mulss xmm1, dword [0x4e6958]
comiss xmm2, xmm1
jbe 0x41ea0c
movaps xmm1, xmm0
movss xmm0, dword [edx + 0x460]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test cl, cl
je 0x41ea9b
test al, al
je 0x41eab6
lea eax, [esp + 0xc4]
mov dword [esp + 0xe0], 0
push eax
lea ecx, [edx + 0x3080]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd8], 0xffffffff
mov dword [esp + 0xdc], 0x3f000000
mov byte [esp + 0xe0], 0
mov dword [esp + 0xc8], 2
mov dword [esp + 0xe8], esi
call fcn.00423290
jmp 0x41eab6
test ah, ah
jne 0x41eaa3
test al, al
je 0x41eab6
mov eax, dword [esp + 0x54]
cmp dword [edx + 0x1c5c], eax
je 0x41eab6
mov ecx, eax
call fcn.00407170
mov ecx, dword [edi + 0x18]
test ecx, ecx
cmove ecx, dword [esp + 0x64]
test ecx, ecx
je 0x41eaf8
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x41eaf8
mov edi, dword [edi + 8]
nop
cmp dword [edi], ecx
je 0x41eade
inc eax
add edi, 0x2c
cmp eax, edx
jl 0x41ead0
jmp 0x41eaf8
test edi, edi
je 0x41eaf8
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x41eaf8
call fcn.00411bf0
mov ecx, dword [edi + 8]
xor dl, dl
call fcn.00414f60
call fcn.00442b90
mov eax, dword [0x4f0690]
mov eax, dword [eax + 0x1c4c]
dec dword [eax + 0xf8]
mov eax, dword [esi + 0x10]
shr eax, 0xa
test al, 1
jne 0x41ebaa
mov eax, dword [esp + 0x4c]
mov cl, byte [esp + 0x1f]
mov dword [eax + 0x150], 0
mov byte [eax + 0xc4], cl
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.004ca5c5
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x24], 0
jle 0x41eb55
mov eax, dword [esi + 0x2c]
mov eax, dword [eax]
jmp 0x41eb57
xor eax, eax
mov edx, dword [esp + 0x20]
mov dword [esp + 0x58], eax
mov dword [esi + 0x70], eax
mov al, dl
mov ah, byte [esp + 0x1f]
add al, al
and ah, 0xfd
or ah, al
mov byte [esi + 0x9c], ah
test dl, dl
je 0x41eb85
mov eax, dword [ecx + 0x1be8]
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x41ebaa
test dl, dl
jne 0x41eb97
cmp dword [edi + 0x70], 0
jne 0x41eb9a
mov dword [edi + 0x70], eax
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x41ebaa
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 4]
mov dword [ecx + 0x1c], eax
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
xor ecx, esp
call fcn.004ca5c5
mov esp, ebp
pop ebp
ret