Function at 0x439460
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 [0x46a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x10]
push esi
mov esi, ecx
mov dword [ebp - 0x40], edx
mov ecx, dword [ebx + 8]
push edi
mov dword [ebp - 0x50], esi
cmp byte [esi + 0x67], 0
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x28], eax
je 0x4394af
mov ecx, esi
call fcn.004381b0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x40]
mov edi, dword [0x46e460]
mov dword [ebp - 0x24], edi
mov ecx, dword [edi + 0x1c48]
mov dword [ebp - 0x4c], ecx
cmp byte [ecx + 0xc8], 0
jne 0x439543
push eax
call fcn.00438cb0
mov ecx, dword [ebp - 0x60]
add esp, 4
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x439558
cmp byte [ecx], 0
jne 0x439558
mov eax, dword [edi + 0x1c6c]
lea ecx, [edi + 0x1da0]
or eax, 0x18
mov dword [ebp - 0x58], eax
mov dword [edi + 0x1c6c], eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041f750
mov edx, dword [ebp - 0x1c]
xorps xmm0, xmm0
push ecx
push 0
lea ecx, [ebp - 0xa4]
movups xmmword [ebp - 0xa4], xmm0
call fcn.004106e0
mov edx, dword [0x46e460]
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.0043d6d2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebx + 0xc]
test eax, 0x100000
je 0x439569
xor ecx, ecx
mov dword [ebp - 0x60], ecx
jmp 0x439575
test ecx, ecx
jne 0x439577
or eax, 0x100000
mov dword [ebx + 0xc], eax
test ecx, ecx
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x70]
setne al
movzx eax, al
push eax
call fcn.0043a2c0
mov ecx, dword [ebp - 0x1c]
add esp, 4
test ecx, ecx
je 0x4395ac
mov edx, dword [esi]
xor eax, eax
test edx, edx
jle 0x4395ac
mov edi, dword [esi + 8]
nop
cmp dword [edi], ecx
je 0x4395ae
inc eax
add edi, 0x28
cmp eax, edx
jl 0x4395a0
xor edi, edi
or eax, 0xffffffff
mov byte [ebp - 0x15], 0
test edi, edi
jne 0x439629
xorps xmm0, xmm0
mov ecx, esi
movq qword [ebp - 0xac], xmm0
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0xc0], eax
movups xmmword [ebp - 0xbc], xmm0
mov dword [ebp - 0xbc], eax
mov word [ebp - 0xa8], ax
mov word [ebp - 0xaa], ax
mov word [ebp - 0xac], ax
lea eax, [ebp - 0xcc]
push eax
call fcn.0043adb0
mov eax, dword [esi]
movss xmm0, dword [ebp - 0x70]
mov byte [ebp - 0x15], 1
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
lea ecx, [ecx - 5]
movss dword [eax + ecx*8 + 0x18], xmm0
lea edi, [eax + ecx*8]
mov ecx, dword [ebp - 0x1c]
mov dword [edi], ecx
mov byte [esi + 0x69], 1
jmp 0x43962e
movss xmm0, dword [ebp - 0x70]
mov ecx, edi
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 word [esi + 0x6c], ax
movss dword [edi + 0x1c], xmm0
movzx ecx, word [esi + 0x6a]
lea eax, [ecx + 1]
mov word [esi + 0x6a], ax
mov word [edi + 0x22], cx
mov ecx, dword [ebp - 0x24]
mov edx, dword [esi + 0x24]
inc edx
mov dword [ebp - 0x34], edx
mov eax, dword [ecx + 0x1be0]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 0xc]
inc eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x48]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 8], eax
test eax, eax
je 0x4396bb
or eax, 0xffffffff
mov word [edi + 0x20], ax
jmp 0x4397af
mov ecx, dword [esi + 0x84]
lea edx, [esi + 0x84]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov word [edi + 0x20], cx
mov ecx, dword [ebp - 0x40]
lea eax, [ecx + 1]
mov dword [ebp - 0x58], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4396e0
sub ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x40]
inc ecx
add ecx, eax
je 0x4396f6
sub ecx, eax
jmp 0x439709
mov ecx, eax
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439700
sub ecx, esi
mov eax, dword [edx]
test eax, eax
mov esi, dword [ebp - 0x3c]
cmovne esi, eax
mov dword [ebp - 0x38], ecx
mov eax, dword [edx + 4]
add ecx, esi
mov dword [ebp - 0x54], esi
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
jl 0x439740
add eax, eax
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.004203e0
mov ecx, dword [ebp - 0x2c]
lea edx, [esi + 0x84]
mov eax, dword [edx + 4]
mov dword [ebp - 0x50], eax
cmp ecx, eax
jle 0x43977e
test eax, eax
je 0x439760
cdq
sub eax, edx
lea edx, [esi + 0x84]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x50]
jmp 0x439765
mov ecx, 8
mov eax, dword [ebp - 0x2c]
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.004203e0
mov ecx, dword [ebp - 0x2c]
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 - 0x40]
add eax, ecx
push eax
call fcn.004405a0
mov eax, dword [esi + 0x8c]
add esp, 0xc
mov ecx, dword [ebp - 0x38]
add eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x34]
mov byte [eax + ecx - 1], 0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x64], eax
jge 0x4397dc
test byte [esi + 0xc], 2
je 0x4397dc
cmp dword [esi + 0x18], 0
jne 0x4397dc
cmp edx, eax
jge 0x4397cd
cmp dword [esi + 0x14], 0
jne 0x4397dc
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
test al, al
jne 0x4397e2
mov dword [esi + 0x18], edx
jmp 0x4397e2
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
test byte [ebx + 0xc], 2
je 0x4397f4
cmp dword [esi + 0x14], edx
je 0x4397f4
test al, al
jne 0x4397f4
mov dword [esi + 0x18], edx
cmp dword [esi + 0x1c], edx
mov eax, dword [ebp - 0x34]
sete cl
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 0x54], cl
mov ecx, dword [ebp - 0x48]
jne 0x43980e
mov byte [esi + 0x68], 1
jmp 0x43983a
cmp dword [esi + 0x14], 0
jne 0x43983a
cmp eax, ecx
jge 0x43983a
cmp dword [ebp - 0x28], 0
jne 0x43983a
cmp dword [esi], 1
jne 0x43983a
mov eax, dword [ebp - 0x2c]
test byte [esi + 0xc], 2
movzx eax, al
cmove eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x54], al
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x24]
jge 0x4398dc
cmp eax, dword [ebp - 0x48]
jge 0x439855
cmp byte [ebp - 0x15], 0
je 0x4398dc
mov ecx, dword [0x46e460]
mov eax, dword [ecx + 0x1c6c]
or eax, 0x18
mov dword [ecx + 0x1c6c], eax
add ecx, 0x1da0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
call fcn.0041f750
mov edx, dword [ebp - 0x1c]
xorps xmm0, xmm0
push ecx
push 0
lea ecx, [ebp - 0xa4]
movups xmmword [ebp - 0xa4], xmm0
call fcn.004106e0
mov edx, dword [0x46e460]
add esp, 8
dec dword [edx + 0x1da0]
cmp byte [ebp - 0x30], 0
mov eax, dword [edx + 0x1da8]
mov ecx, dword [edx + 0x1da0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1c6c], eax
jne 0x439543
mov al, byte [ebp - 0x2c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d6d2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [esi + 0x14], edx
jne 0x4398ea
mov eax, dword [ecx + 0x1be0]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x4c]
mov edx, dword [edi + 4]
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [eax + 0x108]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [eax + 0x10c]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [edi + 0x14]
and edx, 0xc0
jne 0x43992c
subss xmm0, dword [esi + 0x48]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, 4
xorps xmm2, xmm2
addss xmm0, dword [esi + 0x28]
movss dword [ebp - 0x38], xmm0
movss xmm5, dword [esi + eax + 0x28]
mov eax, dword [ebp - 0x4c]
addss xmm5, xmm2
movaps xmm2, xmm0
addss xmm2, xmm1
movss dword [ebp - 0x5c], xmm5
movss dword [eax + 0x108], xmm0
movss dword [eax + 0x10c], xmm5
movss xmm4, dword [ebp - 0x6c]
movss xmm6, dword [0x46483c]
addss xmm4, xmm5
movss dword [ebp - 0x84], xmm2
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x10], xmm5
movss dword [ebp - 0xc], xmm2
movss dword [ebp - 0x6c], xmm4
movss dword [ebp - 8], xmm4
test edx, edx
jne 0x439b3a
movss xmm3, dword [esi + 0x58]
comiss xmm3, xmm0
movss xmm1, dword [esi + 0x5c]
ja 0x4399b9
comiss xmm2, xmm1
jbe 0x439b3a
mov ecx, dword [0x46e460]
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 - 0x94], eax
movss dword [ebp - 0x7c], xmm0
mov eax, dword [eax + 0x2c4]
mov dword [ebp - 0x90], eax
movups xmm3, xmmword [eax + 0x60]
comiss xmm3, xmm2
movups xmmword [ebp - 0xa4], xmm3
jbe 0x439a25
movaps xmm2, xmm3
movss dword [ebp - 0x80], xmm2
movss xmm3, dword [ebp - 0xa0]
comiss xmm3, xmm0
jbe 0x439a3a
movaps xmm0, xmm3
movss dword [ebp - 0x7c], xmm0
movss xmm3, dword [ebp - 0x9c]
comiss xmm1, xmm3
movss dword [ebp - 0x78], xmm1
jbe 0x439a54
movaps xmm1, xmm3
movss dword [ebp - 0x78], xmm1
movss xmm3, dword [ebp - 0x98]
comiss xmm4, xmm3
jbe 0x439a69
movaps xmm5, xmm3
movss dword [ebp - 0x74], xmm5
comiss xmm2, xmm1
jb 0x439a73
movss dword [ebp - 0x78], xmm2
comiss xmm0, xmm5
jb 0x439a7d
movss dword [ebp - 0x74], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x8c], ecx
cmp edx, eax
jne 0x439abb
inc edx
mov dword [ebp - 0x50], edx
test eax, eax
je 0x439aa5
cdq
sub eax, edx
mov edx, dword [ebp - 0x50]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x439aaa
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.004205a0
mov ecx, dword [ebp - 0x8c]
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 - 0x90]
movups xmmword [ecx + 0x60], xmm0
call fcn.00428cd0
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 0x2c4]
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 dword [edx + 0x268], eax
mov eax, dword [ebp - 0x4c]
movss dword [edx + 0x26c], xmm0
movss dword [edx + 0x270], xmm1
movss dword [edx + 0x274], xmm2
movss xmm4, dword [ebp - 0x6c]
movss xmm2, dword [ebp - 0x84]
movss xmm5, dword [ebp - 0x5c]
jmp 0x439b3e
mov byte [ebp - 0x15], 0
mov ecx, dword [ebp - 0x24]
subss xmm4, xmm5
subss xmm2, dword [ebp - 0x38]
movss xmm0, dword [eax + 0x120]
movss xmm7, dword [eax + 0x124]
movss xmm1, dword [ecx + 0x15d4]
lea ecx, [ebp - 0x88]
movss dword [ebp - 0x5c], xmm0
movss dword [ebp - 0x88], xmm2
movss dword [ebp - 0x84], xmm4
call fcn.004105b0
mov eax, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x1c]
push ecx
push 0
lea ecx, [ebp - 0x14]
movss dword [eax + 0x120], xmm0
movss dword [eax + 0x124], xmm7
call fcn.004106e0
add esp, 8
test al, al
jne 0x439bec
cmp byte [ebp - 0x15], al
je 0x439bb9
call fcn.00408dc0
mov eax, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x34]
movss dword [eax + 0x108], xmm0
movss xmm0, dword [ebp - 0x58]
movss dword [eax + 0x10c], xmm0
mov al, byte [ebp - 0x2c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d6d2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x30]
movzx ecx, al
mov eax, dword [ebp - 0x24]
inc ecx
shl ecx, 4
or ecx, 0x1000
mov dword [ebp - 0x38], ecx
cmp byte [eax + 0x1f5c], 0
je 0x439c52
cmp dword [eax + 0x1f7c], 0xffffffff
je 0x439c4c
lea ecx, [eax + 0x1f80]
mov eax, str._IMWINDOW
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x439c40
test dl, dl
je 0x439c3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x439c40
add eax, 2
add ecx, 2
test dl, dl
jne 0x439c20
xor eax, eax
jmp 0x439c45
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 0x38]
test eax, eax
je 0x439c52
or ecx, 0x200
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1d]
push ecx
push eax
lea eax, [ebp - 0x16]
push eax
lea ecx, [ebp - 0x14]
call fcn.00434570
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov byte [ebp - 0x41], al
test al, al
je 0x439c7c
cmp byte [ebp - 0x30], 0
jne 0x439c7c
mov dword [esi + 0x18], edx
mov ecx, dword [ebp - 0x24]
mov ah, byte [ebp - 0x16]
cmp dword [ecx + 0x1c70], edx
sete al
or ah, al
cmp byte [ebp - 0x1d], 0
mov byte [ebp - 0x1e], ah
je 0x439cb4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x439cb4
cmp dword [ecx + 0x1c84], edx
jne 0x439cba
cmp byte [ecx + 0x1c90], 0
je 0x439cb4
mov dword [ecx + 0x1cb0], eax
cmp dword [ecx + 0x1c84], edx
mov edx, dword [0x46e460]
mov dword [ebp - 0x5c], edx
je 0x439cef
mov eax, dword [edx + 0x1c48]
mov eax, dword [eax + 0x154]
cmp dword [edx + 0x1c70], eax
jne 0x439ce0
mov byte [edx + 0x1c78], 1
cmp dword [edx + 0x1c84], eax
jne 0x439cef
mov byte [edx + 0x1c91], 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x439d19
mov eax, dword [eax + 0x3bc]
test eax, eax
je 0x439d19
cmp dword [eax + 0x10], 0
jne 0x439d19
test dword [eax + 8], 0x400
jne 0x439d19
cmp dword [eax + 0x1c], 1
jne 0x439d19
mov al, 1
jmp 0x439d1b
xor al, al
cmp byte [ebp - 0x1d], 0
je 0x43a096
xorps xmm3, xmm3
test al, al
je 0x439df4
cmp byte [edx + 0xec], 0
je 0x439df4
movss xmm0, dword [edx + 0x44c]
comiss xmm0, xmm3
setae al
test al, al
je 0x439df4
mov ecx, dword [ebp - 0x28]
call fcn.0040ff80
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x88]
call fcn.00405580
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 0x16], 1
mov byte [ecx + 0x1e6a], 1
mov byte [ecx + 0x1c92], 1
mov eax, dword [edx + 0x360]
movss xmm1, dword [ecx + 0x38c]
movss xmm0, dword [ecx + 0x390]
subss xmm1, dword [eax + 0x44]
subss xmm0, dword [eax + 0x48]
movss dword [ecx + 0x1ca8], xmm1
movss dword [ecx + 0x1cac], xmm0
test byte [edx + 8], 4
jne 0x439dc0
mov eax, dword [edx + 0x360]
test byte [eax + 8], 4
je 0x439dc4
mov byte [ebp - 0x16], 0
mov eax, dword [edx + 0x3c0]
test eax, eax
je 0x439ddf
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x439ddf
test byte [eax + 8], 4
jne 0x43a096
cmp byte [ebp - 0x16], 0
je 0x43a096
mov dword [ecx + 0x1c58], edx
jmp 0x43a096
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x48]
jl 0x43a096
cmp byte [edx + 0xec], 0
je 0x43a096
movss xmm1, dword [edx + 0x30]
movss xmm0, dword [edx + 0x44c]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x43a096
xor edx, edx
xorps xmm5, xmm5
cmp byte [ecx + 0x1f5c], dl
jne 0x439ed0
test byte [esi + 0xc], 1
jne 0x439e4c
cmp dword [ebp - 0x28], edx
je 0x43a096
movss xmm0, dword [ecx + 0x378]
comiss xmm3, xmm0
jbe 0x439e8f
movss xmm1, dword [ecx + 0xe4]
movss xmm2, dword [ebp - 0x14]
comiss xmm2, xmm1
jbe 0x439e8f
push dword [ecx + 0xe8]
movaps xmm5, xmm2
mov edx, edi
push dword [ecx + 0xe4]
mov ecx, esi
subss xmm5, xmm1
call fcn.00438e00
add esp, 8
or edx, 0xffffffff
jmp 0x439eca
comiss xmm0, xmm3
jbe 0x439ed0
movss xmm0, dword [ecx + 0xe4]
movss xmm1, dword [ebp - 0xc]
comiss xmm0, xmm1
jbe 0x439ed0
push dword [ecx + 0xe8]
movaps xmm5, xmm0
mov edx, edi
push dword [ecx + 0xe4]
mov ecx, esi
subss xmm5, xmm1
call fcn.00438e00
add esp, 8
mov edx, 1
mov ecx, dword [ebp - 0x24]
xorps xmm3, xmm3
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x43a096
test byte [eax + 8], 4
jne 0x43a096
cmp byte [ecx + 0x1f5c], 0
je 0x439efd
mov eax, dword [ebp - 0x1c]
cmp dword [ecx + 0x1f74], eax
je 0x439fc6
movss xmm2, dword [ecx + 0x19d8]
xor al, al
movss xmm1, dword [ecx + 0x424]
movaps xmm0, xmm2
andps xmm1, xmmword [0x464ae0]
addss xmm0, xmm2
movaps xmm4, xmm2
mulss xmm4, dword [0x464868]
subss xmm1, xmm0
mulss xmm1, dword [0x4647e0]
comiss xmm3, xmm1
ja 0x439f48
movaps xmm3, xmm2
mulss xmm3, dword [0x464880]
minss xmm3, xmm1
movss xmm0, dword [ecx + 0xe8]
movss xmm1, dword [ebp - 0x10]
mulss xmm2, dword [0x46485c]
subss xmm1, xmm0
movzx eax, al
subss xmm0, dword [ebp - 8]
addss xmm2, xmm3
maxss xmm1, xmm0
comiss xmm1, xmm2
cmovae eax, dword [ebp - 0x3c]
comiss xmm5, xmm4
mov dword [ebp - 0x3c], eax
jbe 0x439fbe
test edx, edx
jns 0x439f9c
mov ecx, edi
mov eax, 0x66666667
sub ecx, dword [esi + 8]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x439fb9
jle 0x439fbe
mov ecx, edi
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 0x439fc6
mov eax, dword [ebp - 0x3c]
test al, al
je 0x43a096
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0xac], eax
add ecx, 0x2fc4
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xbc], 0
push eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xb8], 0xffffffff
mov dword [ebp - 0xb4], 0x3f000000
mov byte [ebp - 0xb0], 0
mov dword [ebp - 0xc8], 2
call fcn.0041fa90
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
mov dword [eax + 0x1c58], ecx
mov ecx, dword [ecx + 0x88]
call fcn.00405580
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x1c58]
movss xmm0, dword [ecx + 0x1ca8]
movss xmm1, dword [eax + 0x44]
subss xmm1, dword [ebp - 0x14]
movss xmm2, dword [eax + 0x48]
subss xmm2, dword [ebp - 0x10]
mov byte [ecx + 0x1c92], 1
subss xmm0, xmm1
movss dword [ecx + 0x1ca8], xmm0
movss xmm0, dword [ecx + 0x1cac]
subss xmm0, xmm2
movss dword [ecx + 0x1cac], xmm0
cmp byte [ebp - 0x1d], 0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x2c4]
mov dword [ebp - 0x3c], eax
jne 0x43a0d9
cmp byte [ebp - 0x1e], 0
jne 0x43a0d9
cmp byte [ebp - 0x2c], 0
je 0x43a0c6
mov eax, dword [ebp - 0x68]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x43a0de
cmp byte [ebp - 0x68], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x43a0de
mov ecx, 0x22
movss xmm1, dword [0x46483c]
call fcn.004037c0
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
push eax
push dword [ebx + 0xc]
call fcn.0043a3c0
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push 1
call fcn.00404850
add esp, 0xc
mov ecx, 8
call fcn.00405760
test al, al
je 0x43a14a
mov ecx, dword [0x46e460]
movss xmm0, dword [ecx + 0x400]
ucomiss xmm0, dword [0x4647a4]
lahf
test ah, 0x44
jnp 0x43a13c
cmp byte [ecx + 0x3eb], 0
je 0x43a14a
cmp byte [ebp - 0x30], 0
mov eax, dword [ebp - 0x1c]
jne 0x43a14d
mov dword [esi + 0x18], eax
jmp 0x43a14d
mov eax, dword [ebp - 0x1c]
test byte [esi + 0xc], 8
je 0x43a157
or dword [ebx + 0xc], 4
cmp dword [ebp - 0x60], 0
je 0x43a193
push eax
xor edx, edx
mov ecx, str.CLOSE
call fcn.00403140
mov ecx, eax
add esp, 4
mov eax, dword [0x46e460]
cmp dword [eax + 0x1c84], ecx
jne 0x43a182
mov dword [eax + 0x1c88], ecx
cmp dword [eax + 0x1cbc], ecx
jne 0x43a195
mov byte [eax + 0x1cc0], 1
jmp 0x43a195
xor ecx, ecx
push dword [esi + 0x78]
lea eax, [ebp - 0x16]
push dword [esi + 0x74]
lea edx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1e]
push eax
push dword [ebp - 0x54]
push ecx
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebx + 0xc]
call fcn.0043a810
add esp, 0x24
cmp byte [ebp - 0x1e], 0
je 0x43a200
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x43a200
mov byte [eax], 0
test byte [edi + 4], 1
jne 0x43a1f6
mov byte [edi + 0x26], 1
mov eax, dword [esi + 0x1c]
cmp eax, dword [edi]
jne 0x43a200
mov dword [edi + 0xc], 0xffffffff
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
jmp 0x43a200
mov eax, dword [edi]
cmp dword [esi + 0x1c], eax
je 0x43a200
mov dword [esi + 0x18], eax
cmp byte [ebp - 0x15], 0
je 0x43a20b
call fcn.00408dc0
cmp byte [ebp - 0x16], 0
mov eax, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x34]
movss dword [eax + 0x108], xmm0
movss xmm0, dword [ebp - 0x58]
movss dword [eax + 0x10c], xmm0
je 0x43a29b
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
cmp dword [eax + 0x1c70], ecx
jne 0x43a29b
cmp byte [ebp - 0x1d], 0
jne 0x43a29b
movss xmm0, dword [eax + 0x1c80]
comiss xmm0, dword [eax + 0x2f84]
jbe 0x43a29b
xor ecx, ecx
call fcn.00405760
test al, al
je 0x43a29b
test byte [esi + 0xc], 0x20
jne 0x43a29b
test byte [edi + 4], 0x10
jne 0x43a29b
mov eax, dword [ebp - 0x40]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x43a28a
mov dl, byte [ecx]
test dl, dl
je 0x43a28a
cmp dl, 0x23
jne 0x43a284
cmp byte [ecx + 1], dl
je 0x43a28a
inc ecx
cmp ecx, 0xffffffff
jb 0x43a274
push eax
sub ecx, eax
push ecx
push str._.s
call fcn.00411060
add esp, 0xc
mov eax, dword [ebp - 0x2c]
cmp byte [ebp - 0x30], 0
movzx ecx, byte [ebp - 0x41]
movzx eax, al
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043d6d2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret