Function at 0x4385e0
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 0x43862c
mov ecx, esi
call fcn.004372e0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x44]
mov edi, dword [0x445608]
mov dword [ebp - 0x2c], edi
mov ecx, dword [edi + 0x1c48]
mov dword [ebp - 0x4c], ecx
cmp byte [ecx + 0xc8], 0
jne 0x4386c0
push eax
call fcn.00437e30
mov dword [ebp - 0x1c], eax
add esp, 4
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4386d5
cmp byte [eax], 0
jne 0x4386d5
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.0041f560
mov edx, dword [ebp - 0x1c]
xorps xmm0, xmm0
push ecx
push 0
lea ecx, [ebp - 0xa4]
movups xmmword [ebp - 0xa4], xmm0
call fcn.00410280
mov edx, dword [0x445608]
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.0043c4d6
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 0x4386ea
xor eax, eax
mov dword [ebp - 0x5c], eax
jmp 0x4386f7
test eax, eax
jne 0x4386f9
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.00439450
mov ecx, dword [ebp - 0x1c]
add esp, 4
test ecx, ecx
je 0x43872c
mov edx, dword [esi]
xor eax, eax
test edx, edx
jle 0x43872c
mov edi, dword [esi + 8]
cmp dword [edi], ecx
je 0x43872e
inc eax
add edi, 0x28
cmp eax, edx
jl 0x438720
xor edi, edi
or eax, 0xffffffff
mov byte [ebp - 0x15], 0
test edi, edi
jne 0x4387a9
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.00439f20
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 0x4387ae
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 0x438831
or eax, 0xffffffff
mov word [edi + 0x20], ax
jmp 0x438927
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 0x438850
sub ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x44]
inc ecx
add ecx, eax
je 0x438866
sub ecx, eax
jmp 0x43887a
mov ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x34], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438870
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 0x4388bb
add eax, eax
cmp edx, eax
cmovg eax, edx
push eax
call fcn.0041ff10
mov edx, dword [ebp - 0x3c]
lea ecx, [esi + 0x84]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x34], eax
cmp edx, eax
jle 0x4388f9
test eax, eax
je 0x4388d8
cdq
sub eax, edx
mov edx, dword [ebp - 0x3c]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x34]
jmp 0x4388dd
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [esi + 0x84]
push eax
call fcn.0041ff10
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 0x438954
test byte [esi + 0xc], 2
je 0x438954
cmp dword [esi + 0x18], 0
jne 0x438954
cmp edx, eax
jge 0x438945
cmp dword [esi + 0x14], 0
jne 0x438954
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
test al, al
jne 0x43895a
mov dword [esi + 0x18], edx
jmp 0x43895a
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
test byte [ebp - 0x40], 2
je 0x43896c
cmp dword [esi + 0x14], edx
je 0x43896c
test al, al
jne 0x43896c
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 0x438986
mov byte [esi + 0x68], 1
jmp 0x4389bb
cmp dword [eax], 0
jne 0x4389bb
mov ecx, dword [ebp - 0x50]
cmp dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
jge 0x4389bb
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x24], eax
jne 0x4389bb
cmp dword [esi], 1
mov dword [ebp - 0x24], eax
jne 0x4389bb
test byte [esi + 0xc], 2
mov dword [ebp - 0x24], eax
jne 0x4389bb
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 0x438a66
mov ecx, dword [ebp - 0x50]
cmp dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x2c]
jge 0x4389df
cmp byte [ebp - 0x15], 0
je 0x438a66
mov ecx, dword [0x445608]
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.0041f560
mov edx, dword [ebp - 0x1c]
xorps xmm0, xmm0
push ecx
push 0
lea ecx, [ebp - 0xa4]
movups xmmword [ebp - 0xa4], xmm0
call fcn.00410280
mov edx, dword [0x445608]
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 0x4386c0
mov al, byte [ebp - 0x3c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c4d6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [eax], edx
jne 0x438a73
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 0x438ab5
subss xmm0, dword [esi + 0x48]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm6, dword [0x442e3c]
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 0x438cba
movss xmm3, dword [esi + 0x58]
comiss xmm3, xmm0
ja 0x438b3d
comiss xmm1, dword [esi + 0x5c]
jbe 0x438cba
mov ecx, dword [0x445608]
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 0x438bae
movaps xmm1, xmm3
movss dword [ebp - 0x80], xmm1
movss xmm3, dword [ebp - 0xa0]
comiss xmm3, xmm0
jbe 0x438bc3
movaps xmm0, xmm3
movss dword [ebp - 0x7c], xmm0
movss xmm3, dword [ebp - 0x9c]
comiss xmm2, xmm3
jbe 0x438bd8
movaps xmm2, xmm3
movss dword [ebp - 0x78], xmm2
movss xmm3, dword [ebp - 0x98]
comiss xmm4, xmm3
jbe 0x438bed
movaps xmm5, xmm3
movss dword [ebp - 0x74], xmm5
comiss xmm1, xmm2
jb 0x438bf7
movss dword [ebp - 0x78], xmm1
comiss xmm0, xmm5
jb 0x438c01
movss dword [ebp - 0x74], xmm0
mov ecx, dword [edx + 0x40]
add edx, 0x3c
mov dword [ebp - 0x30], edx
cmp dword [edx], ecx
jne 0x438c38
test ecx, ecx
je 0x438c20
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x30]
sar eax, 1
add eax, ecx
jmp 0x438c25
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00420090
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.004280d0
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 0x438cbe
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.00410150
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.00410280
add esp, 8
test al, al
jne 0x438d6c
cmp byte [ebp - 0x15], al
je 0x438d39
call fcn.00408b60
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.0043c4d6
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 0x438dd2
cmp dword [eax + 0x1f7c], 0xffffffff
je 0x438dcc
lea ecx, [eax + 0x1f80]
mov eax, str._IMWINDOW
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x438dc0
test dl, dl
je 0x438dbc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x438dc0
add eax, 2
add ecx, 2
test dl, dl
jne 0x438da0
xor eax, eax
jmp 0x438dc5
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 0x30]
test eax, eax
je 0x438dd2
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.00433770
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov byte [ebp - 0x46], al
test al, al
je 0x438dfc
cmp byte [ebp - 0x38], 0
jne 0x438dfc
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 0x438e2f
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x438e2f
cmp dword [ecx + 0x1c84], edx
jne 0x438e35
cmp byte [ecx + 0x1c90], 0
je 0x438e2f
mov dword [ecx + 0x1cb0], eax
cmp dword [ecx + 0x1c84], edx
mov edx, dword [0x445608]
mov dword [ebp - 0x58], edx
je 0x438e6a
mov eax, dword [edx + 0x1c48]
mov eax, dword [eax + 0x154]
cmp dword [edx + 0x1c70], eax
jne 0x438e5b
mov byte [edx + 0x1c78], 1
cmp dword [edx + 0x1c84], eax
jne 0x438e6a
mov byte [edx + 0x1c91], 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x438e94
mov eax, dword [eax + 0x3bc]
test eax, eax
je 0x438e94
cmp dword [eax + 0x10], 0
jne 0x438e94
test dword [eax + 8], 0x400
jne 0x438e94
cmp dword [eax + 0x1c], 1
jne 0x438e94
mov al, 1
jmp 0x438e96
xor al, al
cmp byte [ebp - 0x1e], 0
je 0x439218
xorps xmm3, xmm3
test al, al
je 0x438f72
cmp byte [edx + 0xec], 0
je 0x438f72
movss xmm0, dword [edx + 0x44c]
comiss xmm0, xmm3
setae al
test al, al
je 0x438f72
mov ecx, dword [ebp - 0x28]
call fcn.0040fd70
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x88]
call fcn.00405320
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 0x438f3c
mov eax, dword [eax + 0x360]
test byte [eax + 8], 4
je 0x438f3e
xor dl, dl
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x3c0]
test eax, eax
je 0x438f5c
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x438f5c
test byte [eax + 8], 4
jne 0x439218
test dl, dl
je 0x439218
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0x1c58], eax
jmp 0x439218
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x50]
jl 0x439218
cmp byte [edx + 0xec], 0
je 0x439218
movss xmm1, dword [edx + 0x30]
movss xmm0, dword [edx + 0x44c]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x439218
xor edx, edx
xorps xmm5, xmm5
cmp byte [ecx + 0x1f5c], dl
jne 0x43904e
test byte [esi + 0xc], 1
jne 0x438fca
cmp dword [ebp - 0x28], edx
je 0x439218
movss xmm1, dword [ecx + 0x378]
comiss xmm3, xmm1
jbe 0x43900d
movss xmm0, dword [ecx + 0xe4]
movss xmm2, dword [ebp - 0x14]
comiss xmm2, xmm0
jbe 0x43900d
push dword [ecx + 0xe8]
movaps xmm5, xmm2
mov edx, edi
push dword [ecx + 0xe4]
mov ecx, esi
subss xmm5, xmm0
call fcn.00437f80
add esp, 8
or edx, 0xffffffff
jmp 0x439048
comiss xmm1, xmm3
jbe 0x43904e
movss xmm0, dword [ecx + 0xe4]
movss xmm1, dword [ebp - 0xc]
comiss xmm0, xmm1
jbe 0x43904e
push dword [ecx + 0xe8]
movaps xmm5, xmm0
mov edx, edi
push dword [ecx + 0xe4]
mov ecx, esi
subss xmm5, xmm1
call fcn.00437f80
add esp, 8
mov edx, 1
mov ecx, dword [ebp - 0x2c]
xorps xmm3, xmm3
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x439218
test byte [eax + 8], 4
jne 0x439218
cmp byte [ecx + 0x1f5c], 0
je 0x43907b
mov eax, dword [ebp - 0x1c]
cmp dword [ecx + 0x1f74], eax
je 0x439148
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 [0x442e68]
subss xmm1, xmm0
mulss xmm1, dword [0x442de0]
comiss xmm3, xmm1
ja 0x4390c6
movaps xmm3, xmm2
mulss xmm3, dword [0x442e8c]
minss xmm3, xmm1
movss xmm0, dword [ecx + 0xe8]
mov ecx, 1
movss xmm1, dword [ebp - 0x10]
mulss xmm2, dword [0x442e5c]
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 0x439140
test edx, edx
jns 0x43911e
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 0x43913b
jle 0x439140
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 0x439148
mov eax, dword [ebp - 0x30]
test al, al
je 0x439218
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.0041f770
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.00405320
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 0x43925b
cmp byte [ebp - 0x1d], 0
jne 0x43925b
cmp byte [ebp - 0x3c], 0
je 0x439248
mov eax, dword [ebp - 0x64]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x439260
cmp byte [ebp - 0x64], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x439260
mov ecx, 0x22
movss xmm1, dword [0x442e3c]
call fcn.004035e0
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x14]
push eax
push dword [ebp - 0x40]
call fcn.00439550
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push 1
call fcn.00404680
add esp, 0xc
mov ecx, 8
call fcn.00405500
test al, al
je 0x4392cc
mov ecx, dword [0x445608]
movss xmm0, dword [ecx + 0x400]
ucomiss xmm0, dword [0x442da4]
lahf
test ah, 0x44
jnp 0x4392be
cmp byte [ecx + 0x3eb], 0
je 0x4392cc
cmp byte [ebp - 0x38], 0
mov eax, dword [ebp - 0x1c]
jne 0x4392cf
mov dword [esi + 0x18], eax
jmp 0x4392cf
mov eax, dword [ebp - 0x1c]
test byte [esi + 0xc], 8
je 0x4392d9
or dword [ebp - 0x40], 4
cmp dword [ebp - 0x5c], 0
je 0x439315
push eax
xor edx, edx
mov ecx, str.CLOSE
call fcn.00402ef0
mov ecx, eax
add esp, 4
mov eax, dword [0x445608]
cmp dword [eax + 0x1c84], ecx
jne 0x439304
mov dword [eax + 0x1c88], ecx
cmp dword [eax + 0x1cbc], ecx
jne 0x439317
mov byte [eax + 0x1cc0], 1
jmp 0x439317
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.004399a0
add esp, 0x24
cmp byte [ebp - 0x1d], 0
je 0x439384
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x439384
mov byte [eax], 0
test byte [edi + 4], 1
jne 0x43937a
mov byte [edi + 0x26], 1
mov eax, dword [esi + 0x1c]
cmp eax, dword [edi]
jne 0x439384
mov eax, dword [ebp - 0x24]
mov dword [edi + 0xc], 0xffffffff
mov dword [esi + 0x18], 0
mov dword [eax], 0
jmp 0x439384
mov eax, dword [edi]
cmp dword [esi + 0x1c], eax
je 0x439384
mov dword [esi + 0x18], eax
cmp byte [ebp - 0x15], 0
je 0x43938f
call fcn.00408b60
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 0x43941f
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
cmp dword [eax + 0x1c70], ecx
jne 0x43941f
cmp byte [ebp - 0x1e], 0
jne 0x43941f
movss xmm0, dword [eax + 0x1c80]
comiss xmm0, dword [eax + 0x2f84]
jbe 0x43941f
xor ecx, ecx
call fcn.00405500
test al, al
je 0x43941f
test byte [esi + 0xc], 0x20
jne 0x43941f
test byte [edi + 4], 0x10
jne 0x43941f
mov eax, dword [ebp - 0x44]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x43940e
mov dl, byte [ecx]
test dl, dl
je 0x43940e
cmp dl, 0x23
jne 0x439408
cmp byte [ecx + 1], dl
je 0x43940e
inc ecx
cmp ecx, 0xffffffff
jb 0x4393f8
push eax
sub ecx, eax
push ecx
push str._.s
call fcn.00410c00
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.0043c4d6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret