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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x100af010]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x100aff30]
push edi
mov edi, ecx
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], eax
cmp byte [edi + 0x6f], 0
mov dword [esp + 0x18], esi
je 0x1004b65d
movups xmm0, xmmword [esi + 0x49c8]
movaps xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [esi + 0x49d8]
movaps xmmword [esp + 0x50], xmm0
call fcn.10049f50
movaps xmm0, xmmword [esp + 0x70]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
movups xmmword [esi + 0x49c8], xmm0
movaps xmm0, xmmword [esp + 0x50]
movups xmmword [esi + 0x49d8], xmm0
mov ecx, dword [esi + 0x4068]
mov dword [esp + 0x38], ecx
cmp byte [ecx + 0xec], 0
jne 0x1004b6a6
push eax
call fcn.1004ae00
mov edx, dword [esp + 0x4c]
add esp, 4
mov ecx, eax
mov dword [esp + 0x1c], ecx
test edx, edx
je 0x1004b6bc
cmp byte [edx], 0
jne 0x1004b6bc
xorps xmm0, xmm0
mov edx, ecx
push 8
push 0
lea ecx, [esp + 0x78]
movups xmmword [esp + 0x78], xmm0
call fcn.10015460
add esp, 8
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.1006db86
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
test eax, 0x100000
je 0x1004b6d4
mov dword [esp + 0x48], 0
jmp 0x1004b6e1
test edx, edx
jne 0x1004b6e1
or eax, 0x100000
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x1004b713
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x1004b713
mov esi, dword [edi + 8]
mov dword [esp + 0x14], esi
cmp dword [esi], ecx
je 0x1004b706
inc eax
add esi, 0x30
mov dword [esp + 0x14], esi
cmp eax, edx
jl 0x1004b6f4
jmp 0x1004b713
mov byte [esp + 0x12], 0
test esi, esi
jne 0x1004b7ba
or eax, 0xffffffff
mov dword [esp + 0x90], 0
mov word [esp + 0xb2], ax
xorps xmm0, xmm0
mov word [esp + 0xb0], ax
mov ecx, edi
lea eax, [esp + 0x88]
movlpd qword [esp + 0x88], xmm0
push eax
movlpd qword [esp + 0xa0], xmm0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0xac], 0xbf800000
mov dword [esp + 0xb0], 0xffffffff
call fcn.1004cba0
mov eax, dword [edi]
mov esi, dword [edi + 8]
add esi, 0xffffffd0
mov byte [esp + 0x12], 1
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x1c]
shl ecx, 4
add esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], eax
mov byte [edi + 0x71], 1
mov eax, dword [edi + 8]
mov ecx, esi
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x48], 0
mov word [edi + 0x74], ax
jne 0x1004b7e8
test byte [esp + 0x2c], 1
jne 0x1004b7e8
xor al, al
jmp 0x1004b7ea
mov al, 1
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x50]
push eax
call fcn.1004c3b0
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x20], 0xbf800000
test byte [edx + 0x49c8], 1
je 0x1004b81e
movss xmm1, dword [edx + 0x49d8]
movss dword [esi + 0x20], xmm1
jmp 0x1004b824
movss xmm1, dword [esp + 0x50]
cmp byte [esp + 0x12], 0
movss xmm6, dword [0x100aa18c]
je 0x1004b83f
movaps xmm0, xmm6
maxss xmm0, xmm1
movss dword [esi + 0x18], xmm0
movss dword [esi + 0x1c], xmm1
movzx ecx, word [edi + 0x72]
lea eax, [ecx + 1]
mov word [edi + 0x72], ax
mov word [esi + 0x28], cx
mov eax, dword [edi + 0x24]
mov ecx, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x3fe0]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0xc]
inc eax
mov dword [esp + 0x20], eax
test cl, 1
je 0x1004b890
test byte [esi + 4], 1
mov byte [esp + 0x13], 1
je 0x1004b895
mov byte [esp + 0x13], 0
mov eax, ecx
mov dword [esi + 4], ecx
shr eax, 0x15
and eax, 0xffffff01
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 8], eax
test eax, eax
je 0x1004b8c1
mov dword [esi + 0x24], 0xffffffff
jmp 0x1004b90f
mov ecx, dword [edi + 0x8c]
mov edx, dword [esp + 0x3c]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [esi + 0x24], ecx
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1004b8e0
sub edx, ecx
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + 1]
add eax, edx
push eax
push ecx
lea ecx, [edi + 0x8c]
call fcn.10004ad0
movss xmm6, dword [0x100aa18c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp byte [esp + 0x40], 0
jne 0x1004b956
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x20], eax
jge 0x1004b941
test byte [edi + 0xc], 2
je 0x1004b941
cmp dword [edi + 0x18], 0
jne 0x1004b941
cmp dword [esp + 0x28], eax
jge 0x1004b93c
cmp dword [edi + 0x14], 0
jne 0x1004b941
mov eax, dword [esi]
mov dword [edi + 0x18], eax
test cl, 2
mov ecx, dword [esp + 0x1c]
je 0x1004b95a
cmp dword [edi + 0x14], ecx
je 0x1004b95a
mov eax, dword [esi]
mov dword [edi + 0x18], eax
jmp 0x1004b95a
mov ecx, dword [esp + 0x1c]
cmp dword [edi + 0x1c], ecx
sete dl
mov dword [esp + 0x44], edx
mov byte [esp + 0x6c], dl
mov edx, dword [esp + 0x18]
jne 0x1004b972
mov byte [edi + 0x70], 1
cmp byte [esp + 0x44], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], 1
jne 0x1004b9b9
cmp dword [edi + 0x14], 0
jne 0x1004b9b9
cmp eax, dword [esp + 0x34]
jge 0x1004b9b9
cmp dword [esp + 0x24], 0
jne 0x1004b9b9
cmp dword [edi], 1
jne 0x1004b9b9
mov eax, dword [esp + 0x44]
test byte [edi + 0xc], 2
movzx eax, al
cmove eax, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov byte [esp + 0x6c], al
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
jge 0x1004ba0f
cmp eax, dword [esp + 0x34]
jge 0x1004b9d4
cmp byte [esp + 0x12], 0
je 0x1004ba0f
xorps xmm0, xmm0
mov edx, ecx
push 8
push 0
lea ecx, [esp + 0x78]
movups xmmword [esp + 0x78], xmm0
call fcn.10015460
add esp, 8
cmp byte [esp + 0x40], 0
je 0x1004bc61
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.1006db86
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x14], ecx
jne 0x1004ba1d
mov eax, dword [edx + 0x3fe0]
mov dword [esi + 0x10], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 4]
movss xmm5, dword [esi + 0x18]
movss xmm1, dword [edi + 0x2c]
movss xmm0, dword [edx + 0x130]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [edx + 0x134]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esi + 0x14]
and ecx, 0xc0
jne 0x1004ba70
subss xmm0, dword [edi + 0x48]
xorps xmm4, xmm4
addss xmm1, xmm4
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jmp 0x1004ba77
xorps xmm2, xmm2
addss xmm1, xmm2
movaps xmm4, xmm1
movaps xmm2, xmm4
addss xmm0, dword [edi + 0x28]
movss dword [edx + 0x130], xmm0
movss dword [edx + 0x134], xmm1
movss xmm3, dword [edx + 0x130]
movss dword [esp + 0xb8], xmm3
movaps xmm1, xmm3
movss dword [esp + 0xbc], xmm4
addss xmm1, xmm5
addss xmm2, dword [esp + 0x54]
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0xc4], xmm2
test ecx, ecx
jne 0x1004bbb1
movss xmm5, dword [edi + 0x58]
comiss xmm5, xmm3
ja 0x1004bae7
comiss xmm1, dword [edi + 0x5c]
jbe 0x1004bbb1
mov ecx, dword [0x100aff30]
maxss xmm3, xmm5
movss xmm0, dword [edi + 0x5c]
subss xmm4, xmm6
push 1
mov byte [esp + 0x16], 1
mov eax, dword [ecx + 0x4068]
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x58], xmm2
movss dword [esp + 0x74], xmm3
mov byte [eax + 0xe9], 1
lea eax, [esp + 0x54]
mov esi, dword [ecx + 0x4068]
push eax
lea eax, [esp + 0x78]
movss dword [esp + 0x7c], xmm4
push eax
mov ecx, dword [esi + 0x2ac]
call fcn.100306b0
mov eax, dword [esi + 0x2ac]
mov edx, dword [esp + 0x38]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
movss xmm0, dword [eax + ecx*8 - 0xc]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esi + 0x250], eax
movss dword [esi + 0x254], xmm0
movss dword [esi + 0x258], xmm1
movss dword [esi + 0x25c], xmm2
movss xmm2, dword [esp + 0xc4]
movss xmm1, dword [esp + 0xc0]
movss xmm4, dword [esp + 0xbc]
movss xmm3, dword [esp + 0xb8]
mov esi, dword [esp + 0x14]
jmp 0x1004bbb6
mov byte [esp + 0x12], 0
mov ecx, dword [esp + 0x18]
subss xmm1, xmm3
movss xmm0, dword [edx + 0x148]
subss xmm2, xmm4
movss dword [esp + 0x14], xmm0
movss xmm0, dword [edx + 0x14c]
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x70], xmm1
movss xmm1, dword [ecx + 0x3994]
lea ecx, [esp + 0x70]
movss dword [esp + 0x74], xmm2
call fcn.10015790
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0xb8]
movss xmm0, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push 0
movss dword [eax + 0x148], xmm0
movss xmm0, dword [esp + 0x54]
push 0
movss dword [eax + 0x14c], xmm0
call fcn.10015460
add esp, 8
test al, al
jne 0x1004bc79
cmp byte [esp + 0x12], al
je 0x1004bc41
call fcn.1000a580
mov eax, dword [esp + 0x38]
movss xmm0, dword [esp + 0x28]
movss dword [eax + 0x130], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [eax + 0x134], xmm0
mov al, byte [esp + 0x44]
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.1006db86
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x40]
movzx ecx, al
mov eax, dword [esp + 0x18]
inc ecx
shl ecx, 4
or ecx, 0x1000
mov dword [esp + 0x14], ecx
cmp byte [eax + 0x4d84], 0
je 0x1004bce3
cmp dword [eax + 0x4da4], 0xffffffff
je 0x1004bcdd
lea ecx, [eax + 0x4da8]
mov eax, str._IMWINDOW
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1004bcd0
test dl, dl
je 0x1004bccc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1004bcd0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1004bcb0
xor eax, eax
jmp 0x1004bcd5
sbb eax, eax
or eax, 1
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x1004bce3
or ecx, 0x200
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0xca]
push ecx
push eax
lea eax, [esp + 0xd3]
push eax
lea ecx, [esp + 0xc4]
call fcn.1003cfd0
add esp, 0xc
mov byte [esp + 0x33], al
test al, al
je 0x1004bd1b
cmp byte [esp + 0x40], 0
jne 0x1004bd1b
mov eax, dword [esi]
mov dword [edi + 0x18], eax
mov edx, dword [esp + 0x24]
test edx, edx
je 0x1004bd73
cmp byte [esp + 0xca], 0
je 0x1004bd4c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0x40b8], ecx
jne 0x1004bd4c
cmp byte [eax + 0x40c4], 0
je 0x1004bd4c
mov dword [eax + 0x40d8], edx
mov eax, dword [edx + 0x3c4]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004bd7b
cmp dword [eax + 0x18], 0
jne 0x1004bd7b
test dword [eax + 0x10], 0x400
jne 0x1004bd7b
cmp dword [eax + 0x24], 1
jne 0x1004bd7b
mov al, 1
jmp 0x1004bd7d
mov dword [esp + 0x14], 0
xor al, al
cmp byte [esp + 0xca], 0
je 0x1004c0c7
mov ecx, dword [0x100aff30]
xorps xmm3, xmm3
test al, al
je 0x1004bdbf
cmp byte [ecx + 0xe10], 0
je 0x1004bdbf
movss xmm0, dword [ecx + 0x38b0]
comiss xmm0, xmm3
setae al
test al, al
je 0x1004bdbf
mov ecx, edx
call fcn.100084f0
jmp 0x1004c0c7
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x34]
jl 0x1004c0c7
cmp byte [ecx + 0xe10], 0
je 0x1004c0c7
movss xmm1, dword [ecx + 0x60]
movss xmm0, dword [ecx + 0x38b0]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x1004c0c7
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x20], ecx
xorps xmm5, xmm5
cmp byte [eax + 0x4d84], cl
jne 0x1004be9c
test byte [edi + 0xc], 1
jne 0x1004be20
test edx, edx
je 0x1004c0c7
movss xmm0, dword [eax + 0xb8]
comiss xmm3, xmm0
jbe 0x1004be4f
movss xmm1, dword [eax + 0xe08]
movss xmm2, dword [esp + 0xb8]
comiss xmm2, xmm1
jbe 0x1004be4f
or ecx, 0xffffffff
movaps xmm5, xmm2
mov dword [esp + 0x20], ecx
jmp 0x1004be75
comiss xmm0, xmm3
jbe 0x1004be9c
movss xmm0, dword [eax + 0xe08]
movss xmm1, dword [esp + 0xc0]
comiss xmm0, xmm1
jbe 0x1004be9c
mov dword [esp + 0x20], 1
movaps xmm5, xmm0
push dword [eax + 0xe0c]
mov edx, esi
subss xmm5, xmm1
push dword [eax + 0xe08]
mov ecx, edi
call fcn.1004af50
mov edx, dword [esp + 0x2c]
xorps xmm3, xmm3
mov eax, dword [esp + 0x20]
add esp, 8
test edx, edx
je 0x1004c0c7
test byte [edx + 0xc], 4
jne 0x1004c0c7
mov ecx, dword [esp + 0x14]
test byte [ecx + 0x10], 0x80
jne 0x1004c0c7
cmp byte [eax + 0x4d84], 0
je 0x1004bed5
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0x4d9c], ecx
je 0x1004bfb0
movss xmm2, dword [eax + 0x3dcc]
xor cl, cl
movss xmm1, dword [eax + 0x3888]
movaps xmm0, xmm2
andps xmm1, xmmword [0x100aa670]
addss xmm0, xmm2
movaps xmm4, xmm2
mulss xmm4, dword [0x100aa1dc]
subss xmm1, xmm0
mulss xmm1, dword [0x100aa120]
comiss xmm3, xmm1
ja 0x1004bf20
movaps xmm3, xmm2
mulss xmm3, dword [0x100aa1f8]
minss xmm3, xmm1
movss xmm0, dword [eax + 0xe0c]
mov eax, 1
movss xmm1, dword [esp + 0xbc]
mulss xmm2, dword [0x100aa1b8]
subss xmm1, xmm0
movzx ecx, cl
subss xmm0, dword [esp + 0xc4]
addss xmm2, xmm3
maxss xmm1, xmm0
comiss xmm1, xmm2
cmovae ecx, eax
comiss xmm5, xmm4
mov dword [esp + 0x14], ecx
jbe 0x1004bfa8
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x1004bf85
mov ecx, esi
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 8]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x1004bfa2
jle 0x1004bfa8
mov ecx, esi
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 8]
imul ecx
mov eax, dword [edi]
sar edx, 3
dec eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
je 0x1004bfb0
mov ecx, dword [esp + 0x14]
test cl, cl
je 0x1004c0c7
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa4], eax
add ecx, 0x5f0c
lea eax, [esp + 0x88]
mov dword [esp + 0x94], 0
push eax
mov dword [esp + 0x90], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0xa0], 0x3f000000
mov byte [esp + 0xa4], 0
mov dword [esp + 0x8c], 2
call fcn.100279d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, ecx
mov dword [eax + 0x4074], ecx
mov ecx, dword [ecx + 0xa8]
call fcn.10007ba0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x4074]
movss xmm0, dword [ecx + 0x40d0]
movss xmm1, dword [eax + 0x4c]
subss xmm1, dword [esp + 0xb8]
movss xmm2, dword [eax + 0x50]
subss xmm2, dword [esp + 0xbc]
mov byte [ecx + 0x40c6], 1
subss xmm0, xmm1
movss dword [ecx + 0x40d0], xmm0
movss xmm0, dword [ecx + 0x40d4]
subss xmm0, xmm2
movss dword [ecx + 0x40d4], xmm0
mov ecx, dword [0x100aff30]
cmp byte [ecx + 0x4bed], 0
mov dword [ecx + 0x49a8], 0xf
setne al
mov byte [ecx + 0x49ac], 1
mov word [ecx + 0x4c28], 0
mov byte [ecx + 0x4bec], al
cmp byte [esp + 0xca], 0
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x2ac]
mov dword [esp + 0x14], eax
jne 0x1004c117
cmp byte [esp + 0xcb], 0
jne 0x1004c117
cmp byte [esp + 0x44], 0
je 0x1004c103
mov eax, dword [esp + 0x68]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x1004c11c
cmp byte [esp + 0x68], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x1004c11c
mov ecx, 0x22
movss xmm1, dword [0x100aa18c]
call fcn.10004c80
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xb8]
push eax
push dword [esp + 0x30]
call fcn.1004c4a0
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xc0]
push 1
call fcn.10005a20
add esp, 0xc
mov ecx, 0x20
call fcn.10007d90
test al, al
je 0x1004c1c4
mov ecx, dword [0x100aff30]
cmp byte [ecx + 0xe11], 0
je 0x1004c19f
movss xmm0, dword [ecx + 0x3864]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1004c19f
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004c19f
xor edx, edx
mov ecx, 0x290
call fcn.10015300
test al, al
jne 0x1004c1b8
mov ecx, dword [0x100aff30]
cmp byte [ecx + 0x384f], 0
je 0x1004c1c4
mov edx, 0x290
call fcn.10003730
cmp byte [eax + 8], 0
jne 0x1004c1c4
cmp byte [esp + 0x40], 0
jne 0x1004c1c4
mov eax, dword [esi]
mov dword [edi + 0x18], eax
test byte [edi + 0xc], 8
je 0x1004c1cf
or dword [esp + 0x2c], 4
cmp dword [esp + 0x48], 0
je 0x1004c223
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1004c1e3
mov eax, dword [eax + 8]
jmp 0x1004c1e7
mov eax, dword [esp + 0x1c]
push eax
xor edx, edx
mov ecx, str.CLOSE
call fcn.100041f0
mov ecx, eax
add esp, 4
mov eax, dword [0x100aff30]
mov dword [esp + 0x20], ecx
cmp dword [eax + 0x40a0], ecx
jne 0x1004c229
push ecx
push str.CLOSE
mov edx, 0xb
call fcn.10027530
mov ecx, dword [esp + 0x28]
add esp, 8
jmp 0x1004c229
xor ecx, ecx
mov dword [esp + 0x20], ecx
movss xmm0, dword [edi + 0x7c]
mov edx, dword [esp + 0x2c]
mov eax, edx
movss dword [esp + 0x50], xmm0
and eax, 0xfffffffe
movss xmm0, dword [edi + 0x80]
cmp byte [esp + 0x13], 0
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
cmovne edx, eax
lea eax, [esp + 0x36]
push dword [esp + 0x54]
push eax
lea eax, [esp + 0x1f]
push eax
push dword [esp + 0x7c]
push ecx
push dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push dword [esp + 0x58]
push edx
lea edx, [esp + 0xdc]
call fcn.1004c750
add esp, 0x24
cmp byte [esp + 0x13], 0
je 0x1004c2d5
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1004c2d5
mov byte [eax], 0
mov eax, dword [esi + 4]
test eax, 0x200000
jne 0x1004c2d5
test eax, 0x101
jne 0x1004c2cb
mov byte [esi + 0x2c], 1
mov eax, dword [edi + 0x1c]
cmp eax, dword [esi]
jne 0x1004c2d5
mov dword [esi + 0xc], 0xffffffff
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
jmp 0x1004c2d5
mov eax, dword [esi]
cmp dword [edi + 0x1c], eax
je 0x1004c2d5
mov dword [edi + 0x18], eax
cmp dword [esp + 0x24], 0
je 0x1004c300
cmp byte [esp + 0xcb], 0
mov eax, dword [esp + 0x18]
jne 0x1004c2f6
mov ecx, dword [esp + 0x20]
cmp dword [eax + 0x40a4], ecx
jne 0x1004c300
or dword [eax + 0x49f0], 0x80
cmp byte [esp + 0x12], 0
je 0x1004c30c
call fcn.1000a580
cmp byte [esp + 0x32], 0
mov eax, dword [esp + 0x38]
movss xmm0, dword [esp + 0x28]
movss dword [eax + 0x130], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [eax + 0x134], xmm0
je 0x1004c38b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0x40a4], ecx
jne 0x1004c38b
cmp byte [esp + 0xca], 0
jne 0x1004c38b
test byte [edi + 0xc], 0x20
jne 0x1004c38b
test byte [esi + 4], 0x10
jne 0x1004c38b
mov edx, dword [esp + 0x3c]
mov eax, edx
cmp edx, 0xffffffff
jae 0x1004c37a
mov cl, byte [eax]
test cl, cl
je 0x1004c37a
cmp cl, 0x23
jne 0x1004c374
cmp byte [eax + 1], cl
je 0x1004c37a
inc eax
cmp eax, 0xffffffff
jb 0x1004c364
push edx
sub eax, edx
push eax
push str._.s
call fcn.10016640
add esp, 0xc
cmp byte [esp + 0x40], 0
je 0x1004bc61
mov ecx, dword [esp + 0xcc]
mov al, byte [esp + 0x33]
pop edi
pop esi
xor ecx, esp
call fcn.1006db86
mov esp, ebp
pop ebp
ret