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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x100d7010]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x100d9260]
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 0x1004a82d
movups xmm0, xmmword [esi + 0x49c8]
movaps xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [esi + 0x49d8]
movaps xmmword [esp + 0x50], xmm0
call fcn.10049110
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 0x1004a876
push eax
call fcn.10049fd0
mov edx, dword [esp + 0x4c]
add esp, 4
mov ecx, eax
mov dword [esp + 0x1c], ecx
test edx, edx
je 0x1004a88c
cmp byte [edx], 0
jne 0x1004a88c
xorps xmm0, xmm0
mov edx, ecx
push 8
push 0
lea ecx, [esp + 0x78]
movups xmmword [esp + 0x78], xmm0
call fcn.10014f90
add esp, 8
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.10064b15
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
test eax, 0x100000
je 0x1004a8a4
mov dword [esp + 0x48], 0
jmp 0x1004a8b1
test edx, edx
jne 0x1004a8b1
or eax, 0x100000
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x1004a8e3
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x1004a8e3
mov esi, dword [edi + 8]
mov dword [esp + 0x14], esi
cmp dword [esi], ecx
je 0x1004a8d6
inc eax
add esi, 0x30
mov dword [esp + 0x14], esi
cmp eax, edx
jl 0x1004a8c4
jmp 0x1004a8e3
mov byte [esp + 0x12], 0
test esi, esi
jne 0x1004a98a
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.1004bd70
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 0x1004a9b8
test byte [esp + 0x2c], 1
jne 0x1004a9b8
xor al, al
jmp 0x1004a9ba
mov al, 1
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x50]
push eax
call fcn.1004b580
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x20], 0xbf800000
test byte [edx + 0x49c8], 1
je 0x1004a9ee
movss xmm1, dword [edx + 0x49d8]
movss dword [esi + 0x20], xmm1
jmp 0x1004a9f4
movss xmm1, dword [esp + 0x50]
cmp byte [esp + 0x12], 0
movss xmm6, dword [0x100cf570]
je 0x1004aa0f
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 0x1004aa60
test byte [esi + 4], 1
mov byte [esp + 0x13], 1
je 0x1004aa65
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 0x1004aa91
mov dword [esi + 0x24], 0xffffffff
jmp 0x1004aadf
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 0x1004aab0
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.10004670
movss xmm6, dword [0x100cf570]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp byte [esp + 0x40], 0
jne 0x1004ab26
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x20], eax
jge 0x1004ab11
test byte [edi + 0xc], 2
je 0x1004ab11
cmp dword [edi + 0x18], 0
jne 0x1004ab11
cmp dword [esp + 0x28], eax
jge 0x1004ab0c
cmp dword [edi + 0x14], 0
jne 0x1004ab11
mov eax, dword [esi]
mov dword [edi + 0x18], eax
test cl, 2
mov ecx, dword [esp + 0x1c]
je 0x1004ab2a
cmp dword [edi + 0x14], ecx
je 0x1004ab2a
mov eax, dword [esi]
mov dword [edi + 0x18], eax
jmp 0x1004ab2a
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 0x1004ab42
mov byte [edi + 0x70], 1
cmp byte [esp + 0x44], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], 1
jne 0x1004ab89
cmp dword [edi + 0x14], 0
jne 0x1004ab89
cmp eax, dword [esp + 0x34]
jge 0x1004ab89
cmp dword [esp + 0x24], 0
jne 0x1004ab89
cmp dword [edi], 1
jne 0x1004ab89
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 0x1004abdf
cmp eax, dword [esp + 0x34]
jge 0x1004aba4
cmp byte [esp + 0x12], 0
je 0x1004abdf
xorps xmm0, xmm0
mov edx, ecx
push 8
push 0
lea ecx, [esp + 0x78]
movups xmmword [esp + 0x78], xmm0
call fcn.10014f90
add esp, 8
cmp byte [esp + 0x40], 0
je 0x1004ae31
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.10064b15
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x14], ecx
jne 0x1004abed
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 0x1004ac40
subss xmm0, dword [edi + 0x48]
xorps xmm4, xmm4
addss xmm1, xmm4
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jmp 0x1004ac47
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 0x1004ad81
movss xmm5, dword [edi + 0x58]
comiss xmm5, xmm3
ja 0x1004acb7
comiss xmm1, dword [edi + 0x5c]
jbe 0x1004ad81
mov ecx, dword [0x100d9260]
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.10030270
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 0x1004ad86
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.100152c0
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.10014f90
add esp, 8
test al, al
jne 0x1004ae49
cmp byte [esp + 0x12], al
je 0x1004ae11
call fcn.1000a120
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.10064b15
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 0x1004aeb3
cmp dword [eax + 0x4da4], 0xffffffff
je 0x1004aead
lea ecx, [eax + 0x4da8]
mov eax, str._IMWINDOW
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1004aea0
test dl, dl
je 0x1004ae9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1004aea0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1004ae80
xor eax, eax
jmp 0x1004aea5
sbb eax, eax
or eax, 1
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x1004aeb3
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.1003cb90
add esp, 0xc
mov byte [esp + 0x33], al
test al, al
je 0x1004aeeb
cmp byte [esp + 0x40], 0
jne 0x1004aeeb
mov eax, dword [esi]
mov dword [edi + 0x18], eax
mov edx, dword [esp + 0x24]
test edx, edx
je 0x1004af43
cmp byte [esp + 0xca], 0
je 0x1004af1c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0x40b8], ecx
jne 0x1004af1c
cmp byte [eax + 0x40c4], 0
je 0x1004af1c
mov dword [eax + 0x40d8], edx
mov eax, dword [edx + 0x3c4]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004af4b
cmp dword [eax + 0x18], 0
jne 0x1004af4b
test dword [eax + 0x10], 0x400
jne 0x1004af4b
cmp dword [eax + 0x24], 1
jne 0x1004af4b
mov al, 1
jmp 0x1004af4d
mov dword [esp + 0x14], 0
xor al, al
cmp byte [esp + 0xca], 0
je 0x1004b297
mov ecx, dword [0x100d9260]
xorps xmm3, xmm3
test al, al
je 0x1004af8f
cmp byte [ecx + 0xe10], 0
je 0x1004af8f
movss xmm0, dword [ecx + 0x38b0]
comiss xmm0, xmm3
setae al
test al, al
je 0x1004af8f
mov ecx, edx
call fcn.100080a0
jmp 0x1004b297
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x34]
jl 0x1004b297
cmp byte [ecx + 0xe10], 0
je 0x1004b297
movss xmm1, dword [ecx + 0x60]
movss xmm0, dword [ecx + 0x38b0]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x1004b297
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x20], ecx
xorps xmm5, xmm5
cmp byte [eax + 0x4d84], cl
jne 0x1004b06c
test byte [edi + 0xc], 1
jne 0x1004aff0
test edx, edx
je 0x1004b297
movss xmm0, dword [eax + 0xb8]
comiss xmm3, xmm0
jbe 0x1004b01f
movss xmm1, dword [eax + 0xe08]
movss xmm2, dword [esp + 0xb8]
comiss xmm2, xmm1
jbe 0x1004b01f
or ecx, 0xffffffff
movaps xmm5, xmm2
mov dword [esp + 0x20], ecx
jmp 0x1004b045
comiss xmm0, xmm3
jbe 0x1004b06c
movss xmm0, dword [eax + 0xe08]
movss xmm1, dword [esp + 0xc0]
comiss xmm0, xmm1
jbe 0x1004b06c
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.1004a120
mov edx, dword [esp + 0x2c]
xorps xmm3, xmm3
mov eax, dword [esp + 0x20]
add esp, 8
test edx, edx
je 0x1004b297
test byte [edx + 0xc], 4
jne 0x1004b297
mov ecx, dword [esp + 0x14]
test byte [ecx + 0x10], 0x80
jne 0x1004b297
cmp byte [eax + 0x4d84], 0
je 0x1004b0a5
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0x4d9c], ecx
je 0x1004b180
movss xmm2, dword [eax + 0x3dcc]
xor cl, cl
movss xmm1, dword [eax + 0x3888]
movaps xmm0, xmm2
andps xmm1, xmmword [0x100cfa20]
addss xmm0, xmm2
movaps xmm4, xmm2
mulss xmm4, dword [0x100cf5bc]
subss xmm1, xmm0
mulss xmm1, dword [0x100cf50c]
comiss xmm3, xmm1
ja 0x1004b0f0
movaps xmm3, xmm2
mulss xmm3, dword [0x100cf5d8]
minss xmm3, xmm1
movss xmm0, dword [eax + 0xe0c]
mov eax, 1
movss xmm1, dword [esp + 0xbc]
mulss xmm2, dword [0x100cf594]
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 0x1004b178
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x1004b155
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 0x1004b172
jle 0x1004b178
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 0x1004b180
mov ecx, dword [esp + 0x14]
test cl, cl
je 0x1004b297
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.10027590
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.10007750
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 [0x100d9260]
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 0x1004b2e7
cmp byte [esp + 0xcb], 0
jne 0x1004b2e7
cmp byte [esp + 0x44], 0
je 0x1004b2d3
mov eax, dword [esp + 0x68]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x1004b2ec
cmp byte [esp + 0x68], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x1004b2ec
mov ecx, 0x22
movss xmm1, dword [0x100cf570]
call fcn.10004820
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xb8]
push eax
push dword [esp + 0x30]
call fcn.1004b670
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xc0]
push 1
call fcn.100055d0
add esp, 0xc
mov ecx, 0x20
call fcn.10007940
test al, al
je 0x1004b394
mov ecx, dword [0x100d9260]
cmp byte [ecx + 0xe11], 0
je 0x1004b36f
movss xmm0, dword [ecx + 0x3864]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1004b36f
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004b36f
xor edx, edx
mov ecx, 0x290
call fcn.10014e30
test al, al
jne 0x1004b388
mov ecx, dword [0x100d9260]
cmp byte [ecx + 0x384f], 0
je 0x1004b394
mov edx, 0x290
call fcn.10003310
cmp byte [eax + 8], 0
jne 0x1004b394
cmp byte [esp + 0x40], 0
jne 0x1004b394
mov eax, dword [esi]
mov dword [edi + 0x18], eax
test byte [edi + 0xc], 8
je 0x1004b39f
or dword [esp + 0x2c], 4
cmp dword [esp + 0x48], 0
je 0x1004b3f3
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1004b3b3
mov eax, dword [eax + 8]
jmp 0x1004b3b7
mov eax, dword [esp + 0x1c]
push eax
xor edx, edx
mov ecx, str.CLOSE
call fcn.10003db0
mov ecx, eax
add esp, 4
mov eax, dword [0x100d9260]
mov dword [esp + 0x20], ecx
cmp dword [eax + 0x40a0], ecx
jne 0x1004b3f9
push ecx
push str.CLOSE
mov edx, 0xb
call fcn.100270f0
mov ecx, dword [esp + 0x28]
add esp, 8
jmp 0x1004b3f9
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.1004b920
add esp, 0x24
cmp byte [esp + 0x13], 0
je 0x1004b4a5
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1004b4a5
mov byte [eax], 0
mov eax, dword [esi + 4]
test eax, 0x200000
jne 0x1004b4a5
test eax, 0x101
jne 0x1004b49b
mov byte [esi + 0x2c], 1
mov eax, dword [edi + 0x1c]
cmp eax, dword [esi]
jne 0x1004b4a5
mov dword [esi + 0xc], 0xffffffff
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
jmp 0x1004b4a5
mov eax, dword [esi]
cmp dword [edi + 0x1c], eax
je 0x1004b4a5
mov dword [edi + 0x18], eax
cmp dword [esp + 0x24], 0
je 0x1004b4d0
cmp byte [esp + 0xcb], 0
mov eax, dword [esp + 0x18]
jne 0x1004b4c6
mov ecx, dword [esp + 0x20]
cmp dword [eax + 0x40a4], ecx
jne 0x1004b4d0
or dword [eax + 0x49f0], 0x80
cmp byte [esp + 0x12], 0
je 0x1004b4dc
call fcn.1000a120
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 0x1004b55b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0x40a4], ecx
jne 0x1004b55b
cmp byte [esp + 0xca], 0
jne 0x1004b55b
test byte [edi + 0xc], 0x20
jne 0x1004b55b
test byte [esi + 4], 0x10
jne 0x1004b55b
mov edx, dword [esp + 0x3c]
mov eax, edx
cmp edx, 0xffffffff
jae 0x1004b54a
mov cl, byte [eax]
test cl, cl
je 0x1004b54a
cmp cl, 0x23
jne 0x1004b544
cmp byte [eax + 1], cl
je 0x1004b54a
inc eax
cmp eax, 0xffffffff
jb 0x1004b534
push edx
sub eax, edx
push eax
push str._.s
call fcn.10016240
add esp, 0xc
cmp byte [esp + 0x40], 0
je 0x1004ae31
mov ecx, dword [esp + 0xcc]
mov al, byte [esp + 0x33]
pop edi
pop esi
xor ecx, esp
call fcn.10064b15
mov esp, ebp
pop ebp
ret