Function at 0x4385d0
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 [0x44500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x10]
push esi
mov esi, ecx
mov dword [ebp - 0x44], edx
mov ecx, dword [ebx + 8]
push edi
mov dword [ebp - 0x5c], ecx
cmp byte [esi + 0x67], 0
mov dword [ebp - 0x28], eax
je 0x43861c
mov ecx, esi
call fcn.004372c0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x44]
mov edi, dword [0x445600]
mov dword [ebp - 0x2c], edi
mov ecx, dword [edi + 0x1c48]
mov dword [ebp - 0x4c], ecx
cmp byte [ecx + 0xc8], 0
jne 0x4386b0
push eax
call fcn.00437e10
mov dword [ebp - 0x1c], eax
add esp, 4
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4386c5
cmp byte [eax], 0
jne 0x4386c5
mov eax, dword [edi + 0x1c6c]
lea ecx, [edi + 0x1da0]
or eax, 0x18
mov dword [ebp - 0x34], eax
mov dword [edi + 0x1c6c], eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041f550
mov edx, dword [ebp - 0x1c]
xorps xmm0, xmm0
push ecx
push 0
lea ecx, [ebp - 0xa4]
movups xmmword [ebp - 0xa4], xmm0
call fcn.00410270
mov edx, dword [0x445600]
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.0043c2f6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x40], ecx
test ecx, 0x100000
je 0x4386da
xor eax, eax
mov dword [ebp - 0x5c], eax
jmp 0x4386e7
test eax, eax
jne 0x4386e9
or ecx, 0x100000
mov dword [ebp - 0x40], ecx
test eax, eax
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x70]
setne al
movzx eax, al
push eax
call fcn.00439440
mov ecx, dword [ebp - 0x1c]
add esp, 4
test ecx, ecx
je 0x43871c
mov edx, dword [esi]
xor eax, eax
test edx, edx
jle 0x43871c
mov edi, dword [esi + 8]
cmp dword [edi], ecx
je 0x43871e
inc eax
add edi, 0x28
cmp eax, edx
jl 0x438710
xor edi, edi
or eax, 0xffffffff
mov byte [ebp - 0x15], 0
test edi, edi
jne 0x438799
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.00439f10
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 0x43879e
movss xmm0, dword [ebp - 0x70]
mov ecx, edi
mov eax, 0x66666667
sub ecx, dword [esi + 8]
imul ecx
mov ecx, dword [ebp - 0x2c]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [esi + 0x6c], ax
movss dword [edi + 0x1c], xmm0
mov ax, word [esi + 0x6a]
mov word [edi + 0x22], ax
inc word [esi + 0x6a]
mov eax, dword [ecx + 0x1be0]
mov edx, dword [esi + 0x24]
mov dword [ebp - 0x50], eax
inc edx
mov eax, dword [esi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x64], eax
mov eax, dword [edi + 0xc]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x40]
shr eax, 0x15
and eax, 0xffffff01
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x50]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 8], eax
test eax, eax
je 0x438821
or eax, 0xffffffff
mov word [edi + 0x20], ax
jmp 0x438917
mov ecx, dword [esi + 0x84]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov word [edi + 0x20], cx
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + 1]
mov dword [ebp - 0x34], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438840
sub ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x44]
inc ecx
add ecx, eax
je 0x438856
sub ecx, eax
jmp 0x43886a
mov ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x34], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438860
sub ecx, dword [ebp - 0x34]
mov eax, dword [esi + 0x84]
mov edx, 1
test eax, eax
mov dword [ebp - 0x24], ecx
cmovne edx, eax
mov eax, dword [esi + 0x88]
mov dword [ebp - 0x30], edx
add edx, ecx
mov dword [ebp - 0x3c], edx
lea ecx, [esi + 0x84]
cmp edx, eax
jl 0x4388ab
add eax, eax
cmp edx, eax
cmovg eax, edx
push eax
call fcn.0041ff00
mov edx, dword [ebp - 0x3c]
lea ecx, [esi + 0x84]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x34], eax
cmp edx, eax
jle 0x4388e9
test eax, eax
je 0x4388c8
cdq
sub eax, edx
mov edx, dword [ebp - 0x3c]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x34]
jmp 0x4388cd
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [esi + 0x84]
push eax
call fcn.0041ff00
mov edx, dword [ebp - 0x3c]
lea ecx, [esi + 0x84]
push dword [ebp - 0x24]
mov dword [ecx], edx
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x30]
push dword [ebp - 0x44]
dec ecx
add eax, ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x30]
add esp, 0xc
add ecx, dword [ebp - 0x24]
mov eax, dword [esi + 0x8c]
mov edx, dword [ebp - 0x54]
mov byte [ecx + eax - 1], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x60], eax
jge 0x438944
test byte [esi + 0xc], 2
je 0x438944
cmp dword [esi + 0x18], 0
jne 0x438944
cmp edx, eax
jge 0x438935
cmp dword [esi + 0x14], 0
jne 0x438944
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
test al, al
jne 0x43894a
mov dword [esi + 0x18], edx
jmp 0x43894a
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
test byte [ebp - 0x40], 2
je 0x43895c
cmp dword [esi + 0x14], edx
je 0x43895c
test al, al
jne 0x43895c
mov dword [esi + 0x18], edx
cmp dword [esi + 0x1c], edx
lea eax, [esi + 0x14]
mov dword [ebp - 0x24], eax
sete cl
mov byte [ebp - 0x3c], cl
mov ecx, dword [ebp - 0x2c]
jne 0x438976
mov byte [esi + 0x68], 1
jmp 0x4389ab
cmp dword [eax], 0
jne 0x4389ab
mov ecx, dword [ebp - 0x50]
cmp dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
jge 0x4389ab
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x24], eax
jne 0x4389ab
cmp dword [esi], 1
mov dword [ebp - 0x24], eax
jne 0x4389ab
test byte [esi + 0xc], 2
mov dword [ebp - 0x24], eax
jne 0x4389ab
mov dl, 1
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x3c], dl
mov edx, dword [ebp - 0x60]
cmp edx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x1c]
jge 0x438a56
mov ecx, dword [ebp - 0x50]
cmp dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x2c]
jge 0x4389cf
cmp byte [ebp - 0x15], 0
je 0x438a56
mov ecx, dword [0x445600]
mov eax, dword [ecx + 0x1c6c]
or eax, 0x18
mov dword [ecx + 0x1c6c], eax
add ecx, 0x1da0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041f550
mov edx, dword [ebp - 0x1c]
xorps xmm0, xmm0
push ecx
push 0
lea ecx, [ebp - 0xa4]
movups xmmword [ebp - 0xa4], xmm0
call fcn.00410270
mov edx, dword [0x445600]
add esp, 8
dec dword [edx + 0x1da0]
cmp byte [ebp - 0x38], 0
mov eax, dword [edx + 0x1da8]
mov ecx, dword [edx + 0x1da0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1c6c], eax
jne 0x4386b0
mov al, byte [ebp - 0x3c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c2f6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [eax], edx
jne 0x438a63
mov eax, dword [ecx + 0x1be0]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x4c]
mov edx, dword [edi + 4]
movss xmm2, dword [edi + 0x18]
movss xmm0, dword [eax + 0x108]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [eax + 0x10c]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [edi + 0x14]
and edx, 0xc0
jne 0x438aa5
subss xmm0, dword [esi + 0x48]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm6, dword [0x442e30]
mov eax, 4
xorps xmm1, xmm1
addss xmm0, dword [esi + 0x28]
movss dword [ebp - 0x54], xmm0
movss xmm5, dword [esi + eax + 0x28]
mov eax, dword [ebp - 0x4c]
addss xmm5, xmm1
movss dword [ebp - 0x14], xmm0
movaps xmm1, xmm0
addss xmm1, xmm2
movss dword [eax + 0x108], xmm0
movss dword [ebp - 0x58], xmm5
movaps xmm4, xmm5
movss dword [eax + 0x10c], xmm5
movss dword [ebp - 0x84], xmm1
movss dword [ebp - 0x10], xmm5
movss dword [ebp - 0xc], xmm1
addss xmm4, dword [ebp - 0x6c]
movss dword [ebp - 0x6c], xmm4
movss dword [ebp - 8], xmm4
test edx, edx
jne 0x438caa
movss xmm3, dword [esi + 0x58]
comiss xmm3, xmm0
ja 0x438b2d
comiss xmm1, dword [esi + 0x5c]
jbe 0x438caa
mov ecx, dword [0x445600]
movaps xmm1, xmm0
movss xmm2, dword [esi + 0x5c]
maxss xmm1, xmm3
movaps xmm0, xmm5
mov byte [ebp - 0x15], 1
subss xmm0, xmm6
movss dword [ebp - 0x78], xmm2
mov eax, dword [ecx + 0x1c48]
movaps xmm5, xmm4
movss dword [ebp - 0x74], xmm5
movss dword [ebp - 0x80], xmm1
mov byte [eax + 0xc5], 1
mov edx, dword [ecx + 0x1c48]
mov dword [ebp - 0x94], edx
movss dword [ebp - 0x7c], xmm0
mov edx, dword [edx + 0x2c4]
mov dword [ebp - 0x90], edx
movups xmm3, xmmword [edx + 0x60]
comiss xmm3, xmm1
movups xmmword [ebp - 0xa4], xmm3
jbe 0x438b9e
movaps xmm1, xmm3
movss dword [ebp - 0x80], xmm1
movss xmm3, dword [ebp - 0xa0]
comiss xmm3, xmm0
jbe 0x438bb3
movaps xmm0, xmm3
movss dword [ebp - 0x7c], xmm0
movss xmm3, dword [ebp - 0x9c]
comiss xmm2, xmm3
jbe 0x438bc8
movaps xmm2, xmm3
movss dword [ebp - 0x78], xmm2
movss xmm3, dword [ebp - 0x98]
comiss xmm4, xmm3
jbe 0x438bdd
movaps xmm5, xmm3
movss dword [ebp - 0x74], xmm5
comiss xmm1, xmm2
jb 0x438be7
movss dword [ebp - 0x78], xmm1
comiss xmm0, xmm5
jb 0x438bf1
movss dword [ebp - 0x74], xmm0
mov ecx, dword [edx + 0x40]
add edx, 0x3c
mov dword [ebp - 0x30], edx
cmp dword [edx], ecx
jne 0x438c28
test ecx, ecx
je 0x438c10
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x30]
sar eax, 1
add eax, ecx
jmp 0x438c15
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00420080
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov edx, dword [edx + 8]
add eax, eax
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [edx + eax*8], xmm0
mov eax, dword [ebp - 0x90]
mov ecx, eax
inc dword [eax + 0x3c]
movups xmmword [eax + 0x60], xmm0
call fcn.004280a0
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 0x2c4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm2, dword [eax + ecx*8 - 4]
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 xmm1, dword [ebp - 0x84]
movss xmm5, dword [ebp - 0x58]
jmp 0x438cae
mov byte [ebp - 0x15], 0
subss xmm1, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x2c]
subss xmm4, xmm5
movss xmm0, dword [eax + 0x120]
movss xmm7, dword [eax + 0x124]
movss dword [ebp - 0x58], xmm0
movss dword [ebp - 0x88], xmm1
movss xmm1, dword [ecx + 0x15d4]
lea ecx, [ebp - 0x88]
movss dword [ebp - 0x84], xmm4
call fcn.00410140
mov eax, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x58]
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.00410270
add esp, 8
test al, al
jne 0x438d5c
cmp byte [ebp - 0x15], al
je 0x438d29
call fcn.00408b50
mov eax, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x68]
movss dword [eax + 0x108], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [eax + 0x10c], xmm0
mov al, byte [ebp - 0x3c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c2f6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x38]
movzx ecx, al
mov eax, dword [ebp - 0x2c]
inc ecx
shl ecx, 4
or ecx, 0x1000
mov dword [ebp - 0x30], ecx
cmp byte [eax + 0x1f5c], 0
je 0x438dc2
cmp dword [eax + 0x1f7c], 0xffffffff
je 0x438dbc
lea ecx, [eax + 0x1f80]
mov eax, str._IMWINDOW
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x438db0
test dl, dl
je 0x438dac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x438db0
add eax, 2
add ecx, 2
test dl, dl
jne 0x438d90
xor eax, eax
jmp 0x438db5
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 0x30]
test eax, eax
je 0x438dc2
or ecx, 0x200
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1e]
push ecx
push eax
lea eax, [ebp - 0x1d]
push eax
lea ecx, [ebp - 0x14]
call fcn.00433750
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov byte [ebp - 0x46], al
test al, al
je 0x438dec
cmp byte [ebp - 0x38], 0
jne 0x438dec
mov dword [esi + 0x18], edx
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x1c70], edx
sete al
or byte [ebp - 0x1d], al
cmp byte [ebp - 0x1e], 0
je 0x438e1f
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x438e1f
cmp dword [ecx + 0x1c84], edx
jne 0x438e25
cmp byte [ecx + 0x1c90], 0
je 0x438e1f
mov dword [ecx + 0x1cb0], eax
cmp dword [ecx + 0x1c84], edx
mov edx, dword [0x445600]
mov dword [ebp - 0x58], edx
je 0x438e5a
mov eax, dword [edx + 0x1c48]
mov eax, dword [eax + 0x154]
cmp dword [edx + 0x1c70], eax
jne 0x438e4b
mov byte [edx + 0x1c78], 1
cmp dword [edx + 0x1c84], eax
jne 0x438e5a
mov byte [edx + 0x1c91], 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x438e84
mov eax, dword [eax + 0x3bc]
test eax, eax
je 0x438e84
cmp dword [eax + 0x10], 0
jne 0x438e84
test dword [eax + 8], 0x400
jne 0x438e84
cmp dword [eax + 0x1c], 1
jne 0x438e84
mov al, 1
jmp 0x438e86
xor al, al
cmp byte [ebp - 0x1e], 0
je 0x439208
xorps xmm3, xmm3
test al, al
je 0x438f62
cmp byte [edx + 0xec], 0
je 0x438f62
movss xmm0, dword [edx + 0x44c]
comiss xmm0, xmm3
setae al
test al, al
je 0x438f62
mov ecx, dword [ebp - 0x28]
call fcn.0040fd60
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x88]
call fcn.00405310
mov ecx, dword [ebp - 0x58]
mov byte [ecx + 0x1e6a], 1
mov byte [ecx + 0x1c92], 1
mov eax, dword [edx + 0x360]
mov dl, 1
movss xmm1, dword [ecx + 0x38c]
movss xmm0, dword [ecx + 0x390]
subss xmm1, dword [eax + 0x44]
subss xmm0, dword [eax + 0x48]
mov eax, dword [ebp - 0x28]
movss dword [ecx + 0x1ca8], xmm1
movss dword [ecx + 0x1cac], xmm0
test byte [eax + 8], 4
jne 0x438f2c
mov eax, dword [eax + 0x360]
test byte [eax + 8], 4
je 0x438f2e
xor dl, dl
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x3c0]
test eax, eax
je 0x438f4c
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x438f4c
test byte [eax + 8], 4
jne 0x439208
test dl, dl
je 0x439208
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0x1c58], eax
jmp 0x439208
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x50]
jl 0x439208
cmp byte [edx + 0xec], 0
je 0x439208
movss xmm1, dword [edx + 0x30]
movss xmm0, dword [edx + 0x44c]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x439208
xor edx, edx
xorps xmm5, xmm5
cmp byte [ecx + 0x1f5c], dl
jne 0x43903e
test byte [esi + 0xc], 1
jne 0x438fba
cmp dword [ebp - 0x28], edx
je 0x439208
movss xmm1, dword [ecx + 0x378]
comiss xmm3, xmm1
jbe 0x438ffd
movss xmm0, dword [ecx + 0xe4]
movss xmm2, dword [ebp - 0x14]
comiss xmm2, xmm0
jbe 0x438ffd
push dword [ecx + 0xe8]
movaps xmm5, xmm2
mov edx, edi
push dword [ecx + 0xe4]
mov ecx, esi
subss xmm5, xmm0
call fcn.00437f70
add esp, 8
or edx, 0xffffffff
jmp 0x439038
comiss xmm1, xmm3
jbe 0x43903e
movss xmm0, dword [ecx + 0xe4]
movss xmm1, dword [ebp - 0xc]
comiss xmm0, xmm1
jbe 0x43903e
push dword [ecx + 0xe8]
movaps xmm5, xmm0
mov edx, edi
push dword [ecx + 0xe4]
mov ecx, esi
subss xmm5, xmm1
call fcn.00437f70
add esp, 8
mov edx, 1
mov ecx, dword [ebp - 0x2c]
xorps xmm3, xmm3
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x439208
test byte [eax + 8], 4
jne 0x439208
cmp byte [ecx + 0x1f5c], 0
je 0x43906b
mov eax, dword [ebp - 0x1c]
cmp dword [ecx + 0x1f74], eax
je 0x439138
movss xmm2, dword [ecx + 0x19d8]
xor al, al
movss xmm1, dword [ecx + 0x424]
movaps xmm0, xmm2
andps xmm1, xmmword [0x443050]
addss xmm0, xmm2
movaps xmm4, xmm2
mulss xmm4, dword [0x442e60]
subss xmm1, xmm0
mulss xmm1, dword [0x442dd4]
comiss xmm3, xmm1
ja 0x4390b6
movaps xmm3, xmm2
mulss xmm3, dword [0x442e84]
minss xmm3, xmm1
movss xmm0, dword [ecx + 0xe8]
mov ecx, 1
movss xmm1, dword [ebp - 0x10]
mulss xmm2, dword [0x442e54]
subss xmm1, xmm0
movzx eax, al
subss xmm0, dword [ebp - 8]
addss xmm2, xmm3
maxss xmm1, xmm0
comiss xmm1, xmm2
cmovae eax, ecx
comiss xmm5, xmm4
mov dword [ebp - 0x30], eax
jbe 0x439130
test edx, edx
jns 0x43910e
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 0x43912b
jle 0x439130
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 0x439138
mov eax, dword [ebp - 0x30]
test al, al
je 0x439208
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
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.0041f760
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
mov dword [eax + 0x1c58], ecx
mov ecx, dword [ecx + 0x88]
call fcn.00405310
mov ecx, dword [ebp - 0x2c]
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 - 0x1e], 0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x2c4]
mov dword [ebp - 0x30], eax
jne 0x43924b
cmp byte [ebp - 0x1d], 0
jne 0x43924b
cmp byte [ebp - 0x3c], 0
je 0x439238
mov eax, dword [ebp - 0x64]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x439250
cmp byte [ebp - 0x64], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x439250
mov ecx, 0x22
movss xmm1, dword [0x442e30]
call fcn.004035d0
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x14]
push eax
push dword [ebp - 0x40]
call fcn.00439540
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push 1
call fcn.00404670
add esp, 0xc
mov ecx, 8
call fcn.004054f0
test al, al
je 0x4392bc
mov ecx, dword [0x445600]
movss xmm0, dword [ecx + 0x400]
ucomiss xmm0, dword [0x442d98]
lahf
test ah, 0x44
jnp 0x4392ae
cmp byte [ecx + 0x3eb], 0
je 0x4392bc
cmp byte [ebp - 0x38], 0
mov eax, dword [ebp - 0x1c]
jne 0x4392bf
mov dword [esi + 0x18], eax
jmp 0x4392bf
mov eax, dword [ebp - 0x1c]
test byte [esi + 0xc], 8
je 0x4392c9
or dword [ebp - 0x40], 4
cmp dword [ebp - 0x5c], 0
je 0x439305
push eax
xor edx, edx
mov ecx, str.CLOSE
call fcn.00402ee0
mov ecx, eax
add esp, 4
mov eax, dword [0x445600]
cmp dword [eax + 0x1c84], ecx
jne 0x4392f4
mov dword [eax + 0x1c88], ecx
cmp dword [eax + 0x1cbc], ecx
jne 0x439307
mov byte [eax + 0x1cc0], 1
jmp 0x439307
xor ecx, ecx
push dword [esi + 0x78]
lea eax, [ebp - 0x45]
push dword [esi + 0x74]
lea edx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1d]
push eax
push dword [ebp - 0x3c]
push ecx
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
push dword [ebp - 0x44]
push dword [ebp - 0x40]
call fcn.00439990
add esp, 0x24
cmp byte [ebp - 0x1d], 0
je 0x439374
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x439374
mov byte [eax], 0
test byte [edi + 4], 1
jne 0x43936a
mov byte [edi + 0x26], 1
mov eax, dword [esi + 0x1c]
cmp eax, dword [edi]
jne 0x439374
mov eax, dword [ebp - 0x24]
mov dword [edi + 0xc], 0xffffffff
mov dword [esi + 0x18], 0
mov dword [eax], 0
jmp 0x439374
mov eax, dword [edi]
cmp dword [esi + 0x1c], eax
je 0x439374
mov dword [esi + 0x18], eax
cmp byte [ebp - 0x15], 0
je 0x43937f
call fcn.00408b50
cmp byte [ebp - 0x45], 0
mov eax, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x68]
movss dword [eax + 0x108], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [eax + 0x10c], xmm0
je 0x43940f
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
cmp dword [eax + 0x1c70], ecx
jne 0x43940f
cmp byte [ebp - 0x1e], 0
jne 0x43940f
movss xmm0, dword [eax + 0x1c80]
comiss xmm0, dword [eax + 0x2f84]
jbe 0x43940f
xor ecx, ecx
call fcn.004054f0
test al, al
je 0x43940f
test byte [esi + 0xc], 0x20
jne 0x43940f
test byte [edi + 4], 0x10
jne 0x43940f
mov eax, dword [ebp - 0x44]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x4393fe
mov dl, byte [ecx]
test dl, dl
je 0x4393fe
cmp dl, 0x23
jne 0x4393f8
cmp byte [ecx + 1], dl
je 0x4393fe
inc ecx
cmp ecx, 0xffffffff
jb 0x4393e8
push eax
sub ecx, eax
push ecx
push str._.s
call fcn.00410bf0
add esp, 0xc
cmp byte [ebp - 0x38], 0
movzx ecx, byte [ebp - 0x46]
movzx eax, byte [ebp - 0x3c]
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043c2f6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret