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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x100a7010]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x100a79b0]
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 0x1004ab7d
movups xmm0, xmmword [esi + 0x49c8]
movaps xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [esi + 0x49d8]
movaps xmmword [esp + 0x50], xmm0
call fcn.10049470
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 0x1004abc6
push eax
call fcn.1004a320
mov edx, dword [esp + 0x4c]
add esp, 4
mov ecx, eax
mov dword [esp + 0x1c], ecx
test edx, edx
je 0x1004abdc
cmp byte [edx], 0
jne 0x1004abdc
xorps xmm0, xmm0
mov edx, ecx
push 8
push 0
lea ecx, [esp + 0x78]
movups xmmword [esp + 0x78], xmm0
call fcn.10015210
add esp, 8
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.10068185
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
test eax, 0x100000
je 0x1004abf4
mov dword [esp + 0x48], 0
jmp 0x1004ac01
test edx, edx
jne 0x1004ac01
or eax, 0x100000
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x1004ac33
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x1004ac33
mov esi, dword [edi + 8]
mov dword [esp + 0x14], esi
cmp dword [esi], ecx
je 0x1004ac26
inc eax
add esi, 0x30
mov dword [esp + 0x14], esi
cmp eax, edx
jl 0x1004ac14
jmp 0x1004ac33
mov byte [esp + 0x12], 0
test esi, esi
jne 0x1004acda
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.1004c0c0
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 0x1004ad08
test byte [esp + 0x2c], 1
jne 0x1004ad08
xor al, al
jmp 0x1004ad0a
mov al, 1
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x50]
push eax
call fcn.1004b8d0
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x20], 0xbf800000
test byte [edx + 0x49c8], 1
je 0x1004ad3e
movss xmm1, dword [edx + 0x49d8]
movss dword [esi + 0x20], xmm1
jmp 0x1004ad44
movss xmm1, dword [esp + 0x50]
cmp byte [esp + 0x12], 0
movss xmm6, dword [0x100a2c38]
je 0x1004ad5f
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 0x1004adb0
test byte [esi + 4], 1
mov byte [esp + 0x13], 1
je 0x1004adb5
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 0x1004ade1
mov dword [esi + 0x24], 0xffffffff
jmp 0x1004ae2f
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 0x1004ae00
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.10004870
movss xmm6, dword [0x100a2c38]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp byte [esp + 0x40], 0
jne 0x1004ae76
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x20], eax
jge 0x1004ae61
test byte [edi + 0xc], 2
je 0x1004ae61
cmp dword [edi + 0x18], 0
jne 0x1004ae61
cmp dword [esp + 0x28], eax
jge 0x1004ae5c
cmp dword [edi + 0x14], 0
jne 0x1004ae61
mov eax, dword [esi]
mov dword [edi + 0x18], eax
test cl, 2
mov ecx, dword [esp + 0x1c]
je 0x1004ae7a
cmp dword [edi + 0x14], ecx
je 0x1004ae7a
mov eax, dword [esi]
mov dword [edi + 0x18], eax
jmp 0x1004ae7a
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 0x1004ae92
mov byte [edi + 0x70], 1
cmp byte [esp + 0x44], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], 1
jne 0x1004aed9
cmp dword [edi + 0x14], 0
jne 0x1004aed9
cmp eax, dword [esp + 0x34]
jge 0x1004aed9
cmp dword [esp + 0x24], 0
jne 0x1004aed9
cmp dword [edi], 1
jne 0x1004aed9
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 0x1004af2f
cmp eax, dword [esp + 0x34]
jge 0x1004aef4
cmp byte [esp + 0x12], 0
je 0x1004af2f
xorps xmm0, xmm0
mov edx, ecx
push 8
push 0
lea ecx, [esp + 0x78]
movups xmmword [esp + 0x78], xmm0
call fcn.10015210
add esp, 8
cmp byte [esp + 0x40], 0
je 0x1004b181
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.10068185
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x14], ecx
jne 0x1004af3d
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 0x1004af90
subss xmm0, dword [edi + 0x48]
xorps xmm4, xmm4
addss xmm1, xmm4
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jmp 0x1004af97
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 0x1004b0d1
movss xmm5, dword [edi + 0x58]
comiss xmm5, xmm3
ja 0x1004b007
comiss xmm1, dword [edi + 0x5c]
jbe 0x1004b0d1
mov ecx, dword [0x100a79b0]
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.10030450
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 0x1004b0d6
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.10015540
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.10015210
add esp, 8
test al, al
jne 0x1004b199
cmp byte [esp + 0x12], al
je 0x1004b161
call fcn.1000a320
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.10068185
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 0x1004b203
cmp dword [eax + 0x4da4], 0xffffffff
je 0x1004b1fd
lea ecx, [eax + 0x4da8]
mov eax, str._IMWINDOW
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1004b1f0
test dl, dl
je 0x1004b1ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1004b1f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1004b1d0
xor eax, eax
jmp 0x1004b1f5
sbb eax, eax
or eax, 1
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x1004b203
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.1003cd70
add esp, 0xc
mov byte [esp + 0x33], al
test al, al
je 0x1004b23b
cmp byte [esp + 0x40], 0
jne 0x1004b23b
mov eax, dword [esi]
mov dword [edi + 0x18], eax
mov edx, dword [esp + 0x24]
test edx, edx
je 0x1004b293
cmp byte [esp + 0xca], 0
je 0x1004b26c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0x40b8], ecx
jne 0x1004b26c
cmp byte [eax + 0x40c4], 0
je 0x1004b26c
mov dword [eax + 0x40d8], edx
mov eax, dword [edx + 0x3c4]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004b29b
cmp dword [eax + 0x18], 0
jne 0x1004b29b
test dword [eax + 0x10], 0x400
jne 0x1004b29b
cmp dword [eax + 0x24], 1
jne 0x1004b29b
mov al, 1
jmp 0x1004b29d
mov dword [esp + 0x14], 0
xor al, al
cmp byte [esp + 0xca], 0
je 0x1004b5e7
mov ecx, dword [0x100a79b0]
xorps xmm3, xmm3
test al, al
je 0x1004b2df
cmp byte [ecx + 0xe10], 0
je 0x1004b2df
movss xmm0, dword [ecx + 0x38b0]
comiss xmm0, xmm3
setae al
test al, al
je 0x1004b2df
mov ecx, edx
call fcn.10008290
jmp 0x1004b5e7
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x34]
jl 0x1004b5e7
cmp byte [ecx + 0xe10], 0
je 0x1004b5e7
movss xmm1, dword [ecx + 0x60]
movss xmm0, dword [ecx + 0x38b0]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x1004b5e7
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x20], ecx
xorps xmm5, xmm5
cmp byte [eax + 0x4d84], cl
jne 0x1004b3bc
test byte [edi + 0xc], 1
jne 0x1004b340
test edx, edx
je 0x1004b5e7
movss xmm0, dword [eax + 0xb8]
comiss xmm3, xmm0
jbe 0x1004b36f
movss xmm1, dword [eax + 0xe08]
movss xmm2, dword [esp + 0xb8]
comiss xmm2, xmm1
jbe 0x1004b36f
or ecx, 0xffffffff
movaps xmm5, xmm2
mov dword [esp + 0x20], ecx
jmp 0x1004b395
comiss xmm0, xmm3
jbe 0x1004b3bc
movss xmm0, dword [eax + 0xe08]
movss xmm1, dword [esp + 0xc0]
comiss xmm0, xmm1
jbe 0x1004b3bc
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.1004a470
mov edx, dword [esp + 0x2c]
xorps xmm3, xmm3
mov eax, dword [esp + 0x20]
add esp, 8
test edx, edx
je 0x1004b5e7
test byte [edx + 0xc], 4
jne 0x1004b5e7
mov ecx, dword [esp + 0x14]
test byte [ecx + 0x10], 0x80
jne 0x1004b5e7
cmp byte [eax + 0x4d84], 0
je 0x1004b3f5
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0x4d9c], ecx
je 0x1004b4d0
movss xmm2, dword [eax + 0x3dcc]
xor cl, cl
movss xmm1, dword [eax + 0x3888]
movaps xmm0, xmm2
andps xmm1, xmmword [0x100a3100]
addss xmm0, xmm2
movaps xmm4, xmm2
mulss xmm4, dword [0x100a2c8c]
subss xmm1, xmm0
mulss xmm1, dword [0x100a2bd4]
comiss xmm3, xmm1
ja 0x1004b440
movaps xmm3, xmm2
mulss xmm3, dword [0x100a2ca8]
minss xmm3, xmm1
movss xmm0, dword [eax + 0xe0c]
mov eax, 1
movss xmm1, dword [esp + 0xbc]
mulss xmm2, dword [0x100a2c68]
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 0x1004b4c8
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x1004b4a5
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 0x1004b4c2
jle 0x1004b4c8
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 0x1004b4d0
mov ecx, dword [esp + 0x14]
test cl, cl
je 0x1004b5e7
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.10027770
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.10007940
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 [0x100a79b0]
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 0x1004b637
cmp byte [esp + 0xcb], 0
jne 0x1004b637
cmp byte [esp + 0x44], 0
je 0x1004b623
mov eax, dword [esp + 0x68]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x1004b63c
cmp byte [esp + 0x68], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x1004b63c
mov ecx, 0x22
movss xmm1, dword [0x100a2c38]
call fcn.10004a20
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xb8]
push eax
push dword [esp + 0x30]
call fcn.1004b9c0
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xc0]
push 1
call fcn.100057c0
add esp, 0xc
mov ecx, 0x20
call fcn.10007b30
test al, al
je 0x1004b6e4
mov ecx, dword [0x100a79b0]
cmp byte [ecx + 0xe11], 0
je 0x1004b6bf
movss xmm0, dword [ecx + 0x3864]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1004b6bf
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004b6bf
xor edx, edx
mov ecx, 0x290
call fcn.100150b0
test al, al
jne 0x1004b6d8
mov ecx, dword [0x100a79b0]
cmp byte [ecx + 0x384f], 0
je 0x1004b6e4
mov edx, 0x290
call fcn.100034d0
cmp byte [eax + 8], 0
jne 0x1004b6e4
cmp byte [esp + 0x40], 0
jne 0x1004b6e4
mov eax, dword [esi]
mov dword [edi + 0x18], eax
test byte [edi + 0xc], 8
je 0x1004b6ef
or dword [esp + 0x2c], 4
cmp dword [esp + 0x48], 0
je 0x1004b743
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1004b703
mov eax, dword [eax + 8]
jmp 0x1004b707
mov eax, dword [esp + 0x1c]
push eax
xor edx, edx
mov ecx, str.CLOSE
call fcn.10003f90
mov ecx, eax
add esp, 4
mov eax, dword [0x100a79b0]
mov dword [esp + 0x20], ecx
cmp dword [eax + 0x40a0], ecx
jne 0x1004b749
push ecx
push str.CLOSE
mov edx, 0xb
call fcn.100272d0
mov ecx, dword [esp + 0x28]
add esp, 8
jmp 0x1004b749
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.1004bc70
add esp, 0x24
cmp byte [esp + 0x13], 0
je 0x1004b7f5
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1004b7f5
mov byte [eax], 0
mov eax, dword [esi + 4]
test eax, 0x200000
jne 0x1004b7f5
test eax, 0x101
jne 0x1004b7eb
mov byte [esi + 0x2c], 1
mov eax, dword [edi + 0x1c]
cmp eax, dword [esi]
jne 0x1004b7f5
mov dword [esi + 0xc], 0xffffffff
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
jmp 0x1004b7f5
mov eax, dword [esi]
cmp dword [edi + 0x1c], eax
je 0x1004b7f5
mov dword [edi + 0x18], eax
cmp dword [esp + 0x24], 0
je 0x1004b820
cmp byte [esp + 0xcb], 0
mov eax, dword [esp + 0x18]
jne 0x1004b816
mov ecx, dword [esp + 0x20]
cmp dword [eax + 0x40a4], ecx
jne 0x1004b820
or dword [eax + 0x49f0], 0x80
cmp byte [esp + 0x12], 0
je 0x1004b82c
call fcn.1000a320
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 0x1004b8ab
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0x40a4], ecx
jne 0x1004b8ab
cmp byte [esp + 0xca], 0
jne 0x1004b8ab
test byte [edi + 0xc], 0x20
jne 0x1004b8ab
test byte [esi + 4], 0x10
jne 0x1004b8ab
mov edx, dword [esp + 0x3c]
mov eax, edx
cmp edx, 0xffffffff
jae 0x1004b89a
mov cl, byte [eax]
test cl, cl
je 0x1004b89a
cmp cl, 0x23
jne 0x1004b894
cmp byte [eax + 1], cl
je 0x1004b89a
inc eax
cmp eax, 0xffffffff
jb 0x1004b884
push edx
sub eax, edx
push eax
push str._.s
call fcn.100163f0
add esp, 0xc
cmp byte [esp + 0x40], 0
je 0x1004b181
mov ecx, dword [esp + 0xcc]
mov al, byte [esp + 0x33]
pop edi
pop esi
xor ecx, esp
call fcn.10068185
mov esp, ebp
pop ebp
ret