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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x509040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x10]
push esi
mov esi, ecx
mov dword [ebp - 0x34], edx
mov ecx, dword [ebx + 8]
push edi
mov dword [ebp - 0x5c], ecx
cmp byte [esi + 0x67], 0
mov dword [ebp - 0x28], eax
je 0x440279
mov ecx, esi
call fcn.0043ec30
mov eax, dword [ebp - 0x28]
mov edi, dword [0x5887f0]
mov ecx, dword [edi + 0x1c48]
mov dword [ebp - 0x48], ecx
cmp byte [ecx + 0xc8], 0
jne 0x440380
xor edx, edx
test eax, eax
je 0x44029e
push edx
jmp 0x4402b0
mov eax, ecx
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x34]
call fcn.004039d0
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0x1c84], eax
jne 0x4402cc
mov dword [edi + 0x1c88], eax
cmp dword [edi + 0x1cbc], eax
jne 0x4402db
mov byte [edi + 0x1cc0], 1
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x440395
cmp byte [ecx], 0
jne 0x440395
mov eax, dword [edi + 0x1c6c]
or eax, 0x18
mov dword [edi + 0x1c6c], eax
add edi, 0x1da0
mov dword [ebp - 0x40], eax
mov esi, dword [edi + 4]
mov ecx, dword [edi]
cmp ecx, esi
jne 0x440332
inc ecx
test esi, esi
je 0x440320
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x440325
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00421330
mov ecx, dword [edi]
xorps xmm0, xmm0
mov eax, dword [edi + 8]
mov edx, dword [ebp - 0x40]
push 0
push 0
mov dword [eax + ecx*4], edx
lea ecx, [ebp - 0xcc]
mov edx, dword [ebp - 0x1c]
inc dword [edi]
movups xmmword [ebp - 0xcc], xmm0
call fcn.004111e0
mov edx, dword [0x5887f0]
add esp, 8
dec dword [edx + 0x1da0]
mov eax, dword [edx + 0x1da8]
mov ecx, dword [edx + 0x1da0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1c6c], eax
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004870f9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebx + 0xc]
test eax, 0x100000
je 0x4403a6
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
jmp 0x4403b2
test ecx, ecx
jne 0x4403b4
or eax, 0x100000
mov dword [ebx + 0xc], eax
test ecx, ecx
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x70]
setne al
movzx eax, al
push eax
call fcn.00441130
mov ecx, dword [ebp - 0x1c]
add esp, 4
test ecx, ecx
je 0x4403ef
xor edx, edx
cmp dword [esi], edx
jle 0x4403ef
mov eax, dword [esi + 8]
mov dword [ebp - 0x24], eax
nop dword [eax]
cmp dword [eax], ecx
je 0x4403f4
inc edx
add eax, 0x28
mov dword [ebp - 0x24], eax
cmp edx, dword [esi]
jl 0x4403e0
xor eax, eax
mov dword [ebp - 0x24], eax
or ecx, 0xffffffff
mov byte [ebp - 0x15], 0
test eax, eax
jne 0x4404c0
mov eax, dword [esi + 4]
xorps xmm0, xmm0
movq qword [ebp - 0x90], xmm0
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0xa4], ecx
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0xa0], ecx
mov word [ebp - 0x8c], cx
mov word [ebp - 0x8e], cx
mov word [ebp - 0x90], cx
mov ecx, dword [esi]
cmp ecx, eax
jne 0x440467
inc ecx
test eax, eax
je 0x440455
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x44045a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00431de0
mov eax, dword [esi]
movups xmm0, xmmword [ebp - 0xb0]
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 0x15], 1
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*8], xmm0
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [ebp - 0x90]
movq qword [eax + ecx*8 + 0x20], xmm0
inc dword [esi]
mov eax, dword [esi]
movss xmm0, dword [ebp - 0x70]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
lea eax, [eax + ecx*8]
add eax, 0xffffffd8
mov dword [ebp - 0x24], eax
mov dword [eax], edx
movss dword [eax + 0x18], xmm0
mov byte [esi + 0x69], 1
jmp 0x4404c5
movss xmm0, dword [ebp - 0x70]
mov ecx, eax
mov dword [ebp - 0x3c], 1
sub ecx, dword [esi + 8]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x24]
mov word [esi + 0x6c], ax
movss dword [edx + 0x1c], xmm0
movzx ecx, word [esi + 0x6a]
lea eax, [ecx + 1]
mov word [esi + 0x6a], ax
mov word [edx + 0x22], cx
mov eax, dword [edi + 0x1be0]
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x50], eax
inc ecx
mov eax, dword [esi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x68], eax
mov eax, dword [edx + 0xc]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x50]
mov dword [edx + 0xc], eax
mov eax, dword [ebx + 0xc]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [edx + 8], eax
test eax, eax
je 0x440552
or eax, 0xffffffff
mov word [edx + 0x20], ax
jmp 0x44064b
mov ecx, dword [esi + 0x84]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov word [edx + 0x20], cx
mov ecx, dword [ebp - 0x34]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440570
mov eax, dword [ebp - 0x34]
sub ecx, edx
inc ecx
add ecx, eax
je 0x440585
sub ecx, eax
jmp 0x440599
mov ecx, eax
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440590
sub ecx, edx
mov eax, dword [esi + 0x84]
mov edx, 1
test eax, eax
mov dword [ebp - 0x38], ecx
cmovne edx, eax
mov eax, dword [esi + 0x88]
add ecx, edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x30], ecx
lea edx, [esi + 0x84]
cmp ecx, eax
jl 0x4405dc
add eax, eax
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.004214c0
mov ecx, dword [ebp - 0x30]
lea edx, [esi + 0x84]
mov eax, dword [edx + 4]
mov dword [ebp - 0x40], eax
cmp ecx, eax
jle 0x44061a
test eax, eax
je 0x4405fc
cdq
sub eax, edx
lea edx, [esi + 0x84]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x40]
jmp 0x440601
mov ecx, 8
mov eax, dword [ebp - 0x30]
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.004214c0
mov ecx, dword [ebp - 0x30]
lea edx, [esi + 0x84]
push dword [ebp - 0x38]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 8]
dec ecx
push dword [ebp - 0x34]
add eax, ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0x8c]
add esp, 0xc
mov ecx, dword [ebp - 0x38]
add eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x24]
mov byte [eax + ecx - 1], 0
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x60], eax
jge 0x440678
test byte [esi + 0xc], 2
je 0x440678
cmp dword [esi + 0x18], 0
jne 0x440678
cmp ecx, eax
jge 0x440669
cmp dword [esi + 0x14], 0
jne 0x440678
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
test al, al
jne 0x44067e
mov dword [esi + 0x18], ecx
jmp 0x44067e
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
test byte [ebx + 0xc], 2
je 0x440690
cmp dword [esi + 0x14], ecx
je 0x440690
test al, al
jne 0x440690
mov dword [esi + 0x18], ecx
cmp dword [esi + 0x1c], ecx
sete dl
mov dword [ebp - 0x30], edx
mov byte [ebp - 0x54], dl
jne 0x4406f9
mov byte [esi + 0x68], 1
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x60]
cmp edx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x24]
jge 0x4407a5
cmp eax, dword [ebp - 0x50]
jge 0x4406c3
cmp byte [ebp - 0x15], 0
je 0x4407a5
mov eax, dword [0x5887f0]
lea esi, [eax + 0x1da0]
mov ecx, dword [eax + 0x1c6c]
or ecx, 0x18
mov dword [eax + 0x1c6c], ecx
mov edi, dword [esi + 4]
mov dword [ebp - 0x40], ecx
mov ecx, dword [esi]
cmp ecx, edi
jne 0x440737
inc ecx
test edi, edi
je 0x440725
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x44072a
cmp dword [esi + 0x14], 0
jne 0x4406a2
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x50]
jge 0x4406a5
cmp dword [ebp - 0x28], 0
jne 0x4406a5
cmp dword [esi], 1
jne 0x4406a5
test byte [esi + 0xc], 2
movzx edx, dl
cmove edx, dword [ebp - 0x3c]
mov dword [ebp - 0x30], edx
mov byte [ebp - 0x54], dl
jmp 0x4406a5
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00421330
mov ecx, dword [esi]
xorps xmm0, xmm0
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x40]
push 0
push 0
mov dword [eax + ecx*4], edx
lea ecx, [ebp - 0xcc]
mov edx, dword [ebp - 0x1c]
inc dword [esi]
movups xmmword [ebp - 0xcc], xmm0
call fcn.004111e0
mov esi, dword [0x5887f0]
add esp, 8
dec dword [esi + 0x1da0]
cmp byte [ebp - 0x2c], 0
mov ecx, dword [esi + 0x1da8]
mov edx, dword [esi + 0x1da0]
mov ecx, dword [ecx + edx*4 - 4]
mov dword [esi + 0x1c6c], ecx
jne 0x440380
mov al, byte [ebp - 0x30]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004870f9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [esi + 0x14], ecx
jne 0x4407b3
mov eax, dword [edi + 0x1be0]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x48]
movss xmm1, dword [edx + 0x18]
movss xmm0, dword [eax + 0x108]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [eax + 0x10c]
mov eax, dword [edx + 4]
movss dword [ebp - 0x40], xmm0
and eax, 0xc0
movss xmm0, dword [edx + 0x14]
mov edx, 4
mov dword [ebp - 0x64], eax
jne 0x4407ff
subss xmm0, dword [esi + 0x48]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x64]
cvtdq2ps xmm0, xmm0
mov ecx, dword [ebp - 0x48]
xorps xmm2, xmm2
addss xmm0, dword [esi + 0x28]
movss dword [ebp - 0x38], xmm0
movss xmm5, dword [edx + esi + 0x28]
addss xmm5, xmm2
movaps xmm2, xmm0
addss xmm2, xmm1
movss dword [ebp - 0x58], xmm5
movaps xmm4, xmm5
movss dword [ecx + 0x108], xmm0
movss dword [ecx + 0x10c], xmm5
movss xmm6, dword [0x4fe9fc]
movss dword [ebp - 0x84], xmm2
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x10], xmm5
movss dword [ebp - 0xc], xmm2
addss xmm4, dword [ebp - 0x6c]
movss dword [ebp - 0x6c], xmm4
movss dword [ebp - 8], xmm4
test eax, eax
jne 0x440a07
movss xmm3, dword [esi + 0x58]
comiss xmm3, xmm0
movss xmm1, dword [esi + 0x5c]
ja 0x440886
comiss xmm2, xmm1
jbe 0x440a07
mov ecx, dword [0x5887f0]
movaps xmm2, xmm0
maxss xmm2, xmm3
mov byte [ebp - 0x15], 1
movaps xmm0, xmm5
movss dword [ebp - 0x78], xmm1
subss xmm0, xmm6
movaps xmm5, xmm4
mov eax, dword [ecx + 0x1c48]
movss dword [ebp - 0x74], xmm5
movss dword [ebp - 0x80], xmm2
mov byte [eax + 0xc5], 1
mov eax, dword [ecx + 0x1c48]
mov dword [ebp - 0xbc], eax
movss dword [ebp - 0x7c], xmm0
mov eax, dword [eax + 0x2c8]
mov dword [ebp - 0xb8], eax
movups xmm3, xmmword [eax + 0x60]
comiss xmm3, xmm2
movups xmmword [ebp - 0xcc], xmm3
jbe 0x4408f2
movaps xmm2, xmm3
movss dword [ebp - 0x80], xmm2
movss xmm3, dword [ebp - 0xc8]
comiss xmm3, xmm0
jbe 0x440907
movaps xmm0, xmm3
movss dword [ebp - 0x7c], xmm0
movss xmm3, dword [ebp - 0xc4]
comiss xmm1, xmm3
movss dword [ebp - 0x78], xmm1
jbe 0x440921
movaps xmm1, xmm3
movss dword [ebp - 0x78], xmm1
movss xmm3, dword [ebp - 0xc0]
comiss xmm4, xmm3
jbe 0x440936
movaps xmm5, xmm3
movss dword [ebp - 0x74], xmm5
comiss xmm2, xmm1
jb 0x440940
movss dword [ebp - 0x78], xmm2
comiss xmm0, xmm5
jb 0x44094a
movss dword [ebp - 0x74], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [ebp - 0xb4], ecx
cmp edx, eax
jne 0x440988
inc edx
mov dword [ebp - 0x64], edx
test eax, eax
je 0x440972
cdq
sub eax, edx
mov edx, dword [ebp - 0x64]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x440977
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00421690
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0xb8]
movups xmmword [ecx + 0x60], xmm0
call fcn.00429e60
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x2c8]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm2, dword [eax + ecx*8 - 4]
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [ebp - 0x48]
mov dword [edx + 0x26c], eax
movss dword [edx + 0x270], xmm0
movss dword [edx + 0x274], xmm1
movss dword [edx + 0x278], xmm2
movss xmm4, dword [ebp - 0x6c]
movss xmm2, dword [ebp - 0x84]
movss xmm5, dword [ebp - 0x58]
jmp 0x440a0b
mov byte [ebp - 0x15], 0
subss xmm2, dword [ebp - 0x38]
movss xmm0, dword [ecx + 0x120]
subss xmm4, xmm5
movss xmm7, dword [ecx + 0x124]
lea ecx, [ebp - 0x88]
movss xmm1, dword [edi + 0x15d4]
movss dword [ebp - 0x58], xmm0
movss dword [ebp - 0x88], xmm2
movss dword [ebp - 0x84], xmm4
call fcn.004110b0
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x14]
movss xmm0, dword [ebp - 0x58]
mov edx, dword [ebp - 0x1c]
push 0
push 0
movss dword [eax + 0x120], xmm0
movss dword [eax + 0x124], xmm7
call fcn.004111e0
add esp, 8
test al, al
jne 0x440ab7
cmp byte [ebp - 0x15], al
je 0x440a84
call fcn.004095f0
mov eax, dword [ebp - 0x48]
movss xmm0, dword [ebp - 0x4c]
movss dword [eax + 0x108], xmm0
movss xmm0, dword [ebp - 0x40]
movss dword [eax + 0x10c], xmm0
mov al, byte [ebp - 0x30]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004870f9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x2c]
movzx eax, al
inc eax
shl eax, 4
or eax, 0x1000
cmp byte [edi + 0x1f5c], 0
mov dword [ebp - 0x38], eax
je 0x440b17
cmp dword [edi + 0x1f7c], 0xffffffff
je 0x440b12
lea ecx, [edi + 0x1f80]
mov eax, str._IMWINDOW
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x440b06
test dl, dl
je 0x440b02
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x440b06
add eax, 2
add ecx, 2
test dl, dl
jne 0x440ae6
xor eax, eax
jmp 0x440b0b
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp - 0x38]
je 0x440b17
or eax, 0x200
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1e]
push eax
lea eax, [ebp - 0x1d]
push eax
call fcn.00436120
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov byte [ebp - 0x42], al
test al, al
je 0x440b41
cmp byte [ebp - 0x2c], 0
jne 0x440b41
mov dword [esi + 0x18], ecx
cmp dword [edi + 0x1c70], ecx
sete al
or byte [ebp - 0x1d], al
cmp byte [ebp - 0x1e], 0
je 0x440b71
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x440b71
cmp dword [edi + 0x1c84], ecx
jne 0x440b77
cmp byte [edi + 0x1c90], 0
je 0x440b71
mov dword [edi + 0x1cb0], eax
cmp dword [edi + 0x1c84], ecx
mov edx, dword [0x5887f0]
je 0x440ba9
mov eax, dword [edx + 0x1c48]
mov eax, dword [eax + 0x154]
cmp dword [edx + 0x1c70], eax
jne 0x440b9a
mov byte [edx + 0x1c78], 1
cmp dword [edx + 0x1c84], eax
jne 0x440ba9
mov byte [edx + 0x1c91], 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x440bd3
mov eax, dword [eax + 0x3c0]
test eax, eax
je 0x440bd3
cmp dword [eax + 0x10], 0
jne 0x440bd3
test dword [eax + 8], 0x400
jne 0x440bd3
cmp dword [eax + 0x1c], 1
jne 0x440bd3
mov al, 1
jmp 0x440bd5
xor al, al
cmp byte [ebp - 0x1e], 0
je 0x440efd
xorps xmm3, xmm3
test al, al
je 0x440c0e
cmp byte [edx + 0xec], 0
je 0x440c0e
movss xmm0, dword [edx + 0x44c]
comiss xmm0, xmm3
setae al
test al, al
je 0x440c0e
mov ecx, dword [ebp - 0x28]
call fcn.00406510
jmp 0x440efd
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x50]
jl 0x440efd
cmp byte [edx + 0xec], 0
je 0x440efd
movss xmm1, dword [edx + 0x30]
movss xmm0, dword [edx + 0x44c]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x440efd
xor eax, eax
xorps xmm5, xmm5
cmp byte [edi + 0x1f5c], al
jne 0x440cec
test byte [esi + 0xc], 1
jne 0x440c66
cmp dword [ebp - 0x28], eax
je 0x440efd
movss xmm0, dword [edi + 0x378]
comiss xmm3, xmm0
jbe 0x440caa
movss xmm1, dword [edi + 0xe4]
movss xmm2, dword [ebp - 0x14]
comiss xmm2, xmm1
jbe 0x440caa
push dword [edi + 0xe8]
mov edx, dword [ebp - 0x24]
movaps xmm5, xmm2
push dword [edi + 0xe4]
mov ecx, esi
subss xmm5, xmm1
call fcn.0043f890
add esp, 8
or eax, 0xffffffff
jmp 0x440ce6
comiss xmm0, xmm3
jbe 0x440cec
movss xmm0, dword [edi + 0xe4]
movss xmm1, dword [ebp - 0xc]
comiss xmm0, xmm1
jbe 0x440cec
push dword [edi + 0xe8]
mov edx, dword [ebp - 0x24]
movaps xmm5, xmm0
push dword [edi + 0xe4]
mov ecx, esi
subss xmm5, xmm1
call fcn.0043f890
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0x1c]
xorps xmm3, xmm3
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x440efd
test byte [edx + 8], 4
jne 0x440efd
cmp byte [edi + 0x1f5c], 0
movss xmm6, dword [ebp - 0x10]
je 0x440d1b
cmp dword [edi + 0x1f74], ecx
je 0x440de4
movss xmm2, dword [edi + 0x19d8]
xor cl, cl
movss xmm1, dword [edi + 0x424]
movaps xmm0, xmm2
andps xmm1, xmmword [0x501350]
addss xmm0, xmm2
movaps xmm4, xmm2
mulss xmm4, dword [0x4fea3c]
subss xmm1, xmm0
mulss xmm1, dword [0x4fe9a0]
comiss xmm3, xmm1
ja 0x440d66
movaps xmm3, xmm2
mulss xmm3, dword [0x4fea54]
minss xmm3, xmm1
movss xmm0, dword [edi + 0xe8]
movaps xmm1, xmm6
mulss xmm2, dword [0x4fea1c]
subss xmm1, xmm0
movzx ecx, cl
subss xmm0, dword [ebp - 8]
addss xmm2, xmm3
maxss xmm1, xmm0
comiss xmm1, xmm2
cmovae ecx, dword [ebp - 0x3c]
comiss xmm5, xmm4
mov dword [ebp - 0x3c], ecx
jbe 0x440ddc
test eax, eax
jns 0x440db9
mov ecx, dword [ebp - 0x24]
mov eax, 0x66666667
sub ecx, dword [esi + 8]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x440dd7
jle 0x440ddc
mov ecx, dword [ebp - 0x24]
mov eax, 0x66666667
sub ecx, dword [esi + 8]
imul ecx
mov eax, dword [esi]
sar edx, 4
dec eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
je 0x440de4
mov ecx, dword [ebp - 0x3c]
test cl, cl
je 0x440efd
mov eax, dword [ebp - 0x28]
lea edx, [edi + 0x2fc4]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x90], eax
mov eax, dword [edx]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x9c], 0xffffffff
mov dword [ebp - 0x98], 0x3f000000
mov byte [ebp - 0x94], 0
mov dword [ebp - 0xac], 2
mov dword [ebp - 0x58], eax
cmp eax, ecx
jne 0x440e76
test ecx, ecx
je 0x440e51
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x440e56
mov eax, 8
mov ecx, dword [ebp - 0x58]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x2fc4]
call fcn.00421150
movss xmm6, dword [ebp - 0x10]
lea edx, [edi + 0x2fc4]
mov eax, dword [edx]
movups xmm0, xmmword [ebp - 0xac]
lea ecx, [eax + eax*8]
mov eax, dword [edx + 8]
movups xmmword [eax + ecx*4], xmm0
movups xmm0, xmmword [ebp - 0x9c]
movups xmmword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x20], 0
mov eax, dword [ebp - 0x28]
inc dword [edx]
mov edx, eax
mov dword [edi + 0x1c58], eax
mov ecx, dword [eax + 0x88]
call fcn.00405db0
mov eax, dword [edi + 0x1c58]
movss xmm0, dword [edi + 0x1ca8]
movss xmm1, dword [eax + 0x44]
subss xmm1, dword [ebp - 0x14]
movss xmm2, dword [eax + 0x48]
subss xmm2, xmm6
mov byte [edi + 0x1c92], 1
subss xmm0, xmm1
movss dword [edi + 0x1ca8], xmm0
movss xmm0, dword [edi + 0x1cac]
subss xmm0, xmm2
movss dword [edi + 0x1cac], xmm0
cmp byte [ebp - 0x1e], 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x2c8]
mov dword [ebp - 0x3c], eax
jne 0x440f40
cmp byte [ebp - 0x1d], 0
jne 0x440f40
cmp byte [ebp - 0x30], 0
je 0x440f2d
mov eax, dword [ebp - 0x68]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x440f45
cmp byte [ebp - 0x68], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x440f45
mov ecx, 0x22
movss xmm1, dword [0x4fe9fc]
call fcn.004041e0
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
push eax
push dword [ebx + 0xc]
call fcn.00441230
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push 1
call fcn.00405100
add esp, 0xc
mov ecx, 8
call fcn.00405f90
test al, al
je 0x440fb1
mov ecx, dword [0x5887f0]
movss xmm0, dword [ecx + 0x400]
ucomiss xmm0, dword [0x4fe95c]
lahf
test ah, 0x44
jnp 0x440fa3
cmp byte [ecx + 0x3eb], 0
je 0x440fb1
cmp byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0x1c]
jne 0x440fb4
mov dword [esi + 0x18], eax
jmp 0x440fb4
mov eax, dword [ebp - 0x1c]
test byte [esi + 0xc], 8
je 0x440fbe
or dword [ebx + 0xc], 4
cmp dword [ebp - 0x5c], 0
je 0x440ffa
push eax
xor edx, edx
mov ecx, str.CLOSE
call fcn.004039d0
mov ecx, eax
add esp, 4
mov eax, dword [0x5887f0]
cmp dword [eax + 0x1c84], ecx
jne 0x440fe9
mov dword [eax + 0x1c88], ecx
cmp dword [eax + 0x1cbc], ecx
jne 0x440ffc
mov byte [eax + 0x1cc0], 1
jmp 0x440ffc
xor ecx, ecx
push dword [esi + 0x78]
lea eax, [ebp - 0x41]
push dword [esi + 0x74]
lea edx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1d]
push eax
push dword [ebp - 0x54]
push ecx
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x3c]
push dword [ebp - 0x34]
push dword [ebx + 0xc]
call fcn.004415f0
add esp, 0x24
cmp byte [ebp - 0x1d], 0
je 0x44106a
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x44106a
mov ecx, dword [ebp - 0x24]
mov byte [eax], 0
test byte [ecx + 4], 1
jne 0x441060
mov byte [ecx + 0x26], 1
mov eax, dword [esi + 0x1c]
cmp eax, dword [ecx]
jne 0x44106a
mov dword [ecx + 0xc], 0xffffffff
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
jmp 0x44106a
mov eax, dword [ecx]
cmp dword [esi + 0x1c], eax
je 0x44106a
mov dword [esi + 0x18], eax
cmp byte [ebp - 0x15], 0
je 0x441075
call fcn.004095f0
cmp byte [ebp - 0x41], 0
mov eax, dword [ebp - 0x48]
movss xmm0, dword [ebp - 0x4c]
movss dword [eax + 0x108], xmm0
movss xmm0, dword [ebp - 0x40]
movss dword [eax + 0x10c], xmm0
je 0x441107
mov eax, dword [ebp - 0x1c]
cmp dword [edi + 0x1c70], eax
jne 0x441107
cmp byte [ebp - 0x1e], 0
jne 0x441107
movss xmm0, dword [edi + 0x1c80]
comiss xmm0, dword [edi + 0x2f84]
jbe 0x441107
xor ecx, ecx
call fcn.00405f90
test al, al
je 0x441107
test byte [esi + 0xc], 0x20
jne 0x441107
mov eax, dword [ebp - 0x24]
test byte [eax + 4], 0x10
jne 0x441107
mov eax, dword [ebp - 0x34]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x4410f6
nop
mov dl, byte [ecx]
test dl, dl
je 0x4410f6
cmp dl, 0x23
jne 0x4410f0
cmp byte [ecx + 1], dl
je 0x4410f6
inc ecx
cmp ecx, 0xffffffff
jb 0x4410e0
push eax
sub ecx, eax
push ecx
push str._.s
call fcn.00412170
add esp, 0xc
mov eax, dword [ebp - 0x30]
cmp byte [ebp - 0x2c], 0
movzx ecx, byte [ebp - 0x42]
movzx eax, al
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004870f9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret