Function at 0x10052240
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, 0xd0
mov eax, dword [0x100c83c0]
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 - 0x58], ecx
cmp byte [esi + 0x67], 0
mov dword [ebp - 0x24], eax
je 0x10052289
mov ecx, esi
call fcn.10051090
mov eax, dword [ebp - 0x24]
mov edi, dword [0x101423a0]
mov edx, dword [edi + 0x3f14]
mov dword [ebp - 0x54], edx
cmp byte [edx + 0xc8], 0
jne 0x10052339
test eax, eax
je 0x100522d1
mov eax, dword [eax + 0x88]
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0x3f50], eax
jne 0x100522c0
mov dword [edi + 0x3f54], eax
cmp dword [edi + 0x3f94], eax
jne 0x1005230f
mov byte [edi + 0x3f98], 1
jmp 0x1005230f
mov ecx, dword [edx + 0xfc]
mov eax, dword [edx + 0x104]
xor edx, edx
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x44]
call fcn.100092e0
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0x3f38], eax
jne 0x1005230f
push ecx
push dword [ebp - 0x44]
mov edx, 0xb
mov ecx, eax
call fcn.10028fd0
mov eax, dword [ebp - 0x1c]
add esp, 8
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x1005234e
cmp byte [ecx], 0
jne 0x1005234e
xorps xmm0, xmm0
lea ecx, [ebp - 0xa4]
push 0x18
push 0
mov edx, eax
movups xmmword [ebp - 0xa4], xmm0
call fcn.100181a0
add esp, 8
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100acd72
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebx + 0xc]
test eax, 0x100000
je 0x1005235f
xor ecx, ecx
mov dword [ebp - 0x58], ecx
jmp 0x1005236b
test ecx, ecx
jne 0x1005236d
or eax, 0x100000
mov dword [ebx + 0xc], eax
test ecx, ecx
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x64]
setne al
movzx eax, al
push eax
call fcn.10053190
mov ecx, dword [ebp - 0x1c]
add esp, 4
test ecx, ecx
je 0x100523a4
xor edx, edx
cmp dword [esi], edx
jle 0x100523a4
mov eax, dword [esi + 8]
mov dword [ebp - 0x2c], eax
cmp dword [eax], ecx
je 0x100523a9
inc edx
add eax, 0x2c
mov dword [ebp - 0x2c], eax
cmp edx, dword [esi]
jl 0x10052395
xor eax, eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x15], 0
test eax, eax
jne 0x1005243e
mov dword [ebp - 0xc8], eax
xorps xmm0, xmm0
mov dword [ebp - 0xb4], eax
mov ecx, esi
mov dword [ebp - 0xa8], eax
or eax, 0xffffffff
mov word [ebp - 0xaa], ax
mov word [ebp - 0xac], ax
lea eax, [ebp - 0xd0]
push eax
movlpd qword [ebp - 0xd0], xmm0
movlpd qword [ebp - 0xbc], xmm0
mov dword [ebp - 0xc0], 0xffffffff
mov dword [ebp - 0xc4], 0xffffffff
mov dword [ebp - 0xb0], 0xffffffff
call fcn.10053bc0
imul ecx, dword [esi], 0x2c
mov eax, dword [esi + 8]
movss xmm0, dword [ebp - 0x64]
add eax, 0xffffffd4
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 0x15], 1
add eax, ecx
mov dword [ebp - 0x2c], eax
mov dword [eax], edx
movss dword [eax + 0x18], xmm0
mov byte [esi + 0x69], 1
jmp 0x10052443
movss xmm0, dword [ebp - 0x64]
mov ecx, eax
mov dword [ebp - 0x50], 1
sub ecx, dword [esi + 8]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x2c]
mov word [esi + 0x6c], ax
movss dword [edx + 0x1c], xmm0
mov ax, word [esi + 0x6a]
mov word [edx + 0x24], ax
inc word [esi + 0x6a]
mov eax, dword [edi + 0x3eb0]
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x4c], eax
inc ecx
mov eax, dword [esi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x74], eax
mov eax, dword [edx + 0xc]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x4c]
mov dword [edx + 0xc], eax
mov eax, dword [ebx + 0xc]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [edx + 8], eax
test eax, eax
je 0x100524cd
mov dword [edx + 0x20], 0xffffffff
jmp 0x100525b7
mov ecx, dword [esi + 0x84]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [edx + 0x20], ecx
mov ecx, dword [ebp - 0x44]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100524e5
mov eax, dword [ebp - 0x44]
sub ecx, edx
inc ecx
add ecx, eax
je 0x100524fa
sub ecx, eax
jmp 0x10052509
mov ecx, eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10052500
sub ecx, edx
mov eax, dword [esi + 0x84]
test eax, eax
mov edx, dword [ebp - 0x50]
cmovne edx, eax
mov dword [ebp - 0x40], ecx
mov eax, dword [esi + 0x88]
mov dword [ebp - 0x28], edx
add edx, ecx
mov dword [ebp - 0x3c], edx
lea ecx, [esi + 0x84]
cmp edx, eax
jl 0x10052548
add eax, eax
cmp edx, eax
cmovg eax, edx
push eax
call fcn.10029c20
mov edx, dword [ebp - 0x3c]
lea ecx, [esi + 0x84]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x5c], eax
cmp edx, eax
jle 0x10052586
test eax, eax
je 0x10052565
cdq
sub eax, edx
mov edx, dword [ebp - 0x3c]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x5c]
jmp 0x1005256a
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [esi + 0x84]
push eax
call fcn.10029c20
mov edx, dword [ebp - 0x3c]
lea ecx, [esi + 0x84]
push dword [ebp - 0x40]
mov dword [ecx], edx
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x28]
push dword [ebp - 0x44]
dec ecx
add eax, ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x28]
add esp, 0xc
add ecx, dword [ebp - 0x40]
mov eax, dword [esi + 0x8c]
mov edx, dword [ebp - 0x2c]
mov byte [ecx + eax - 1], 0
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x68], eax
jge 0x100525e4
test byte [esi + 0xc], 2
je 0x100525e4
cmp dword [esi + 0x18], 0
jne 0x100525e4
cmp ecx, eax
jge 0x100525d5
cmp dword [esi + 0x14], 0
jne 0x100525e4
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
test al, al
jne 0x100525ea
mov dword [esi + 0x18], ecx
jmp 0x100525ea
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
test byte [ebx + 0xc], 2
je 0x100525fc
cmp dword [esi + 0x14], ecx
je 0x100525fc
test al, al
jne 0x100525fc
mov dword [esi + 0x18], ecx
cmp dword [esi + 0x1c], ecx
mov eax, dword [ebp - 0x34]
sete dl
mov dword [ebp - 0x3c], edx
mov byte [ebp - 0x78], dl
mov edx, dword [ebp - 0x4c]
jne 0x10052616
mov byte [esi + 0x68], 1
jmp 0x10052642
cmp dword [esi + 0x14], 0
jne 0x10052642
cmp eax, edx
jge 0x10052642
cmp dword [ebp - 0x24], 0
jne 0x10052642
cmp dword [esi], 1
jne 0x10052642
mov eax, dword [ebp - 0x3c]
test byte [esi + 0xc], 2
movzx eax, al
cmove eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x78], al
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x2c]
jge 0x10052693
cmp eax, dword [ebp - 0x4c]
jge 0x10052655
cmp byte [ebp - 0x15], 0
je 0x10052693
xorps xmm0, xmm0
mov edx, ecx
push 0x18
push 0
lea ecx, [ebp - 0xa4]
movups xmmword [ebp - 0xa4], xmm0
call fcn.100181a0
add esp, 8
cmp byte [ebp - 0x38], 0
jne 0x10052339
mov al, byte [ebp - 0x3c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100acd72
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [esi + 0x14], ecx
jne 0x100526a1
mov eax, dword [edi + 0x3eb0]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x54]
movss xmm1, dword [edx + 0x18]
movss xmm0, dword [eax + 0x108]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [eax + 0x10c]
mov eax, dword [edx + 4]
movss dword [ebp - 0x5c], xmm0
and eax, 0xc0
movss xmm0, dword [edx + 0x14]
mov edx, 4
mov dword [ebp - 0x40], eax
jne 0x100526ed
subss xmm0, dword [esi + 0x48]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x40]
cvtdq2ps xmm0, xmm0
mov ecx, dword [ebp - 0x54]
xorps xmm2, xmm2
addss xmm0, dword [esi + 0x28]
movss dword [ebp - 0x28], xmm0
movss xmm3, dword [esi + edx + 0x28]
addss xmm3, xmm2
movaps xmm2, xmm0
addss xmm2, xmm1
movss dword [ebp - 0x70], xmm3
movss dword [ecx + 0x108], xmm0
movss dword [ecx + 0x10c], xmm3
movss xmm5, dword [ebp - 0x60]
movss xmm6, dword [0x100c43b0]
addss xmm5, xmm3
movss dword [ebp - 0x6c], xmm2
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x10], xmm3
movss dword [ebp - 0xc], xmm2
movss dword [ebp - 0x60], xmm5
movss dword [ebp - 8], xmm5
test eax, eax
jne 0x10052902
movss xmm4, dword [esi + 0x58]
comiss xmm4, xmm0
movss xmm1, dword [esi + 0x5c]
ja 0x10052772
comiss xmm2, xmm1
jbe 0x10052902
mov ecx, dword [0x101423a0]
movaps xmm2, xmm3
movaps xmm3, xmm0
mov byte [ebp - 0x15], 1
maxss xmm3, xmm4
subss xmm2, xmm6
mov eax, dword [ecx + 0x3f14]
movss dword [ebp - 0x88], xmm3
mov byte [eax + 0xc5], 1
mov eax, dword [ecx + 0x3f14]
mov dword [ebp - 0x94], eax
mov eax, dword [eax + 0x288]
mov dword [ebp - 0x90], eax
movups xmm0, xmmword [eax + 0x60]
comiss xmm0, xmm3
movups xmmword [ebp - 0xa4], xmm0
jbe 0x100527d2
movaps xmm3, xmm0
movss dword [ebp - 0x88], xmm3
movss xmm0, dword [ebp - 0xa0]
comiss xmm0, xmm2
movss dword [ebp - 0x84], xmm2
jbe 0x100527f2
movaps xmm2, xmm0
movss dword [ebp - 0x84], xmm2
movss xmm0, dword [ebp - 0x9c]
comiss xmm1, xmm0
movss dword [ebp - 0x80], xmm1
jbe 0x1005280c
movaps xmm1, xmm0
movss dword [ebp - 0x80], xmm1
movss xmm4, dword [ebp - 0x98]
movaps xmm0, xmm5
comiss xmm5, xmm4
movss dword [ebp - 0x7c], xmm0
jbe 0x10052829
movaps xmm0, xmm4
movss dword [ebp - 0x7c], xmm0
comiss xmm3, xmm1
jb 0x10052833
movss dword [ebp - 0x80], xmm3
comiss xmm2, xmm0
jb 0x1005283d
movss dword [ebp - 0x7c], xmm2
mov ecx, dword [eax + 0x40]
lea edx, [eax + 0x3c]
mov eax, dword [edx]
mov dword [ebp - 0x40], edx
cmp eax, ecx
jne 0x10052880
lea edx, [eax + 1]
mov dword [ebp - 0x8c], edx
test ecx, ecx
je 0x1005286a
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x8c]
sar eax, 1
add eax, ecx
jmp 0x1005286f
mov eax, 8
mov ecx, dword [ebp - 0x40]
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10029d90
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov edx, dword [edx + 8]
add eax, eax
movups xmm0, xmmword [ebp - 0x88]
mov ecx, dword [ebp - 0x90]
movups xmmword [edx + eax*8], xmm0
mov eax, dword [ebp - 0x40]
inc dword [eax]
movups xmmword [ecx + 0x60], xmm0
call fcn.100326c0
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 0x288]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm2, dword [eax + ecx*8 - 4]
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [ebp - 0x54]
mov dword [edx + 0x22c], eax
movss dword [edx + 0x230], xmm0
movss dword [edx + 0x234], xmm1
movss dword [edx + 0x238], xmm2
movss xmm5, dword [ebp - 0x60]
movss xmm2, dword [ebp - 0x6c]
movss xmm3, dword [ebp - 0x70]
jmp 0x10052906
mov byte [ebp - 0x15], 0
movss xmm0, dword [ecx + 0x120]
subss xmm5, xmm3
subss xmm2, dword [ebp - 0x28]
movss xmm1, dword [edi + 0x3894]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ecx + 0x124]
lea ecx, [ebp - 0x64]
movss dword [ebp - 0x6c], xmm0
movss dword [ebp - 0x64], xmm2
movss dword [ebp - 0x60], xmm5
call fcn.10018040
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x14]
movss xmm0, dword [ebp - 0x70]
mov edx, dword [ebp - 0x1c]
push 0
movss dword [eax + 0x120], xmm0
movss xmm0, dword [ebp - 0x6c]
push 0
movss dword [eax + 0x124], xmm0
call fcn.100181a0
add esp, 8
test al, al
jne 0x100529b3
cmp byte [ebp - 0x15], al
je 0x10052980
call fcn.1000f700
mov eax, dword [ebp - 0x54]
movss xmm0, dword [ebp - 0x34]
movss dword [eax + 0x108], xmm0
movss xmm0, dword [ebp - 0x5c]
movss dword [eax + 0x10c], xmm0
mov al, byte [ebp - 0x3c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100acd72
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x38]
movzx eax, al
inc eax
shl eax, 4
or eax, 0x1000
cmp byte [edi + 0x42a0], 0
mov dword [ebp - 0x28], eax
je 0x10052a13
cmp dword [edi + 0x42c0], 0xffffffff
je 0x10052a0e
lea ecx, [edi + 0x42c4]
mov eax, str._IMWINDOW
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10052a02
test dl, dl
je 0x100529fe
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10052a02
add eax, 2
add ecx, 2
test dl, dl
jne 0x100529e2
xor eax, eax
jmp 0x10052a07
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp - 0x28]
je 0x10052a13
or eax, 0x200
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1d]
push eax
lea eax, [ebp - 0x2d]
push eax
call fcn.1003f690
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov byte [ebp - 0x47], al
test al, al
je 0x10052a3d
cmp byte [ebp - 0x38], 0
jne 0x10052a3d
mov dword [esi + 0x18], ecx
cmp byte [ebp - 0x1d], 0
je 0x10052a61
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10052a61
cmp dword [edi + 0x3f50], ecx
jne 0x10052a67
cmp byte [edi + 0x3f5c], 0
je 0x10052a61
mov dword [edi + 0x3f88], eax
cmp dword [edi + 0x3f50], ecx
mov edx, dword [0x101423a0]
je 0x10052a93
mov eax, dword [edx + 0x3fc0]
cmp dword [edx + 0x3f3c], eax
jne 0x10052a84
mov byte [edx + 0x3f44], 1
cmp dword [edx + 0x3f50], eax
jne 0x10052a93
mov byte [edx + 0x3f5d], 1
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10052abd
mov eax, dword [eax + 0x388]
test eax, eax
je 0x10052abd
cmp dword [eax + 0x18], 0
jne 0x10052abd
test dword [eax + 0x10], 0x400
jne 0x10052abd
cmp dword [eax + 0x24], 1
jne 0x10052abd
mov al, 1
jmp 0x10052abf
xor al, al
cmp byte [ebp - 0x1d], 0
je 0x10052ddd
xorps xmm3, xmm3
test al, al
je 0x10052af8
cmp byte [edx + 0xd60], 0
je 0x10052af8
movss xmm0, dword [edx + 0x36f8]
comiss xmm0, xmm3
setae al
test al, al
je 0x10052af8
mov ecx, dword [ebp - 0x24]
call fcn.1000c350
jmp 0x10052ddd
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x4c]
jl 0x10052ddd
cmp byte [edx + 0xd60], 0
je 0x10052ddd
movss xmm1, dword [edx + 0x30]
movss xmm0, dword [edx + 0x36f8]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x10052ddd
mov edx, dword [ebp - 0x24]
xor eax, eax
xorps xmm5, xmm5
cmp byte [edi + 0x42a0], al
jne 0x10052bdb
test byte [esi + 0xc], 1
jne 0x10052b52
test edx, edx
je 0x10052ddd
movss xmm0, dword [edi + 0xb4]
comiss xmm3, xmm0
jbe 0x10052b96
movss xmm1, dword [edi + 0xd58]
movss xmm2, dword [ebp - 0x14]
comiss xmm2, xmm1
jbe 0x10052b96
push dword [edi + 0xd5c]
mov edx, dword [ebp - 0x2c]
movaps xmm5, xmm2
push dword [edi + 0xd58]
mov ecx, esi
subss xmm5, xmm1
call fcn.10051c60
add esp, 8
or eax, 0xffffffff
jmp 0x10052bd2
comiss xmm0, xmm3
jbe 0x10052bdb
movss xmm0, dword [edi + 0xd58]
movss xmm1, dword [ebp - 0xc]
comiss xmm0, xmm1
jbe 0x10052bdb
push dword [edi + 0xd5c]
mov edx, dword [ebp - 0x2c]
movaps xmm5, xmm0
push dword [edi + 0xd58]
mov ecx, esi
subss xmm5, xmm1
call fcn.10051c60
add esp, 8
mov eax, 1
mov edx, dword [ebp - 0x24]
xorps xmm3, xmm3
mov ecx, dword [ebp - 0x1c]
test edx, edx
je 0x10052ddd
test byte [edx + 8], 4
jne 0x10052ddd
cmp byte [edi + 0x42a0], 0
je 0x10052c02
cmp dword [edi + 0x42b8], ecx
je 0x10052ccd
movss xmm2, dword [edi + 0x3ca8]
xor cl, cl
movss xmm1, dword [edi + 0x36d0]
movaps xmm0, xmm2
andps xmm1, xmmword [0x100c4630]
addss xmm0, xmm2
movaps xmm4, xmm2
mulss xmm4, dword [0x100c43ec]
subss xmm1, xmm0
mulss xmm1, dword [0x100c4350]
comiss xmm3, xmm1
ja 0x10052c4d
movaps xmm3, xmm2
mulss xmm3, dword [0x100c4418]
minss xmm3, xmm1
movss xmm0, dword [edi + 0xd5c]
movss xmm1, dword [ebp - 0x10]
mulss xmm2, dword [0x100c43d4]
subss xmm1, xmm0
movzx ecx, cl
subss xmm0, dword [ebp - 8]
addss xmm2, xmm3
maxss xmm1, xmm0
comiss xmm1, xmm2
cmovae ecx, dword [ebp - 0x50]
comiss xmm5, xmm4
mov dword [ebp - 0x28], ecx
jbe 0x10052cc5
test eax, eax
jns 0x10052ca2
mov ecx, dword [ebp - 0x2c]
mov eax, 0x2e8ba2e9
sub ecx, dword [esi + 8]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x10052cc0
jle 0x10052cc5
mov ecx, dword [ebp - 0x2c]
mov eax, 0x2e8ba2e9
sub ecx, dword [esi + 8]
imul ecx
mov eax, dword [esi]
sar edx, 3
dec eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
je 0x10052ccd
mov ecx, dword [ebp - 0x28]
test cl, cl
je 0x10052ddd
mov eax, dword [ebp - 0x24]
lea ecx, [edi + 0x535c]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xc8]
push eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xb8], 0xffffffff
mov dword [ebp - 0xb4], 0x3f000000
mov byte [ebp - 0xb0], 0
mov dword [ebp - 0xc8], 2
call fcn.100293e0
mov edx, dword [ebp - 0x24]
mov dword [edi + 0x3f24], edx
mov ecx, dword [edx + 0x84]
call fcn.1000bc00
mov eax, dword [edi + 0x3f24]
movss xmm0, dword [edi + 0x3f80]
mov ecx, dword [0x101423a0]
movss xmm1, dword [eax + 0x40]
movss xmm2, dword [eax + 0x44]
subss xmm1, dword [ebp - 0x14]
subss xmm2, dword [ebp - 0x10]
mov byte [edi + 0x3f5e], 1
subss xmm0, xmm1
movss dword [edi + 0x3f80], xmm0
movss xmm0, dword [edi + 0x3f84]
subss xmm0, xmm2
movss dword [edi + 0x3f84], xmm0
movaps xmm0, xmmword [0x100c4660]
mov dword [ecx + 0x3f64], 0xffffffff
mov dword [ecx + 0x3f68], 0xffffffff
movups xmmword [ecx + 0x3f6c], xmm0
mov dword [ecx + 0x3f7c], 0xffffffff
cmp byte [ecx + 0x4171], 0
mov word [ecx + 0x4188], 0
setne al
mov byte [ecx + 0x4170], al
cmp byte [ebp - 0x1d], 0
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x288]
mov dword [ebp - 0x28], eax
jne 0x10052e20
cmp byte [ebp - 0x2d], 0
jne 0x10052e20
cmp byte [ebp - 0x3c], 0
je 0x10052e0d
mov eax, dword [ebp - 0x74]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x24]
jmp 0x10052e25
cmp byte [ebp - 0x74], 0
mov ecx, 0x25
mov edx, 0x22
cmovne ecx, edx
jmp 0x10052e25
mov ecx, 0x23
movss xmm1, dword [0x100c43b0]
call fcn.10009ce0
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x14]
push eax
push dword [ebx + 0xc]
call fcn.10053290
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push 1
call fcn.1000ab10
add esp, 0xc
mov ecx, 0x20
call fcn.1000bde0
test al, al
je 0x10052e91
mov ecx, dword [0x101423a0]
movss xmm0, dword [ecx + 0x36ac]
ucomiss xmm0, dword [0x100c42f4]
lahf
test ah, 0x44
jnp 0x10052e83
cmp byte [ecx + 0x3697], 0
je 0x10052e91
cmp byte [ebp - 0x38], 0
mov eax, dword [ebp - 0x1c]
jne 0x10052e94
mov dword [esi + 0x18], eax
jmp 0x10052e94
mov eax, dword [ebp - 0x1c]
test byte [esi + 0xc], 8
je 0x10052e9e
or dword [ebx + 0xc], 4
cmp dword [ebp - 0x58], 0
je 0x10052f06
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10052eae
mov eax, dword [ecx + 4]
push eax
xor edx, edx
mov ecx, str.CLOSE
call fcn.100092e0
mov ecx, dword [0x101423a0]
add esp, 4
mov dword [ebp - 0x50], eax
cmp dword [ecx + 0x3f50], eax
jne 0x10052ed5
mov dword [ecx + 0x3f54], eax
cmp dword [ecx + 0x3f94], eax
jne 0x10052ee4
mov byte [ecx + 0x3f98], 1
cmp dword [ecx + 0x3f38], eax
jne 0x10052f0b
push ecx
push str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.10028fd0
mov eax, dword [ebp - 0x50]
add esp, 8
jmp 0x10052f0b
xor eax, eax
mov dword [ebp - 0x50], eax
push dword [esi + 0x78]
lea ecx, [ebp - 0x46]
push dword [esi + 0x74]
lea edx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x45]
push ecx
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x44]
push dword [ebx + 0xc]
call fcn.100536e0
add esp, 0x24
cmp byte [ebp - 0x45], 0
je 0x10052f79
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x10052f79
mov ecx, dword [ebp - 0x2c]
mov byte [eax], 0
test byte [ecx + 4], 1
jne 0x10052f6f
mov byte [ecx + 0x28], 1
mov eax, dword [esi + 0x1c]
cmp eax, dword [ecx]
jne 0x10052f79
mov dword [ecx + 0xc], 0xffffffff
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
jmp 0x10052f79
mov eax, dword [ecx]
cmp dword [esi + 0x1c], eax
je 0x10052f79
mov dword [esi + 0x18], eax
cmp dword [ebp - 0x24], 0
je 0x10052f9a
cmp byte [ebp - 0x2d], 0
jne 0x10052f90
mov eax, dword [ebp - 0x50]
cmp dword [edi + 0x3f3c], eax
jne 0x10052f9a
or dword [edi + 0x3fc8], 0x80
cmp byte [ebp - 0x15], 0
je 0x10052fa5
call fcn.1000f700
cmp byte [ebp - 0x46], 0
mov eax, dword [ebp - 0x54]
movss xmm0, dword [ebp - 0x34]
movss dword [eax + 0x108], xmm0
movss xmm0, dword [ebp - 0x5c]
movss dword [eax + 0x10c], xmm0
je 0x10053167
mov eax, dword [ebp - 0x1c]
cmp dword [edi + 0x3f3c], eax
jne 0x10053167
cmp byte [ebp - 0x1d], 0
jne 0x10053167
movss xmm0, dword [edi + 0x3f4c]
comiss xmm0, dword [edi + 0x530c]
jbe 0x10053167
mov ecx, dword [0x101423a0]
cmp byte [ecx + 0x416f], 0
mov edx, dword [ecx + 0x3f14]
je 0x1005305c
cmp byte [ecx + 0x416e], 0
jne 0x1005305c
test byte [ecx + 0x3fc4], 4
jne 0x10053167
mov eax, dword [ecx + 0x4134]
mov ecx, dword [ecx + 0x3fc0]
cmp eax, ecx
jne 0x10053167
test eax, eax
je 0x10053167
cmp ecx, dword [edx + 4]
jne 0x10053122
cmp byte [edx + 0xc5], 0
je 0x10053122
jmp 0x10053167
mov eax, dword [ecx + 0x3fc8]
test al, 1
je 0x10053167
cmp dword [ecx + 0x3f18], edx
je 0x1005307a
test al, al
jns 0x10053167
mov eax, dword [ecx + 0x3f50]
test eax, eax
je 0x100530a9
cmp eax, dword [ecx + 0x3fc0]
je 0x100530a9
cmp byte [ecx + 0x3f5d], 0
jne 0x100530a9
cmp eax, dword [edx + 0x84]
je 0x100530a9
cmp eax, dword [edx + 0x88]
jne 0x10053167
mov eax, dword [ecx + 0x4130]
test eax, eax
je 0x100530db
mov eax, dword [eax + 0x32c]
test eax, eax
je 0x100530db
cmp byte [eax + 0xc4], 0
je 0x100530db
cmp eax, dword [edx + 0x32c]
je 0x100530db
test dword [eax + 8], 0xc000000
jne 0x10053167
mov eax, dword [edx + 0x2c]
cmp eax, dword [ecx + 0x40fc]
je 0x10053102
mov edi, dword [ecx + 0x3f24]
test edi, edi
je 0x10053167
mov eax, dword [edx + 0x32c]
cmp eax, dword [edi + 0x32c]
jne 0x10053167
test byte [ecx + 0x3fc4], 4
jne 0x10053167
mov eax, dword [ecx + 0x3fc0]
cmp eax, dword [edx + 0x84]
jne 0x10053122
cmp byte [edx + 0xc5], 0
jne 0x10053167
test byte [esi + 0xc], 0x20
jne 0x10053167
mov eax, dword [ebp - 0x2c]
test byte [eax + 4], 0x10
jne 0x10053167
mov eax, dword [ebp - 0x44]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x10053156
nop dword [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x10053156
cmp dl, 0x23
jne 0x10053150
cmp byte [ecx + 1], dl
je 0x10053156
inc ecx
cmp ecx, 0xffffffff
jb 0x10053140
push eax
sub ecx, eax
push ecx
push str._.s
call fcn.10019080
add esp, 0xc
mov eax, dword [ebp - 0x3c]
cmp byte [ebp - 0x38], 0
movzx ecx, byte [ebp - 0x47]
movzx eax, al
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100acd72
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret