Function at 0x1004c0a0
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, 0xc0
mov eax, dword [0x1026500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
mov esi, dword [0x10265568]
push edi
mov edi, ecx
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x34], eax
cmp byte [edi + 0x67], 0
mov dword [ebp - 0x20], esi
je 0x1004c123
movups xmm0, xmmword [esi + 0x4794]
movups xmmword [ebp - 0x18], xmm0
movq xmm0, qword [esi + 0x47a4]
movq qword [ebp - 0x70], xmm0
call fcn.1004ab30
movups xmm0, xmmword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x4c]
movups xmmword [esi + 0x4794], xmm0
movq xmm0, qword [ebp - 0x70]
movq qword [esi + 0x47a4], xmm0
mov ecx, dword [esi + 0x3f34]
mov dword [ebp - 0x48], ecx
cmp byte [ecx + 0xe4], 0
jne 0x1004c167
push eax
call fcn.1004b9a0
mov edx, dword [ebp - 0x58]
add esp, 4
mov ecx, eax
mov dword [ebp - 0x28], ecx
test edx, edx
je 0x1004c17c
cmp byte [edx], 0
jne 0x1004c17c
xorps xmm0, xmm0
mov edx, ecx
push 8
push 0
lea ecx, [ebp - 0x18]
movups xmmword [ebp - 0x18], xmm0
call fcn.10015160
add esp, 8
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10077e95
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x3c], eax
test eax, 0x100000
je 0x1004c192
mov dword [ebp - 0x58], 0
jmp 0x1004c19e
test edx, edx
jne 0x1004c19e
or eax, 0x100000
mov dword [ebp - 0x3c], eax
test ecx, ecx
je 0x1004c1cd
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x1004c1cd
mov esi, dword [edi + 8]
mov dword [ebp - 0x24], esi
cmp dword [esi], ecx
je 0x1004c1c1
inc eax
add esi, 0x30
mov dword [ebp - 0x24], esi
cmp eax, edx
jl 0x1004c1b0
jmp 0x1004c1cd
mov byte [ebp - 0x19], 0
test esi, esi
jne 0x1004c265
or eax, 0xffffffff
mov dword [ebp - 0xac], 0
mov word [ebp - 0x8a], ax
xorps xmm0, xmm0
mov word [ebp - 0x8c], ax
mov ecx, edi
lea eax, [ebp - 0xb4]
movlpd qword [ebp - 0xb4], xmm0
push eax
movlpd qword [ebp - 0xa0], xmm0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0xa4], 0xffffffff
mov dword [ebp - 0xa8], 0xffffffff
mov dword [ebp - 0x94], 0xbf800000
mov dword [ebp - 0x90], 0xffffffff
call fcn.1004d6b0
mov eax, dword [edi]
mov esi, dword [edi + 8]
add esi, 0xffffffd0
mov byte [ebp - 0x19], 1
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x28]
shl ecx, 4
add esi, ecx
mov dword [ebp - 0x24], esi
mov dword [esi], eax
mov byte [edi + 0x69], 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 [ebp - 0x58], 0
mov word [edi + 0x6c], ax
jne 0x1004c291
test byte [ebp - 0x3c], 1
jne 0x1004c291
xor al, al
jmp 0x1004c293
mov al, 1
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x80]
push eax
call fcn.1004cd30
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [esi + 0x20], 0xbf800000
test byte [ecx + 0x4794], 1
je 0x1004c2c4
movss xmm1, dword [ecx + 0x479c]
movss dword [esi + 0x20], xmm1
jmp 0x1004c2c9
movss xmm1, dword [ebp - 0x80]
cmp byte [ebp - 0x19], 0
movss xmm7, dword [0x1025cd5c]
je 0x1004c2e3
movaps xmm0, xmm7
maxss xmm0, xmm1
movss dword [esi + 0x18], xmm0
mov edx, dword [ebp - 0x3c]
movss dword [esi + 0x1c], xmm1
mov ax, word [edi + 0x6a]
mov word [esi + 0x28], ax
mov eax, dword [edi + 0x24]
inc word [edi + 0x6a]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 0x3eb0]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [ebp - 0x74], eax
mov eax, dword [esi + 0xc]
inc eax
mov dword [ebp - 0x30], eax
test dl, 1
je 0x1004c32b
test byte [esi + 4], 1
mov byte [ebp - 0x1a], 1
je 0x1004c32f
mov byte [ebp - 0x1a], 0
mov eax, edx
mov dword [esi + 4], edx
shr eax, 0x15
and eax, 0xffffff01
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 8], eax
test eax, eax
je 0x1004c358
mov dword [esi + 0x24], 0xffffffff
jmp 0x1004c39c
mov ecx, dword [edi + 0x84]
mov edx, dword [ebp - 0x4c]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [esi + 0x24], ecx
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1004c370
sub edx, ecx
mov ecx, dword [ebp - 0x4c]
lea eax, [ecx + 1]
add eax, edx
push eax
push ecx
lea ecx, [edi + 0x84]
call fcn.10005010
movss xmm7, dword [0x1025cd5c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x3c]
cmp byte [ebp - 0x50], 0
jne 0x1004c3dd
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x24]
cmp dword [ebp - 0x30], eax
jge 0x1004c3c9
test byte [edi + 0xc], 2
je 0x1004c3c9
cmp dword [edi + 0x18], 0
jne 0x1004c3c9
cmp dword [ebp - 0x38], eax
jge 0x1004c3c4
cmp dword [edi + 0x14], 0
jne 0x1004c3c9
mov eax, dword [esi]
mov dword [edi + 0x18], eax
test dl, 2
mov edx, dword [ebp - 0x28]
je 0x1004c3e0
cmp dword [edi + 0x14], edx
je 0x1004c3e0
mov eax, dword [esi]
mov dword [edi + 0x18], eax
jmp 0x1004c3e0
mov edx, dword [ebp - 0x28]
cmp dword [edi + 0x1c], edx
sete cl
mov dword [ebp - 0x54], ecx
mov byte [ebp - 0x78], cl
mov ecx, dword [ebp - 0x20]
jne 0x1004c3f5
mov byte [edi + 0x68], 1
cmp byte [ebp - 0x54], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x5c], 1
jne 0x1004c432
cmp dword [edi + 0x14], 0
jne 0x1004c432
cmp eax, dword [ebp - 0x44]
jge 0x1004c432
cmp dword [ebp - 0x34], 0
jne 0x1004c432
cmp dword [edi], 1
jne 0x1004c432
mov eax, dword [ebp - 0x54]
test byte [edi + 0xc], 2
movzx eax, al
cmove eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x78], al
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
cmp esi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x24]
jge 0x1004c46d
cmp eax, dword [ebp - 0x44]
jge 0x1004c448
cmp byte [ebp - 0x19], 0
je 0x1004c46d
xorps xmm0, xmm0
lea ecx, [ebp - 0x18]
push 8
push 0
movups xmmword [ebp - 0x18], xmm0
call fcn.10015160
add esp, 8
cmp byte [ebp - 0x50], 0
je 0x1004c6ae
jmp 0x1004c167
cmp dword [edi + 0x14], edx
jne 0x1004c47b
mov eax, dword [ecx + 0x3eb0]
mov dword [esi + 0x10], eax
mov edx, dword [ebp - 0x48]
mov ecx, dword [esi + 4]
movss xmm6, dword [esi + 0x18]
movss xmm1, dword [edi + 0x2c]
movss xmm0, dword [edx + 0x128]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [edx + 0x12c]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [esi + 0x14]
and ecx, 0xc0
jne 0x1004c4cb
subss xmm0, dword [edi + 0x48]
xorps xmm5, xmm5
addss xmm1, xmm5
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jmp 0x1004c4d2
xorps xmm2, xmm2
addss xmm1, xmm2
addss xmm0, dword [edi + 0x28]
movss dword [edx + 0x128], xmm0
movss dword [edx + 0x12c], xmm1
movss xmm3, dword [edx + 0x128]
movss xmm4, dword [edx + 0x12c]
movaps xmm1, xmm3
movss xmm2, dword [ebp - 0x7c]
addss xmm1, xmm6
movss dword [ebp - 0x60], xmm3
addss xmm2, xmm4
movss dword [ebp - 0x64], xmm4
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x14], xmm4
movss dword [ebp - 0x84], xmm1
movss dword [ebp - 0x7c], xmm2
movss dword [ebp - 0x10], xmm1
movss dword [ebp - 0xc], xmm2
test ecx, ecx
jne 0x1004c611
movss xmm5, dword [edi + 0x58]
comiss xmm5, xmm3
ja 0x1004c54e
comiss xmm1, dword [edi + 0x5c]
jbe 0x1004c611
movss xmm0, dword [edi + 0x5c]
mov ecx, dword [0x10265568]
movss dword [ebp - 0xbc], xmm0
movaps xmm0, xmm3
maxss xmm0, xmm5
mov byte [ebp - 0x1b], 1
push 1
mov eax, dword [ecx + 0x3f34]
movss dword [ebp - 0xb8], xmm2
movss dword [ebp - 0x70], xmm0
movaps xmm0, xmm4
mov byte [eax + 0xe1], 1
subss xmm0, xmm7
mov esi, dword [ecx + 0x3f34]
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [esi + 0x2a4]
movss dword [ebp - 0x6c], xmm0
call fcn.10030920
mov eax, dword [esi + 0x2a4]
mov edx, dword [ebp - 0x48]
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 + 0x248], eax
movss dword [esi + 0x24c], xmm0
movss dword [esi + 0x250], xmm1
movss dword [esi + 0x254], xmm2
movss xmm1, dword [ebp - 0x84]
movss xmm2, dword [ebp - 0x7c]
movss xmm3, dword [ebp - 0x60]
movss xmm4, dword [ebp - 0x64]
mov esi, dword [ebp - 0x24]
jmp 0x1004c615
mov byte [ebp - 0x1b], 0
mov ecx, dword [ebp - 0x20]
subss xmm1, xmm3
movss xmm0, dword [edx + 0x140]
subss xmm2, xmm4
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [edx + 0x144]
movss dword [ebp - 0x60], xmm0
movss dword [ebp - 0x70], xmm1
movss xmm1, dword [ecx + 0x386c]
lea ecx, [ebp - 0x70]
movss dword [ebp - 0x6c], xmm2
call fcn.10015000
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x18]
movss xmm0, dword [ebp - 0x64]
mov edx, dword [ebp - 0x28]
push 0
movss dword [eax + 0x140], xmm0
movss xmm0, dword [ebp - 0x60]
push 0
movss dword [eax + 0x144], xmm0
call fcn.10015160
add esp, 8
test al, al
jne 0x1004c6c4
cmp byte [ebp - 0x1b], al
je 0x1004c691
call fcn.1000ac10
mov eax, dword [ebp - 0x48]
movss xmm0, dword [ebp - 0x38]
movss dword [eax + 0x128], xmm0
movss xmm0, dword [ebp - 0x5c]
movss dword [eax + 0x12c], xmm0
mov al, byte [ebp - 0x54]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10077e95
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x50]
movzx ecx, al
mov eax, dword [ebp - 0x20]
inc ecx
shl ecx, 4
or ecx, 0x1000
mov dword [ebp - 0x24], ecx
cmp byte [eax + 0x4acc], 0
je 0x1004c729
cmp dword [eax + 0x4aec], 0xffffffff
je 0x1004c723
lea ecx, [eax + 0x4af0]
mov eax, str._IMWINDOW
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1004c717
test dl, dl
je 0x1004c713
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1004c717
add eax, 2
add ecx, 2
test dl, dl
jne 0x1004c6f7
xor eax, eax
jmp 0x1004c71c
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 0x24]
test eax, eax
je 0x1004c729
or ecx, 0x200
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x19]
push ecx
push eax
lea eax, [ebp - 0x29]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003e4d0
add esp, 0xc
mov byte [ebp - 0x3e], al
test al, al
je 0x1004c752
cmp byte [ebp - 0x50], 0
jne 0x1004c752
mov eax, dword [esi]
mov dword [edi + 0x18], eax
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x1004c79f
cmp byte [ebp - 0x19], 0
je 0x1004c77c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
cmp dword [eax + 0x3f80], ecx
jne 0x1004c77c
cmp byte [eax + 0x3f8c], 0
je 0x1004c77c
mov dword [eax + 0x3f9c], edx
mov eax, dword [edx + 0x3b8]
test eax, eax
je 0x1004c79f
cmp dword [eax + 0x18], 0
jne 0x1004c79f
test dword [eax + 0x10], 0x400
jne 0x1004c79f
cmp dword [eax + 0x24], 1
jne 0x1004c79f
mov al, 1
jmp 0x1004c7a1
xor al, al
cmp byte [ebp - 0x19], 0
je 0x1004caa2
mov ecx, dword [0x10265568]
xorps xmm3, xmm3
test al, al
je 0x1004c7df
cmp byte [ecx + 0xdcc], 0
je 0x1004c7df
movss xmm0, dword [ecx + 0x3788]
comiss xmm0, xmm3
setae al
test al, al
je 0x1004c7df
mov ecx, edx
call fcn.10008de0
jmp 0x1004caa2
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x44]
jl 0x1004caa2
cmp byte [ecx + 0xdcc], 0
je 0x1004caa2
movss xmm1, dword [ecx + 0x60]
movss xmm0, dword [ecx + 0x3788]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x1004caa2
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0x30], ecx
xorps xmm5, xmm5
cmp byte [eax + 0x4acc], cl
jne 0x1004c8a8
test byte [edi + 0xc], 1
jne 0x1004c838
test edx, edx
je 0x1004caa2
movss xmm0, dword [eax + 0xbc]
comiss xmm3, xmm0
jbe 0x1004c862
movss xmm1, dword [eax + 0xdc4]
movss xmm2, dword [ebp - 0x18]
comiss xmm2, xmm1
jbe 0x1004c862
or ecx, 0xffffffff
movaps xmm5, xmm2
mov dword [ebp - 0x30], ecx
jmp 0x1004c883
comiss xmm0, xmm3
jbe 0x1004c8a8
movss xmm0, dword [eax + 0xdc4]
movss xmm1, dword [ebp - 0x10]
comiss xmm0, xmm1
jbe 0x1004c8a8
mov dword [ebp - 0x30], 1
movaps xmm5, xmm0
push dword [eax + 0xdc8]
mov edx, esi
subss xmm5, xmm1
push dword [eax + 0xdc4]
mov ecx, edi
call fcn.1004bac0
mov edx, dword [ebp - 0x34]
xorps xmm3, xmm3
mov eax, dword [ebp - 0x20]
add esp, 8
test edx, edx
je 0x1004caa2
test byte [edx + 0xc], 4
jne 0x1004caa2
cmp byte [eax + 0x4acc], 0
je 0x1004c8d2
mov ecx, dword [ebp - 0x28]
cmp dword [eax + 0x4ae4], ecx
je 0x1004c9a2
movss xmm2, dword [eax + 0x3c9c]
xor cl, cl
movss xmm1, dword [eax + 0x3760]
movaps xmm0, xmm2
andps xmm1, xmmword [0x1025d7e0]
addss xmm0, xmm2
movaps xmm4, xmm2
mulss xmm4, dword [0x1025cdb4]
subss xmm1, xmm0
mulss xmm1, dword [0x1025cd00]
comiss xmm3, xmm1
ja 0x1004c91d
movaps xmm3, xmm2
mulss xmm3, dword [0x1025cdd0]
minss xmm3, xmm1
movss xmm0, dword [eax + 0xdc8]
mov eax, 1
movss xmm1, dword [ebp - 0x14]
mulss xmm2, dword [0x1025cd7c]
subss xmm1, xmm0
movzx ecx, cl
subss xmm0, dword [ebp - 0xc]
addss xmm2, xmm3
maxss xmm1, xmm0
comiss xmm1, xmm2
cmovae ecx, eax
comiss xmm5, xmm4
mov dword [ebp - 0x24], ecx
jbe 0x1004c99a
mov eax, dword [ebp - 0x30]
test eax, eax
jns 0x1004c978
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 0x1004c995
jle 0x1004c99a
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 0x1004c9a2
mov ecx, dword [ebp - 0x24]
test cl, cl
je 0x1004caa2
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x8c], eax
add ecx, 0x5bc8
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x9c], 0
push eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0x94], 0x3f000000
mov byte [ebp - 0x90], 0
mov dword [ebp - 0xa8], 2
call fcn.10027200
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
mov edx, ecx
mov dword [eax + 0x3f40], ecx
mov ecx, dword [ecx + 0xa0]
call fcn.10008530
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x3f40]
movss xmm0, dword [ecx + 0x3f94]
movss xmm1, dword [eax + 0x44]
movss xmm2, dword [eax + 0x48]
subss xmm1, dword [ebp - 0x18]
subss xmm2, dword [ebp - 0x14]
mov byte [ecx + 0x3f8e], 1
subss xmm0, xmm1
movss dword [ecx + 0x3f94], xmm0
movss xmm0, dword [ecx + 0x3f98]
subss xmm0, xmm2
movss dword [ecx + 0x3f98], xmm0
mov ecx, dword [0x10265568]
cmp byte [ecx + 0x4971], 0
mov dword [ecx + 0x477c], 0xf
setne al
mov byte [ecx + 0x4780], 1
mov word [ecx + 0x49a0], 0
mov byte [ecx + 0x4970], al
cmp byte [ebp - 0x19], 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x2a4]
mov dword [ebp - 0x24], eax
jne 0x1004cae5
cmp byte [ebp - 0x29], 0
jne 0x1004cae5
cmp byte [ebp - 0x54], 0
je 0x1004cad2
mov eax, dword [ebp - 0x74]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x1004caea
cmp byte [ebp - 0x74], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x1004caea
mov ecx, 0x22
movss xmm1, dword [0x1025cd5c]
call fcn.100060b0
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x18]
push eax
push dword [ebp - 0x3c]
call fcn.1004ce20
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x18]
push 1
call fcn.10006fa0
add esp, 0xc
mov ecx, 0x20
call fcn.10008720
test al, al
je 0x1004cb86
mov ecx, dword [0x10265568]
cmp byte [ecx + 0xdcd], 0
je 0x1004cb62
movss xmm0, dword [ecx + 0x373c]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1004cb62
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004cb62
xor edx, edx
mov ecx, 0x282
call fcn.10014e60
test al, al
jne 0x1004cb7b
mov ecx, dword [0x10265568]
cmp byte [ecx + 0x3727], 0
je 0x1004cb86
mov edx, 0x282
call fcn.10003a10
cmp byte [eax + 8], 0
jne 0x1004cb86
cmp byte [ebp - 0x50], 0
jne 0x1004cb86
mov eax, dword [esi]
mov dword [edi + 0x18], eax
test byte [edi + 0xc], 8
je 0x1004cb90
or dword [ebp - 0x3c], 4
cmp dword [ebp - 0x58], 0
je 0x1004cbdf
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1004cba2
mov eax, dword [eax + 8]
jmp 0x1004cba5
mov eax, dword [ebp - 0x28]
push eax
xor edx, edx
mov ecx, str.CLOSE
call fcn.10004780
mov ecx, eax
add esp, 4
mov eax, dword [0x10265568]
mov dword [ebp - 0x30], ecx
cmp dword [eax + 0x3f68], ecx
jne 0x1004cbe4
push ecx
push str.CLOSE
mov edx, 0xb
call fcn.10026b10
mov ecx, dword [ebp - 0x30]
add esp, 8
jmp 0x1004cbe4
xor ecx, ecx
mov dword [ebp - 0x30], ecx
push dword [edi + 0x78]
mov edx, dword [ebp - 0x3c]
mov eax, edx
push dword [edi + 0x74]
and eax, 0xfffffffe
cmp byte [ebp - 0x1a], 0
cmovne edx, eax
lea eax, [ebp - 0x3d]
push eax
lea eax, [ebp - 0x1a]
push eax
push dword [ebp - 0x78]
push ecx
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x4c]
push edx
lea edx, [ebp - 0x18]
call fcn.1004d280
add esp, 0x24
cmp byte [ebp - 0x1a], 0
je 0x1004cc64
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x1004cc64
mov byte [eax], 0
mov eax, dword [esi + 4]
test eax, 0x200000
jne 0x1004cc64
test al, 1
jne 0x1004cc5a
mov byte [esi + 0x2c], 1
mov eax, dword [edi + 0x1c]
cmp eax, dword [esi]
jne 0x1004cc64
mov dword [esi + 0xc], 0xffffffff
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
jmp 0x1004cc64
mov eax, dword [esi]
cmp dword [edi + 0x1c], eax
je 0x1004cc64
mov dword [edi + 0x18], eax
cmp dword [ebp - 0x34], 0
je 0x1004cc88
cmp byte [ebp - 0x29], 0
mov eax, dword [ebp - 0x20]
jne 0x1004cc7e
mov ecx, dword [ebp - 0x30]
cmp dword [eax + 0x3f6c], ecx
jne 0x1004cc88
or dword [eax + 0x47b4], 0x80
cmp byte [ebp - 0x1b], 0
je 0x1004cc93
call fcn.1000ac10
cmp byte [ebp - 0x3d], 0
mov eax, dword [ebp - 0x48]
movss xmm0, dword [ebp - 0x38]
movss dword [eax + 0x128], xmm0
movss xmm0, dword [ebp - 0x5c]
movss dword [eax + 0x12c], xmm0
je 0x1004cd07
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
cmp dword [eax + 0x3f6c], ecx
jne 0x1004cd07
cmp byte [ebp - 0x19], 0
jne 0x1004cd07
test byte [edi + 0xc], 0x20
jne 0x1004cd07
test byte [esi + 4], 0x10
jne 0x1004cd07
mov edx, dword [ebp - 0x4c]
mov eax, edx
cmp edx, 0xffffffff
jae 0x1004ccf6
mov cl, byte [eax]
test cl, cl
je 0x1004ccf6
cmp cl, 0x23
jne 0x1004ccf0
cmp byte [eax + 1], cl
je 0x1004ccf6
inc eax
cmp eax, 0xffffffff
jb 0x1004cce0
push edx
sub eax, edx
push eax
push str._.s
call fcn.10015fe0
add esp, 0xc
cmp byte [ebp - 0x50], 0
je 0x1004c6ae
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x3e]
xor ecx, ebp
pop edi
pop esi
call fcn.10077e95
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret