Function at 0x43c310
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, 0xc8
mov eax, dword [0x4a8040]
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], esi
cmp byte [esi + 0x67], 0
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x28], eax
je 0x43c35f
mov ecx, esi
call fcn.0043b0b0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x44]
mov edi, dword [0x591c50]
mov dword [ebp - 0x24], edi
mov ecx, dword [edi + 0x1c48]
mov dword [ebp - 0x50], ecx
cmp byte [ecx + 0xc8], 0
jne 0x43c3f3
push eax
call fcn.0043bbb0
mov ecx, dword [ebp - 0x58]
add esp, 4
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x43c408
cmp byte [ecx], 0
jne 0x43c408
mov eax, dword [edi + 0x1c6c]
lea ecx, [edi + 0x1da0]
or eax, 0x18
mov dword [ebp - 0x3c], eax
mov dword [edi + 0x1c6c], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00422e80
mov edx, dword [ebp - 0x1c]
xorps xmm0, xmm0
push ecx
push 0
lea ecx, [ebp - 0xa0]
movups xmmword [ebp - 0xa0], xmm0
call fcn.00413900
mov edx, dword [0x591c50]
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.0048f4f0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebx + 0xc]
test eax, 0x100000
je 0x43c419
xor ecx, ecx
mov dword [ebp - 0x58], ecx
jmp 0x43c425
test ecx, ecx
jne 0x43c427
or eax, 0x100000
mov dword [ebx + 0xc], eax
test ecx, ecx
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x74]
setne al
movzx eax, al
push eax
call fcn.0043d150
mov ecx, dword [ebp - 0x1c]
add esp, 4
test ecx, ecx
je 0x43c45c
mov edx, dword [esi]
xor eax, eax
test edx, edx
jle 0x43c45c
mov edi, dword [esi + 8]
nop
cmp dword [edi], ecx
je 0x43c45e
inc eax
add edi, 0x28
cmp eax, edx
jl 0x43c450
xor edi, edi
or eax, 0xffffffff
mov byte [ebp - 0x15], 0
test edi, edi
jne 0x43c4d9
xorps xmm0, xmm0
mov ecx, esi
movq qword [ebp - 0xa8], xmm0
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xbc], eax
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xb8], eax
mov word [ebp - 0xa4], ax
mov word [ebp - 0xa6], ax
mov word [ebp - 0xa8], ax
lea eax, [ebp - 0xc8]
push eax
call fcn.0043dc10
mov eax, dword [esi]
movss xmm0, dword [ebp - 0x74]
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 0x43c4de
movss xmm0, dword [ebp - 0x74]
mov ecx, edi
mov dword [ebp - 0x40], 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 - 0x4c], eax
mov eax, dword [esi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 0xc]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x4c]
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 0x43c56b
or eax, 0xffffffff
mov word [edi + 0x20], ax
jmp 0x43c65f
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 - 0x44]
lea eax, [ecx + 1]
mov dword [ebp - 0x3c], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c590
sub ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
inc ecx
add ecx, eax
je 0x43c5a6
sub ecx, eax
jmp 0x43c5b9
mov ecx, eax
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c5b0
sub ecx, esi
mov eax, dword [edx]
test eax, eax
mov esi, dword [ebp - 0x40]
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 - 0x5c]
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
jl 0x43c5f0
add eax, eax
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.00423b50
mov ecx, dword [ebp - 0x2c]
lea edx, [esi + 0x84]
mov eax, dword [edx + 4]
mov dword [ebp - 0x3c], eax
cmp ecx, eax
jle 0x43c62e
test eax, eax
je 0x43c610
cdq
sub eax, edx
lea edx, [esi + 0x84]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x3c]
jmp 0x43c615
mov ecx, 8
mov eax, dword [ebp - 0x2c]
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.00423b50
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 - 0x44]
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 - 0x34]
mov byte [eax + ecx - 1], 0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x60], eax
jge 0x43c68c
test byte [esi + 0xc], 2
je 0x43c68c
cmp dword [esi + 0x18], 0
jne 0x43c68c
cmp edx, eax
jge 0x43c67d
cmp dword [esi + 0x14], 0
jne 0x43c68c
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
test al, al
jne 0x43c692
mov dword [esi + 0x18], edx
jmp 0x43c692
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
test byte [ebx + 0xc], 2
je 0x43c6a4
cmp dword [esi + 0x14], edx
je 0x43c6a4
test al, al
jne 0x43c6a4
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 - 0x5c], cl
mov ecx, dword [ebp - 0x4c]
jne 0x43c6be
mov byte [esi + 0x68], 1
jmp 0x43c6ea
cmp dword [esi + 0x14], 0
jne 0x43c6ea
cmp eax, ecx
jge 0x43c6ea
cmp dword [ebp - 0x28], 0
jne 0x43c6ea
cmp dword [esi], 1
jne 0x43c6ea
mov eax, dword [ebp - 0x2c]
test byte [esi + 0xc], 2
movzx eax, al
cmove eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x5c], al
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x24]
jge 0x43c78c
cmp eax, dword [ebp - 0x4c]
jge 0x43c705
cmp byte [ebp - 0x15], 0
je 0x43c78c
mov ecx, dword [0x591c50]
mov eax, dword [ecx + 0x1c6c]
or eax, 0x18
mov dword [ecx + 0x1c6c], eax
add ecx, 0x1da0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00422e80
mov edx, dword [ebp - 0x1c]
xorps xmm0, xmm0
push ecx
push 0
lea ecx, [ebp - 0xa0]
movups xmmword [ebp - 0xa0], xmm0
call fcn.00413900
mov edx, dword [0x591c50]
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 0x43c3f3
mov al, byte [ebp - 0x2c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048f4f0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [esi + 0x14], edx
jne 0x43c79a
mov eax, dword [ecx + 0x1be0]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x50]
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 - 0x3c], xmm0
movss xmm0, dword [edi + 0x14]
and edx, 0xc0
jne 0x43c7dc
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 - 0x54], xmm0
movss xmm4, dword [esi + eax + 0x28]
mov eax, dword [ebp - 0x50]
addss xmm4, xmm2
movaps xmm2, xmm0
addss xmm2, xmm1
movss dword [ebp - 0x64], xmm4
movss dword [eax + 0x108], xmm0
movss dword [eax + 0x10c], xmm4
movss xmm3, dword [ebp - 0x70]
movss xmm6, dword [0x4a35c4]
addss xmm3, xmm4
movss dword [ebp - 0x80], xmm2
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 0xc], xmm2
movss dword [ebp - 0x70], xmm3
movss dword [ebp - 8], xmm3
test edx, edx
jne 0x43c9dd
movss xmm5, dword [esi + 0x58]
comiss xmm5, xmm0
movss xmm1, dword [esi + 0x5c]
ja 0x43c866
comiss xmm2, xmm1
jbe 0x43c9dd
mov ecx, dword [0x591c50]
movaps xmm2, xmm0
maxss xmm2, xmm5
mov byte [ebp - 0x15], 1
movaps xmm0, xmm4
movss dword [ebp - 0x88], xmm1
subss xmm0, xmm6
movaps xmm5, xmm3
mov eax, dword [ecx + 0x1c48]
movss dword [ebp - 0x90], xmm2
mov byte [eax + 0xc5], 1
mov eax, dword [ecx + 0x1c48]
mov dword [ebp - 0x7c], eax
movss dword [ebp - 0x8c], xmm0
mov eax, dword [eax + 0x2c4]
mov dword [ebp - 0x78], eax
movups xmm4, xmmword [eax + 0x60]
comiss xmm4, xmm2
movups xmmword [ebp - 0xa0], xmm4
jbe 0x43c8d3
movaps xmm2, xmm4
movss dword [ebp - 0x90], xmm2
movss xmm4, dword [ebp - 0x9c]
comiss xmm4, xmm0
jbe 0x43c8eb
movaps xmm0, xmm4
movss dword [ebp - 0x8c], xmm0
movss xmm4, dword [ebp - 0x98]
comiss xmm1, xmm4
jbe 0x43c8fb
movaps xmm1, xmm4
movss xmm4, dword [ebp - 0x94]
comiss xmm3, xmm4
jbe 0x43c90b
movaps xmm5, xmm4
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
maxss xmm2, xmm1
mov dword [ebp - 0x38], ecx
maxss xmm0, xmm5
movss dword [ebp - 0x88], xmm2
movss dword [ebp - 0x84], xmm0
cmp edx, eax
jne 0x43c95f
lea ecx, [edx + 1]
test eax, eax
je 0x43c947
cdq
sub eax, edx
mov edx, dword [ebp - 0x38]
sar eax, 1
add eax, dword [edx + 4]
jmp 0x43c94f
mov edx, dword [ebp - 0x38]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00423d20
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx]
movups xmm0, xmmword [ebp - 0x90]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0x78]
movups xmmword [ecx + 0x60], xmm0
call fcn.0042bea0
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x2c4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm2, dword [eax + ecx*8 - 4]
movss xmm1, dword [eax + ecx*8 - 8]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edx + 0x268], eax
mov eax, dword [ebp - 0x50]
movss dword [edx + 0x26c], xmm0
movss dword [edx + 0x270], xmm1
movss dword [edx + 0x274], xmm2
movss xmm0, dword [ebp - 0x54]
movss xmm3, dword [ebp - 0x70]
movss xmm2, dword [ebp - 0x80]
movss xmm4, dword [ebp - 0x64]
jmp 0x43c9e1
mov byte [ebp - 0x15], 0
mov ecx, dword [ebp - 0x24]
subss xmm2, xmm0
movss xmm7, dword [eax + 0x120]
subss xmm3, xmm4
movss xmm6, dword [eax + 0x124]
movss xmm1, dword [ecx + 0x15d4]
lea ecx, [ebp - 0x68]
movss dword [ebp - 0x68], xmm2
movss dword [ebp - 0x64], xmm3
call fcn.004137d0
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x1c]
push ecx
push 0
lea ecx, [ebp - 0x14]
movss dword [eax + 0x120], xmm7
movss dword [eax + 0x124], xmm6
call fcn.00413900
add esp, 8
test al, al
jne 0x43ca7b
cmp byte [ebp - 0x15], al
je 0x43ca48
call fcn.0040c920
mov eax, dword [ebp - 0x50]
movss xmm0, dword [ebp - 0x34]
movss dword [eax + 0x108], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [eax + 0x10c], xmm0
mov al, byte [ebp - 0x2c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048f4f0
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 0x43cae2
cmp dword [eax + 0x1f7c], 0xffffffff
je 0x43cadc
lea ecx, [eax + 0x1f80]
mov eax, str._IMWINDOW
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43cad0
test dl, dl
je 0x43cacc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43cad0
add eax, 2
add ecx, 2
test dl, dl
jne 0x43cab0
xor eax, eax
jmp 0x43cad5
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 0x38]
test eax, eax
je 0x43cae2
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.00437d60
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov byte [ebp - 0x45], al
test al, al
je 0x43cb0c
cmp byte [ebp - 0x30], 0
jne 0x43cb0c
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 0x43cb44
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x43cb44
cmp dword [ecx + 0x1c84], edx
jne 0x43cb4a
cmp byte [ecx + 0x1c90], 0
je 0x43cb44
mov dword [ecx + 0x1cb0], eax
cmp dword [ecx + 0x1c84], edx
mov edx, dword [0x591c50]
mov dword [ebp - 0x64], edx
je 0x43cb7f
mov eax, dword [edx + 0x1c48]
mov eax, dword [eax + 0x154]
cmp dword [edx + 0x1c70], eax
jne 0x43cb70
mov byte [edx + 0x1c78], 1
cmp dword [edx + 0x1c84], eax
jne 0x43cb7f
mov byte [edx + 0x1c91], 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x43cba9
mov eax, dword [eax + 0x3bc]
test eax, eax
je 0x43cba9
cmp dword [eax + 0x10], 0
jne 0x43cba9
test dword [eax + 8], 0x400
jne 0x43cba9
cmp dword [eax + 0x1c], 1
jne 0x43cba9
mov al, 1
jmp 0x43cbab
xor al, al
cmp byte [ebp - 0x1d], 0
je 0x43cf26
xorps xmm3, xmm3
test al, al
je 0x43cc84
cmp byte [edx + 0xec], 0
je 0x43cc84
movss xmm0, dword [edx + 0x44c]
comiss xmm0, xmm3
setae al
test al, al
je 0x43cc84
mov ecx, dword [ebp - 0x28]
call fcn.00413190
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x88]
call fcn.00409210
mov ecx, dword [ebp - 0x64]
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 0x43cc50
mov eax, dword [edx + 0x360]
test byte [eax + 8], 4
je 0x43cc54
mov byte [ebp - 0x16], 0
mov eax, dword [edx + 0x3c0]
test eax, eax
je 0x43cc6f
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x43cc6f
test byte [eax + 8], 4
jne 0x43cf26
cmp byte [ebp - 0x16], 0
je 0x43cf26
mov dword [ecx + 0x1c58], edx
jmp 0x43cf26
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x4c]
jl 0x43cf26
cmp byte [edx + 0xec], 0
je 0x43cf26
movss xmm1, dword [edx + 0x30]
movss xmm0, dword [edx + 0x44c]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x43cf26
xor edx, edx
xorps xmm5, xmm5
cmp byte [ecx + 0x1f5c], dl
jne 0x43cd60
test byte [esi + 0xc], 1
jne 0x43ccdc
cmp dword [ebp - 0x28], edx
je 0x43cf26
movss xmm0, dword [ecx + 0x378]
comiss xmm3, xmm0
jbe 0x43cd1f
movss xmm1, dword [ecx + 0xe4]
movss xmm2, dword [ebp - 0x14]
comiss xmm2, xmm1
jbe 0x43cd1f
push dword [ecx + 0xe8]
movaps xmm5, xmm2
mov edx, edi
push dword [ecx + 0xe4]
mov ecx, esi
subss xmm5, xmm1
call fcn.0043bd00
add esp, 8
or edx, 0xffffffff
jmp 0x43cd5a
comiss xmm0, xmm3
jbe 0x43cd60
movss xmm0, dword [ecx + 0xe4]
movss xmm1, dword [ebp - 0xc]
comiss xmm0, xmm1
jbe 0x43cd60
push dword [ecx + 0xe8]
movaps xmm5, xmm0
mov edx, edi
push dword [ecx + 0xe4]
mov ecx, esi
subss xmm5, xmm1
call fcn.0043bd00
add esp, 8
mov edx, 1
mov ecx, dword [ebp - 0x24]
xorps xmm3, xmm3
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x43cf26
test byte [eax + 8], 4
jne 0x43cf26
cmp byte [ecx + 0x1f5c], 0
je 0x43cd8d
mov eax, dword [ebp - 0x1c]
cmp dword [ecx + 0x1f74], eax
je 0x43ce56
movss xmm2, dword [ecx + 0x19d8]
xor al, al
movss xmm1, dword [ecx + 0x424]
movaps xmm0, xmm2
andps xmm1, xmmword [0x4a3a00]
addss xmm0, xmm2
movaps xmm4, xmm2
mulss xmm4, dword [0x4a35f0]
subss xmm1, xmm0
mulss xmm1, dword [0x4a354c]
comiss xmm3, xmm1
ja 0x43cdd8
movaps xmm3, xmm2
mulss xmm3, dword [0x4a3618]
minss xmm3, xmm1
movss xmm0, dword [ecx + 0xe8]
movss xmm1, dword [ebp - 0x10]
mulss xmm2, dword [0x4a35e4]
subss xmm1, xmm0
movzx eax, al
subss xmm0, dword [ebp - 8]
addss xmm2, xmm3
maxss xmm1, xmm0
comiss xmm1, xmm2
cmovae eax, dword [ebp - 0x40]
comiss xmm5, xmm4
mov dword [ebp - 0x40], eax
jbe 0x43ce4e
test edx, edx
jns 0x43ce2c
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 0x43ce49
jle 0x43ce4e
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 0x43ce56
mov eax, dword [ebp - 0x40]
test al, al
je 0x43cf26
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0xa8], eax
add ecx, 0x2fc4
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xb8], 0
push eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb4], 0xffffffff
mov dword [ebp - 0xb0], 0x3f000000
mov byte [ebp - 0xac], 0
mov dword [ebp - 0xc4], 2
call fcn.004231c0
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.00409210
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 - 0x50]
mov eax, dword [eax + 0x2c4]
mov dword [ebp - 0x40], eax
jne 0x43cf69
cmp byte [ebp - 0x1e], 0
jne 0x43cf69
cmp byte [ebp - 0x2c], 0
je 0x43cf56
mov eax, dword [ebp - 0x6c]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x43cf6e
cmp byte [ebp - 0x6c], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x43cf6e
mov ecx, 0x22
movss xmm1, dword [0x4a35c4]
call fcn.00407440
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x14]
push eax
push dword [ebx + 0xc]
call fcn.0043d250
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push 1
call fcn.00408510
add esp, 0xc
mov ecx, 8
call fcn.004093f0
test al, al
je 0x43cfda
mov ecx, dword [0x591c50]
movss xmm0, dword [ecx + 0x400]
ucomiss xmm0, dword [0x4a3500]
lahf
test ah, 0x44
jnp 0x43cfcc
cmp byte [ecx + 0x3eb], 0
je 0x43cfda
cmp byte [ebp - 0x30], 0
mov eax, dword [ebp - 0x1c]
jne 0x43cfdd
mov dword [esi + 0x18], eax
jmp 0x43cfdd
mov eax, dword [ebp - 0x1c]
test byte [esi + 0xc], 8
je 0x43cfe7
or dword [ebx + 0xc], 4
cmp dword [ebp - 0x58], 0
je 0x43d023
push eax
xor edx, edx
mov ecx, str.CLOSE
call fcn.00406d80
mov ecx, eax
add esp, 4
mov eax, dword [0x591c50]
cmp dword [eax + 0x1c84], ecx
jne 0x43d012
mov dword [eax + 0x1c88], ecx
cmp dword [eax + 0x1cbc], ecx
jne 0x43d025
mov byte [eax + 0x1cc0], 1
jmp 0x43d025
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 - 0x5c]
push ecx
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebx + 0xc]
call fcn.0043d6a0
add esp, 0x24
cmp byte [ebp - 0x1e], 0
je 0x43d090
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x43d090
mov byte [eax], 0
test byte [edi + 4], 1
jne 0x43d086
mov byte [edi + 0x26], 1
mov eax, dword [esi + 0x1c]
cmp eax, dword [edi]
jne 0x43d090
mov dword [edi + 0xc], 0xffffffff
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
jmp 0x43d090
mov eax, dword [edi]
cmp dword [esi + 0x1c], eax
je 0x43d090
mov dword [esi + 0x18], eax
cmp byte [ebp - 0x15], 0
je 0x43d09b
call fcn.0040c920
cmp byte [ebp - 0x16], 0
mov eax, dword [ebp - 0x50]
movss xmm0, dword [ebp - 0x34]
movss dword [eax + 0x108], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [eax + 0x10c], xmm0
je 0x43d12b
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
cmp dword [eax + 0x1c70], ecx
jne 0x43d12b
cmp byte [ebp - 0x1d], 0
jne 0x43d12b
movss xmm0, dword [eax + 0x1c80]
comiss xmm0, dword [eax + 0x2f84]
jbe 0x43d12b
xor ecx, ecx
call fcn.004093f0
test al, al
je 0x43d12b
test byte [esi + 0xc], 0x20
jne 0x43d12b
test byte [edi + 4], 0x10
jne 0x43d12b
mov eax, dword [ebp - 0x44]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x43d11a
mov dl, byte [ecx]
test dl, dl
je 0x43d11a
cmp dl, 0x23
jne 0x43d114
cmp byte [ecx + 1], dl
je 0x43d11a
inc ecx
cmp ecx, 0xffffffff
jb 0x43d104
push eax
sub ecx, eax
push ecx
push str._.s
call fcn.004142a0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
cmp byte [ebp - 0x30], 0
movzx ecx, byte [ebp - 0x45]
movzx eax, al
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0048f4f0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret