Function at 0x52ec20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x12c
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x52f370
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x68]
test edx, edx
je 0x52f370
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
test byte [ebx + 0x19c], 0x98
jne 0x52fa3d
test dword [ebx + 0x19c], 0x6000
jne 0x52ec71
mov ecx, dword [ebx + 0x1a0]
test ecx, ecx
je 0x52f370
mov edi, dword [ebp + 8]
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x2c]
mov esi, dword [edi + 0x1c4c]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
inc esi
mov dword [ebp - 0x24], esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x34], edx
movzx edi, byte [eax + 0x6c]
mov edx, dword [esi + 0x88]
mov dword [ebp - 0x38], 4
xor eax, eax
lea esi, [ebp - 0x18]
sub dword [ebp - 0x38], edi
mov edi, dword [ebp + 8]
movzx ecx, byte [ebp - 0x38]
shl edx, cl
cmp dword [edi + 0x2c], 0x1c
setne al
add eax, edx
mov dword [ebp - 0xc0], eax
xor ecx, ecx
lea eax, [ebp - 0x14]
mov dword [edi + 0x1c80], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov edx, dword [ebx + 0x34]
xor ebx, ebx
mov dword [esp], edx
call fcn.0045e880
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, dword [edx + ebx*4 + 0x754]
mov eax, dword [ecx + ebx*4 + 0x10]
mov edx, dword [ebp - 0x34]
imul edx, eax
test ebx, ebx
je 0x52ed01
mov ecx, dword [ebp - 0x14]
sar edx, cl
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + ebx*4]
mov dword [esp + 8], edx
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.004050f0
mov edx, dword [ebp + 8]
mov esi, dword [edx + ebx*4 + 0x754]
mov dword [edi + ebx*4], esi
inc ebx
cmp ebx, 2
jle 0x52ece1
mov dword [ebp - 0x28], 0
mov ebx, dword [edi]
mov ecx, 8
mov dword [edi + 0x98], ecx
mov dword [ebp - 0x2c], ebx
mov ebx, edx
mov edx, dword [edx + 0x8c]
cmp edx, 0
jle 0x52f370
mov eax, dword [ebx + 0x88]
xor edi, edi
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0xbc], edi
mov esi, dword [ebp - 0xc0]
sub ebx, 2
mov dword [ebp - 0xa8], ebx
shl esi, 2
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0x3c], 0
cmp eax, 0
jle 0x52f35d
mov eax, dword [ebp - 0x28]
xor edx, edx
xor ebx, ebx
mov dword [ebp - 0x9c], edx
mov ecx, dword [ebp - 0xc0]
xor esi, esi
mov dword [ebp - 0xa0], ebx
mov edi, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xa4], esi
imul eax, ecx
add edi, 8
mov dword [ebp - 0xac], edi
add edx, 4
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x78], edx
lea esi, [esi]
lea edi, [edi]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x3c]
mov edx, dword [esi + 0x90]
mov ecx, dword [esi]
imul ebx, edx
mov dword [ebp - 0xc4], ecx
mov eax, dword [ecx + 0x1a0]
add ebx, edi
mov dword [ebp - 0x40], ebx
test eax, eax
je 0x52eec4
cmp dword [ebp + 0xc], 0xffffffa0
je 0x52eec4
movzx ecx, byte [ebp - 0x38]
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0xb4]
mov ebx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0xa4]
add eax, ebx
lea esi, [eax + eax]
add edx, edx
add edi, 8
mov dword [ebp - 0x94], edx
shl eax, cl
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x54], eax
lea esi, [esi]
lea edi, [edi]
cmp dword [ebp - 0x44], 1
mov dword [ebp - 0x48], 0
je 0x52f3b0
jle 0x52f5a0
cmp dword [ebp - 0x44], 2
je 0x52f575
mov edx, dword [ebp + 0xc]
mov edi, 0x3000
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
mov ebx, dword [edx + 0x68]
add ecx, ecx
mov edx, dword [ebx + eax*4]
shl edi, cl
test edi, edx
jne 0x52f3ef
jmp 0x52eeb0
inc dword [ebp - 0x44]
cmp dword [ebp - 0x44], 2
jle 0x52ee60
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0xc4], edx
mov edi, dword [ebp - 0xc4]
test byte [edi + 0x19d], 0x20
je 0x52efc7
cmp dword [ebp + 0xc], 0xffffffa0
je 0x52efc7
mov ebx, dword [ebp + 0xc]
mov edi, 0x84210843
mov edx, dword [ebp - 0x40]
mov esi, dword [ebx + 0x54]
movsx ecx, byte [edx + esi]
mov esi, 0x1010101
shl ecx, 7
mov eax, ecx
mov ebx, ecx
sar ebx, 0x1f
imul edi
add edx, ecx
sar edx, 4
sub edx, ebx
mov eax, edx
sar eax, 0x1f
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xf0]
imul ebx, dword [ebp - 0xec], 0x1010101
mul esi
mov edi, edx
imul edx, dword [ebp - 0xf0], 0x1010101
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, edi
add ecx, edx
mov edx, dword [eax + 0x14]
lea edi, [ecx + ebx]
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x88], edx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
mov ebx, dword [edx + 0x18]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8c], ebx
mov ebx, dword [ebp - 0x28]
mov edx, dword [eax + 8]
shl ebx, 3
mov dword [ebp - 0x84], edx
mov dword [ebp - 0xf4], ebx
mov esi, esi
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0x88]
mov ebx, dword [ebp - 0xa0]
add edx, ecx
imul eax, edx
inc ecx
add eax, ebx
mov ebx, dword [ebp - 0x80]
mov dword [eax + ebx], esi
mov dword [eax + ebx + 4], edi
mov eax, dword [ebp - 0x8c]
mov ebx, dword [ebp - 0xa0]
imul edx, eax
mov eax, dword [ebp - 0x84]
add edx, ebx
mov dword [edx + eax], esi
cmp ecx, 7
mov dword [edx + eax + 4], edi
jle 0x52ef80
mov ecx, dword [ebp - 0xc4]
test byte [ecx + 0x19d], 0x40
je 0x52f320
cmp dword [ebp + 0xc], 0xffffffa0
je 0x52f320
mov dword [ebp - 0x60], 0x80
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x5c], 0
mov edi, dword [edx + 0x68]
mov eax, dword [edi + esi*4]
xor edi, edi
mov esi, 0x80
test al, 4
mov dword [ebp - 0x58], eax
je 0x52f4fe
mov dword [esp], 0xfdb20051
mov esi, 0x4000c151
mov ebx, 0x4000c151
mov dword [esp + 4], esi
call fcn.006741b0
fmul qword [0x695288]
fnstcw word [ebp - 0x1a]
movzx edi, word [ebp - 0x1a]
mov dword [esp], 0xfdb20051
mov dword [esp + 4], ebx
fadd qword [0x695290]
or di, 0xc00
mov word [ebp - 0x1c], di
fldcw word [ebp - 0x1c]
fistp dword [ebp - 0x20]
fldcw word [ebp - 0x1a]
mov eax, dword [ebp - 0x20]
mov ecx, eax
mov dword [ebp - 0x60], eax
sar ecx, 0x1f
mov dword [ebp - 0x5c], ecx
call fcn.006742e0
fmul qword [0x695288]
fnstcw word [ebp - 0x1a]
movzx ecx, word [ebp - 0x1a]
fadd qword [0x695290]
or cx, 0xc00
mov word [ebp - 0x1c], cx
fldcw word [ebp - 0x1c]
fistp dword [ebp - 0x20]
fldcw word [ebp - 0x1a]
mov ebx, dword [ebp - 0x20]
mov edi, ebx
mov esi, ebx
sar edi, 0x1f
imul ecx, dword [ebp - 0x5c], 0x1010101
mov ebx, 0x1010101
mov eax, dword [ebp - 0x60]
mul ebx
mov dword [ebp - 0x64], edx
imul edx, dword [ebp - 0x60], 0x1010101
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
add eax, edx
add eax, ecx
imul ecx, edi, 0x1010101
mov dword [ebp - 0x64], eax
mov eax, esi
mul ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xfc], edx
imul edx, esi, 0x1010101
mov esi, dword [ebp - 0xfc]
mov dword [ebp - 0x100], eax
mov eax, dword [ebx + 0x14]
add esi, edx
mov edx, dword [ebp + 0xc]
add esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xd0], eax
mov edi, dword [edx + 4]
mov dword [ebp - 0xfc], esi
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ecx + 0x18]
mov dword [ebp - 0xd4], edi
mov edi, dword [ebp - 0x28]
mov edx, dword [eax + 8]
mov dword [ebp - 0xd8], ebx
shl edi, 3
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0x104], edi
mov esi, esi
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0xd0]
mov edi, dword [ebp - 0xa0]
add edx, esi
mov ecx, dword [ebp - 0x68]
inc esi
imul eax, edx
mov ebx, dword [ebp - 0x64]
add eax, edi
mov edi, dword [ebp - 0xd4]
mov dword [eax + edi], ecx
mov ecx, dword [ebp - 0xa0]
mov dword [eax + edi + 4], ebx
mov edi, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x100]
mov ebx, dword [ebp - 0xfc]
imul edx, edi
mov edi, dword [ebp - 0xdc]
add edx, ecx
cmp esi, 7
mov dword [edx + edi], eax
mov dword [edx + edi + 4], ebx
jle 0x52f130
test byte [ebp - 0x58], 0x40
jne 0x52f198
test byte [ebp - 0x58], 0x10
je 0x52f1e7
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xbc]
mov esi, dword [ebp - 0xa4]
mov ebx, dword [edx + 0x10]
add ecx, 8
imul ecx, ebx
mov ebx, dword [edx]
add ecx, esi
mov eax, dword [ecx + ebx]
mov edi, dword [ecx + ebx + 4]
xor eax, 0x80808080
xor edi, 0x80808080
mov dword [ecx + ebx], eax
mov dword [ecx + ebx + 4], edi
add ecx, ebx
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
xor edx, 0x80808080
xor esi, 0x80808080
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], esi
test byte [ebp - 0x58], 0x40
jne 0x52f4c9
test byte [ebp - 0x58], 0x20
jne 0x52f4c9
shr dword [ebp - 0x58], 6
xor ecx, ecx
cmp dword [ebp - 0x38], 1
setg cl
test dword [ebp - 0x58], ecx
je 0x52f320
movzx ecx, byte [ebp - 0xa8]
mov edx, 1
mov esi, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x28]
xor edi, edi
shl edx, cl
mov dword [ebp - 0x6c], edx
imul edx, esi
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x6c]
add eax, eax
mov dword [ebp - 0x70], eax
dec ecx
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xe0], ecx
imul edx, ebx
mov dword [ebp - 0x7c], edx
mov esi, esi
mov eax, dword [ebp - 0x9c]
mov edx, edi
and edx, 1
mov ecx, dword [ebp - 0x70]
add eax, edx
lea esi, [eax*8]
mov eax, edi
sar eax, 1
add eax, ecx
mov ecx, dword [ebp - 0xc0]
lea ebx, [eax*8]
mov dword [ebp - 0x100], ebx
mov ebx, dword [ebp - 0x9c]
imul eax, ecx
movzx ecx, byte [ebp - 0xe0]
add eax, ebx
mov ebx, dword [ebp + 0xc]
add eax, edx
shl eax, cl
mov edx, dword [ebx + 0x60]
lea ebx, [edx + eax*4]
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebx]
cmp edx, dword [ebx + eax*4]
je 0x52f37b
xor edx, edx
nop
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp + 0xc]
add eax, edx
imul eax, dword [ecx + 0x10]
inc edx
add eax, esi
add eax, dword [ecx]
xor byte [eax + 4], 0x80
cmp edx, 7
jle 0x52f2b0
mov eax, dword [ebp - 0x74]
mov edx, dword [ebx]
cmp edx, dword [ebx + eax*4]
je 0x52f399
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x100]
mov eax, dword [ebx + 0x10]
add ecx, 4
mov edx, dword [ebx]
imul ecx, eax
add ecx, edx
mov eax, dword [ecx + esi]
mov ebx, dword [ecx + esi + 4]
xor eax, 0x80808080
xor ebx, 0x80808080
mov dword [ecx + esi], eax
mov dword [ecx + esi + 4], ebx
inc edi
cmp edi, 3
jle 0x52f250
lea esi, [esi]
lea edi, [edi]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x40]
mov esi, dword [edi + 0x7dc]
mov byte [ecx + esi], 0
mov eax, dword [edi + 0x88]
inc dword [ebp - 0x3c]
add dword [ebp - 0xa4], 0x10
add dword [ebp - 0xa0], 8
add dword [ebp - 0x9c], 2
cmp eax, dword [ebp - 0x3c]
jg 0x52ede0
mov edx, dword [edi + 0x8c]
inc dword [ebp - 0x28]
add dword [ebp - 0xbc], 0x10
cmp edx, dword [ebp - 0x28]
jg 0x52ed7b
add esp, 0x12c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebx + ecx]
mov ecx, dword [ebp - 0x74]
cmp dword [ebx + ecx*4], eax
jne 0x52f2ad
mov eax, dword [ebp - 0x74]
cmp edx, dword [ebx + eax*4]
jne 0x52f2db
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + ecx]
cmp dword [ebx + edx*4], eax
jne 0x52f2db
jmp 0x52f30a
mov edx, dword [ebp + 8]
mov edi, dword [edx]
test byte [edi + 0x1a0], 2
je 0x52eeb0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x34], 3
jne 0x52eeb0
mov edx, dword [ebp + 0xc]
mov edi, 0x3000
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
mov ebx, dword [edx + 0x68]
add ecx, ecx
mov edx, dword [ebx + eax*4]
shl edi, cl
test edi, edx
je 0x52eeb0
test dl, 0x40
je 0x52f5d0
mov esi, dword [ebp - 0x38]
xor edi, edi
dec esi
mov dword [ebp - 0x90], esi
mov edx, dword [ebp - 0x94]
mov ecx, edi
mov esi, edi
and ecx, 1
mov ebx, dword [ebp - 0x28]
sar esi, 1
inc edi
add edx, ecx
lea eax, [edx*8 + 4]
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0xc0]
lea eax, [esi + ebx*2]
lea esi, [eax*8 + 4]
mov ebx, dword [ebp - 0x94]
imul eax, edx
mov edx, dword [ebp + 0xc]
add eax, ebx
add eax, ecx
movzx ecx, byte [ebp - 0x90]
shl eax, cl
mov ecx, dword [ebp - 0x48]
mov ebx, dword [edx + ecx*4 + 0x60]
mov edx, dword [ebp - 0xe4]
movzx ecx, byte [ebp - 0x24]
mov dword [ebp - 0x10c], ebx
movsx ebx, word [ebx + eax*4]
sar ebx, cl
add ebx, edx
mov edx, dword [ebp - 0x10c]
movsx eax, word [edx + eax*4 + 2]
mov edx, dword [ebp + 8]
sar eax, cl
lea ecx, [eax + esi]
mov eax, 0x64
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0xa8]
mov edx, dword [ebp - 0x34]
mov dword [esp + 8], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0xe4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0052e980
cmp edi, 3
jle 0x52f404
jmp 0x52eeb0
xor ecx, ecx
nop
lea esi, [esi]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0xbc]
mov edx, dword [ebp + 0xc]
mov ebx, dword [esi + 0x10]
add eax, ecx
mov esi, dword [ebp - 0xa4]
mov edi, dword [edx]
inc ecx
imul eax, ebx
add esi, edi
xor byte [esi + eax + 8], 0x80
cmp ecx, 0xf
jle 0x52f4d0
jmp 0x52f1fb
test byte [ebp - 0x58], 7
je 0x52f50d
test dword [ebp - 0x58], 0x200
jne 0x52f517
test byte [ebp - 0x58], 2
je 0x52f76c
mov dword [esp], 0xfdb20051
mov ecx, 0x3fe0c151
mov dword [esp + 4], ecx
call fcn.006741b0
fmul qword [0x695288]
fnstcw word [ebp - 0x1a]
movzx ebx, word [ebp - 0x1a]
mov dword [esp], 0xfdb20051
fadd qword [0x695290]
or bx, 0xc00
mov word [ebp - 0x1c], bx
fldcw word [ebp - 0x1c]
fistp dword [ebp - 0x20]
fldcw word [ebp - 0x1a]
mov eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x5c], edx
mov edx, 0x3fe0c151
mov dword [ebp - 0x60], eax
mov dword [esp + 4], edx
call fcn.006742e0
jmp 0x52f06d
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
test byte [ecx + 0x1a0], 4
je 0x52eeb0
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x34], 3
jne 0x52eeb0
mov dword [ebp - 0x48], 1
jmp 0x52ee81
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x52ee81
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
test byte [ecx + 0x1a0], 1
je 0x52eeb0
mov dword [ebp - 0x48], 0
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x34], 2
jmp 0x52f3c9
mov edi, dword [ebp - 0x38]
xor esi, esi
dec edi
mov dword [ebp - 0xc8], edi
test dl, 0x10
jne 0x52f6ac
mov edi, dword [ebp - 0x38]
xor esi, esi
dec edi
mov dword [ebp - 0xcc], edi
test dl, 0x20
je 0x52f8c7
movzx ecx, byte [ebp - 0xcc]
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x48]
add eax, esi
lea edi, [eax*8 + 4]
mov eax, dword [ebp - 0x4c]
add eax, esi
shl eax, cl
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + edx*4 + 0x60]
movsx ecx, word [edx + eax*4]
mov dword [ebp - 0x114], edx
movsx edx, word [edx + eax*4 + 2]
mov dword [ebp - 0xe8], ecx
movzx ecx, byte [ebp - 0x24]
sar dword [ebp - 0xe8], cl
sar edx, cl
mov ecx, dword [ebp - 0x40]
test byte [ebx + ecx*4], 0x80
je 0x52f64d
add edx, edx
mov ecx, dword [ebp + 8]
mov ebx, 0x64
inc esi
mov dword [esp + 0x18], ebx
mov ebx, dword [ebp - 0x34]
mov eax, dword [ecx + 0xa8]
mov dword [esp + 0x10], ebx
mov ebx, dword [ebp - 0xac]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x30]
lea ecx, [edx + ebx]
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0xe8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
add edx, edi
mov dword [esp + 4], edx
mov edx, edi
mov dword [esp], ebx
call fcn.0052e980
cmp esi, 1
jg 0x52eeb0
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x68]
jmp 0x52f5fa
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0x9c]
lea eax, [esi + edi*2]
lea edi, [eax*8 + 4]
imul eax, ecx
movzx ecx, byte [ebp - 0xc8]
add eax, edx
shl eax, cl
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + edx*4 + 0x60]
movsx ecx, word [edx + eax*4]
mov dword [ebp - 0x110], edx
movsx edx, word [edx + eax*4 + 2]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xe8], ecx
movzx ecx, byte [ebp - 0x24]
sar dword [ebp - 0xe8], cl
sar edx, cl
test byte [ebx + eax*4], 0x80
je 0x52f709
add edx, edx
mov ecx, dword [ebp + 8]
mov eax, 0x64
inc esi
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x34]
mov ebx, dword [ecx + 0xa8]
mov dword [esp], edi
lea ecx, [edx + edi]
mov edx, dword [ebp - 0x98]
mov dword [esp + 0x14], ebx
mov ebx, dword [ebp - 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x98]
mov dword [esp + 0xc], ebx
mov ebx, dword [ebp - 0xe8]
mov dword [esp + 8], ecx
add ebx, eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], ebx
call fcn.0052e980
cmp esi, 1
jg 0x52eeb0
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx + 0x68]
jmp 0x52f6ac
test byte [ebp - 0x58], 1
je 0x52f7d3
mov dword [esp], 0xfc8b007a
mov ebx, 0x3ff921fa
mov edi, 0x3ff921fa
mov dword [esp + 4], ebx
call fcn.006741b0
fmul qword [0x695288]
fnstcw word [ebp - 0x1a]
movzx eax, word [ebp - 0x1a]
mov dword [esp], 0xfc8b007a
mov dword [esp + 4], edi
fadd qword [0x695290]
or ax, 0xc00
mov word [ebp - 0x1c], ax
fldcw word [ebp - 0x1c]
fistp dword [ebp - 0x20]
fldcw word [ebp - 0x1a]
mov edx, dword [ebp - 0x20]
mov esi, edx
mov dword [ebp - 0x60], edx
sar esi, 0x1f
mov dword [ebp - 0x5c], esi
call fcn.006742e0
jmp 0x52f06d
test dword [ebp - 0x58], 0x100
je 0x52f84b
test dword [ebp - 0x58], 0x800
jne 0x52f09c
mov dword [esp], 0x7d1e8066
mov eax, 0x4004f1a6
mov dword [esp + 4], eax
call fcn.006741b0
fmul qword [0x695288]
fnstcw word [ebp - 0x1a]
mov ecx, 0x4004f1a6
movzx edx, word [ebp - 0x1a]
mov dword [esp], 0x7d1e8066
mov dword [esp + 4], ecx
fadd qword [0x695290]
or dx, 0xc00
mov word [ebp - 0x1c], dx
fldcw word [ebp - 0x1c]
fistp dword [ebp - 0x20]
fldcw word [ebp - 0x1a]
mov esi, dword [ebp - 0x20]
mov edi, esi
mov dword [ebp - 0x60], esi
sar edi, 0x1f
mov dword [ebp - 0x5c], edi
call fcn.006742e0
jmp 0x52f06d
test dword [ebp - 0x58], 0x400
je 0x52f938
test dword [ebp - 0x58], 0x800
je 0x52f938
mov dword [esp], 0x7cbc2b1e
mov edx, 0x4007bc89
mov ebx, 0x4007bc89
mov dword [esp + 4], edx
call fcn.006741b0
fmul qword [0x695288]
fnstcw word [ebp - 0x1a]
movzx esi, word [ebp - 0x1a]
mov dword [esp], 0x7cbc2b1e
mov dword [esp + 4], ebx
fadd qword [0x695290]
or si, 0xc00
mov word [ebp - 0x1c], si
fldcw word [ebp - 0x1c]
fistp dword [ebp - 0x20]
fldcw word [ebp - 0x1a]
mov edi, dword [ebp - 0x20]
mov ecx, edi
mov dword [ebp - 0x60], edi
sar ecx, 0x1f
mov dword [ebp - 0x5c], ecx
call fcn.006742e0
jmp 0x52f06d
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x50]
mov eax, dword [esi + ecx*4 + 0x60]
movzx ecx, byte [ebp - 0x24]
movsx ebx, word [eax + edx*4]
movsx edx, word [eax + edx*4 + 2]
mov eax, dword [ebp - 0xb0]
sar ebx, cl
sar edx, cl
lea esi, [ebx + edi]
add edx, eax
mov ebx, dword [ebp + 8]
mov edi, 0x64
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x18], edi
mov ecx, dword [ebx + 0xa8]
mov dword [esp + 8], edx
mov edi, dword [ebp - 0x30]
mov dword [esp + 0x10], eax
mov edx, dword [ebp - 0x50]
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x14], ecx
mov esi, dword [ebp - 0xb0]
mov dword [esp + 0xc], edi
mov dword [esp], esi
call fcn.0052e980
jmp 0x52eeb0
test dword [ebp - 0x58], 0x400
je 0x52f99f
mov dword [esp], 0x7c59d5d7
mov ecx, 0x400a876c
mov dword [esp + 4], ecx
call fcn.006741b0
fmul qword [0x695288]
fnstcw word [ebp - 0x1a]
movzx ebx, word [ebp - 0x1a]
mov dword [esp], 0x7c59d5d7
fadd qword [0x695290]
or bx, 0xc00
mov word [ebp - 0x1c], bx
fldcw word [ebp - 0x1c]
fistp dword [ebp - 0x20]
fldcw word [ebp - 0x1a]
mov eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x60], eax
mov eax, 0x400a876c
mov dword [ebp - 0x5c], edx
mov dword [esp + 4], eax
call fcn.006742e0
jmp 0x52f06d
test dword [ebp - 0x58], 0x800
jne 0x52f09c
test dword [ebp - 0x58], 0xc000
je 0x52fda4
mov dword [ebp - 0x60], 0xb0
xor edi, edi
test dword [ebp - 0x58], 0x3000
mov esi, 0x80
mov dword [ebp - 0x5c], 0
je 0x52f09c
mov dword [esp], 0x7d1e8066
mov eax, 0x4014f1a6
mov dword [esp + 4], eax
call fcn.006741b0
fmul qword [0x695288]
fnstcw word [ebp - 0x1a]
mov ecx, 0x4014f1a6
movzx edx, word [ebp - 0x1a]
mov dword [esp], 0x7d1e8066
mov dword [esp + 4], ecx
fadd qword [0x695290]
or dx, 0xc00
mov word [ebp - 0x1c], dx
fldcw word [ebp - 0x1c]
fistp dword [ebp - 0x20]
fldcw word [ebp - 0x1a]
mov esi, dword [ebp - 0x20]
mov edi, esi
mov dword [ebp - 0x60], esi
sar edi, 0x1f
mov dword [ebp - 0x5c], edi
call fcn.006742e0
jmp 0x52f06d
mov dword [esp], ebx
mov eax, str.New_frame__type:
mov edi, 2
mov dword [esp + 8], eax
mov dword [esp + 4], edi
call fcn.0045dc30
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x34]
cmp eax, 6
ja case.0x52fa62.0
jmp dword [eax*4 + 0x695298]
mov edx, 0x695241
mov dword [esp + 8], edx
mov ecx, dword [ebp + 8]
mov eax, 2
mov dword [esp + 4], eax
mov eax, dword [ecx]
mov dword [esp], eax
call fcn.0045dc30
mov ebx, dword [ebp + 8]
xor edi, edi
mov esi, dword [ebx + 0x8c]
test esi, esi
jle 0x52fe72
mov edx, dword [ebp + 8]
xor esi, esi
mov ecx, dword [edx + 0x88]
test ecx, ecx
jle 0x52fd72
mov ecx, dword [edx]
test byte [ecx + 0x19c], 0x80
je 0x52fafe
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x90]
mov edx, dword [ebx + 0x7dc]
imul eax, edi
add eax, edx
movzx eax, byte [eax + esi]
cmp eax, 9
jle 0x52fadb
mov eax, 9
mov dword [esp + 0xc], eax
mov edx, 2
mov ebx, 0x695245
mov dword [esp], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
call fcn.0045dc30
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test byte [ecx + 0x19c], 0x10
jne 0x52fc9a
test byte [ecx + 0x19c], 8
je 0x52fc3d
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [edx + 0x90]
mov edx, dword [ebx + 0x68]
imul eax, edi
lea eax, [esi + eax]
mov ebx, dword [edx + eax*4]
test bl, 4
jne 0x52fcda
test bl, 7
je 0x52fb47
test bh, 2
jne 0x52fd4a
test bl, 1
jne 0x52fd15
test bl, 2
jne 0x52fd29
test bh, 1
je 0x52fb67
test bh, 8
jne 0x52fd68
test bh, 1
jne 0x52fd54
test bh, 4
je 0x52fb7e
test bh, 8
jne 0x52fd90
test bh, 4
jne 0x52fd5e
test bh, 8
jne 0x52fd7c
test bh, 0xc0
je 0x52fd9a
test bh, 0x30
jne 0x52fd86
mov eax, 0x695249
mov dword [esp + 8], eax
mov dword [esp], ecx
mov edx, 2
mov dword [esp + 4], edx
call fcn.0045dc30
test bl, 0x40
jne 0x52fcfd
test bl, 0x10
jne 0x52fd0b
test bl, 0x20
jne 0x52fd1f
test bl, 7
jne 0x52fbe5
test bl, 8
je 0x52fc7e
mov eax, 0x69524b
mov dword [esp + 8], eax
mov edx, dword [ebp + 8]
mov eax, 2
mov dword [esp + 4], eax
mov eax, dword [edx]
mov dword [esp], eax
call fcn.0045dc30
and ebx, 0x80
je 0x52fc19
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2c], 0x1c
je 0x52fd33
mov ecx, dword [ebp + 8]
mov ebx, 0x69524b
mov edx, 2
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov eax, dword [ecx]
mov dword [esp], eax
call fcn.0045dc30
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
inc esi
cmp dword [edx + 0x88], esi
jg 0x52fab0
mov dword [esp], ecx
mov eax, 0x69524d
mov ebx, 2
mov dword [esp + 8], eax
inc edi
mov dword [esp + 4], ebx
call fcn.0045dc30
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x8c], edi
jg 0x52fa9b
mov ebx, dword [ecx]
jmp 0x52ec57
mov eax, 0x69524f
mov dword [esp + 8], eax
mov ecx, dword [ebp + 8]
mov edx, 2
mov dword [esp + 4], edx
mov eax, dword [ecx]
jmp 0x52fbfc
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [edx + 0x90]
mov edx, dword [ebx + 0x54]
mov ebx, 0x695251
imul eax, edi
add eax, edx
mov edx, 2
movsx eax, byte [eax + esi]
mov dword [esp], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
call fcn.0045dc30
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
jmp 0x52fb0b
mov eax, 0x695255
mov dword [esp + 8], eax
mov dword [esp], ecx
mov edx, 2
mov dword [esp + 4], edx
call fcn.0045dc30
test bl, 0x40
je 0x52fbc5
mov ecx, 0x695257
mov dword [esp + 8], ecx
jmp 0x52fc87
mov eax, 0x695259
jmp 0x52fbea
mov eax, 0x69525b
jmp 0x52fba7
mov eax, 0x69525d
jmp 0x52fc83
mov eax, 0x69525f
jmp 0x52fba7
mov eax, 0x695261
mov ebx, 2
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
jmp 0x52fc2e
mov eax, 0x695263
jmp 0x52fba7
mov eax, 0x695265
jmp 0x52fba7
mov eax, 0x695267
jmp 0x52fba7
mov eax, 0x695269
jmp 0x52fba7
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
jmp 0x52fc4d
mov eax, 0x69526b
jmp 0x52fba7
mov eax, 0x69526d
jmp 0x52fba7
mov eax, 0x69526f
jmp 0x52fba7
mov eax, 0x695271
jmp 0x52fba7
mov dword [esp], 0xfdb20051
mov ebx, 0x4010c151
mov edi, 0x4010c151
mov dword [esp + 4], ebx
call fcn.006741b0
fmul qword [0x695288]
fnstcw word [ebp - 0x1a]
movzx eax, word [ebp - 0x1a]
mov dword [esp], 0xfdb20051
mov dword [esp + 4], edi
fadd qword [0x695290]
or ax, 0xc00
mov word [ebp - 0x1c], ax
fldcw word [ebp - 0x1c]
fistp dword [ebp - 0x20]
fldcw word [ebp - 0x1a]
mov edx, dword [ebp - 0x20]
mov esi, edx
mov dword [ebp - 0x60], edx
sar esi, 0x1f
mov dword [ebp - 0x5c], esi
call fcn.006742e0
jmp 0x52f06d
mov esi, 0x695273
mov dword [esp + 8], esi
mov ebx, dword [ebp + 8]
mov edi, 2
mov dword [esp + 4], edi
mov eax, dword [ebx]
jmp 0x52fa80
mov edx, dword [ebp + 8]
mov eax, 2
mov ecx, 0x695277
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [edx]
jmp 0x52fa80
mov esi, dword [ebp + 8]
mov edi, 0x69527a
mov ebx, 2
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov eax, dword [esi]
jmp 0x52fa80
mov ecx, 0x69527d
mov dword [esp + 8], ecx
jmp 0x52fa72
mov edx, 0x695280
mov dword [esp + 8], edx
jmp 0x52fe0e
mov edi, dword [ebp + 8]
mov ebx, dword [edi]
jmp 0x52ec57