Function at 0x5518b0
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x6a1da0]
xor eax, ebp
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x244], 0
call fcn.004179c0
movzx eax, al
test eax, eax
jne 0x551913
mov dword [ebp - 0x244], 3
cmp dword [0x6a0aa0], 0
je 0x551921
call fcn.005511b0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
lea eax, [edx + edx + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, 0x3f
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x240]
sub eax, 1
mov dword [ebp - 0x258], eax
jmp 0x55197c
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x258]
sub edx, 1
mov dword [ebp - 0x258], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x240]
jge 0x5519f1
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx*4 + 0x10]
mov dword [ebp + edx*4 - 0x30], ecx
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + edx*4 + 0x14]
mov dword [ebp + eax*4 - 0x10], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + eax*4 - 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + edx*4 - 0x30]
push eax
call fcn.005510c0
add esp, 8
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp + 8]
mov dword [edx + ecx*4 + 0x30], eax
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx*4 + 0x30]
mov dword [ebp + eax*4 - 0x254], ecx
jmp 0x551964
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edx
jmp 0x551a15
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x2020202
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x1c], eax
jge 0x552065
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x25c], edx
mov eax, dword [ebp - 0x240]
and eax, 3
mov dword [ebp - 0x2b4], eax
je 0x551a5f
cmp dword [ebp - 0x2b4], 2
je 0x551c0d
cmp dword [ebp - 0x2b4], 3
je 0x551b36
jmp 0x551d22
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x25c]
movzx eax, byte [edx + 0x6a09a0]
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x24]
xor eax, edx
mov ecx, dword [ebp - 0x244]
mov byte [ebp + ecx - 0x25c], al
mov edx, dword [ebp - 0x244]
xor edx, 1
movzx eax, byte [ebp + edx - 0x25c]
movzx ecx, byte [eax + 0x6a08a0]
mov edx, dword [ebp - 0x244]
xor edx, 1
movzx eax, byte [ebp + edx - 0x24]
xor ecx, eax
mov edx, dword [ebp - 0x244]
xor edx, 1
mov byte [ebp + edx - 0x25c], cl
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x25c]
movzx edx, byte [ecx + 0x6a08a0]
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x24]
xor edx, ecx
mov eax, dword [ebp - 0x244]
xor eax, 2
mov byte [ebp + eax - 0x25c], dl
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx edx, byte [ebp + ecx - 0x25c]
movzx eax, byte [edx + 0x6a09a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx edx, byte [ebp + ecx - 0x24]
xor eax, edx
mov ecx, dword [ebp - 0x244]
xor ecx, 3
mov byte [ebp + ecx - 0x25c], al
mov edx, dword [ebp - 0x244]
movzx eax, byte [ebp + edx - 0x25c]
movzx ecx, byte [eax + 0x6a09a0]
mov edx, dword [ebp - 0x244]
movzx eax, byte [ebp + edx - 0x28]
xor ecx, eax
mov edx, dword [ebp - 0x244]
mov byte [ebp + edx - 0x25c], cl
mov eax, dword [ebp - 0x244]
xor eax, 1
movzx ecx, byte [ebp + eax - 0x25c]
movzx edx, byte [ecx + 0x6a09a0]
mov eax, dword [ebp - 0x244]
xor eax, 1
movzx ecx, byte [ebp + eax - 0x28]
xor edx, ecx
mov eax, dword [ebp - 0x244]
xor eax, 1
mov byte [ebp + eax - 0x25c], dl
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx edx, byte [ebp + ecx - 0x25c]
movzx eax, byte [edx + 0x6a08a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx edx, byte [ebp + ecx - 0x28]
xor eax, edx
mov ecx, dword [ebp - 0x244]
xor ecx, 2
mov byte [ebp + ecx - 0x25c], al
mov edx, dword [ebp - 0x244]
xor edx, 3
movzx eax, byte [ebp + edx - 0x25c]
movzx ecx, byte [eax + 0x6a08a0]
mov edx, dword [ebp - 0x244]
xor edx, 3
movzx eax, byte [ebp + edx - 0x28]
xor ecx, eax
mov edx, dword [ebp - 0x244]
xor edx, 3
mov byte [ebp + edx - 0x25c], cl
mov eax, dword [ebp - 0x244]
movzx ecx, byte [ebp + eax - 0x25c]
movzx edx, byte [ecx + 0x6a08a0]
mov eax, dword [ebp - 0x244]
movzx ecx, byte [ebp + eax - 0x2c]
xor edx, ecx
movzx edx, byte [edx + 0x6a08a0]
mov eax, dword [ebp - 0x244]
movzx ecx, byte [ebp + eax - 0x30]
xor edx, ecx
mov eax, dword [ebp - 0x244]
xor eax, 1
movzx ecx, byte [ebp + eax - 0x25c]
movzx eax, byte [ecx + 0x6a09a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0x2c]
xor eax, ecx
movzx eax, byte [eax + 0x6a08a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0x30]
xor eax, ecx
mov edx, dword [edx*4 + 0x6a6918]
xor edx, dword [eax*4 + 0x6a6d18]
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x25c]
movzx eax, byte [ecx + 0x6a08a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0x2c]
xor eax, ecx
movzx eax, byte [eax + 0x6a09a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0x30]
xor eax, ecx
xor edx, dword [eax*4 + 0x6a7118]
mov eax, dword [ebp - 0x244]
xor eax, 3
movzx ecx, byte [ebp + eax - 0x25c]
movzx eax, byte [ecx + 0x6a09a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0x2c]
xor eax, ecx
movzx eax, byte [eax + 0x6a09a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0x30]
xor eax, ecx
xor edx, dword [eax*4 + 0x6a7518]
mov dword [ebp - 0x23c], edx
mov edx, dword [ebp - 0x34]
add edx, 0x1010101
mov dword [ebp - 0x260], edx
mov eax, dword [ebp - 0x240]
and eax, 3
mov dword [ebp - 0x2b8], eax
je 0x551d61
cmp dword [ebp - 0x2b8], 2
je 0x551f0f
cmp dword [ebp - 0x2b8], 3
je 0x551e38
jmp 0x552021
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x260]
movzx eax, byte [edx + 0x6a09a0]
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 4]
xor eax, edx
mov ecx, dword [ebp - 0x244]
mov byte [ebp + ecx - 0x260], al
mov edx, dword [ebp - 0x244]
xor edx, 1
movzx eax, byte [ebp + edx - 0x260]
movzx ecx, byte [eax + 0x6a08a0]
mov edx, dword [ebp - 0x244]
xor edx, 1
movzx eax, byte [ebp + edx - 4]
xor ecx, eax
mov edx, dword [ebp - 0x244]
xor edx, 1
mov byte [ebp + edx - 0x260], cl
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x260]
movzx edx, byte [ecx + 0x6a08a0]
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 4]
xor edx, ecx
mov eax, dword [ebp - 0x244]
xor eax, 2
mov byte [ebp + eax - 0x260], dl
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx edx, byte [ebp + ecx - 0x260]
movzx eax, byte [edx + 0x6a09a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx edx, byte [ebp + ecx - 4]
xor eax, edx
mov ecx, dword [ebp - 0x244]
xor ecx, 3
mov byte [ebp + ecx - 0x260], al
mov edx, dword [ebp - 0x244]
movzx eax, byte [ebp + edx - 0x260]
movzx ecx, byte [eax + 0x6a09a0]
mov edx, dword [ebp - 0x244]
movzx eax, byte [ebp + edx - 8]
xor ecx, eax
mov edx, dword [ebp - 0x244]
mov byte [ebp + edx - 0x260], cl
mov eax, dword [ebp - 0x244]
xor eax, 1
movzx ecx, byte [ebp + eax - 0x260]
movzx edx, byte [ecx + 0x6a09a0]
mov eax, dword [ebp - 0x244]
xor eax, 1
movzx ecx, byte [ebp + eax - 8]
xor edx, ecx
mov eax, dword [ebp - 0x244]
xor eax, 1
mov byte [ebp + eax - 0x260], dl
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx edx, byte [ebp + ecx - 0x260]
movzx eax, byte [edx + 0x6a08a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx edx, byte [ebp + ecx - 8]
xor eax, edx
mov ecx, dword [ebp - 0x244]
xor ecx, 2
mov byte [ebp + ecx - 0x260], al
mov edx, dword [ebp - 0x244]
xor edx, 3
movzx eax, byte [ebp + edx - 0x260]
movzx ecx, byte [eax + 0x6a08a0]
mov edx, dword [ebp - 0x244]
xor edx, 3
movzx eax, byte [ebp + edx - 8]
xor ecx, eax
mov edx, dword [ebp - 0x244]
xor edx, 3
mov byte [ebp + edx - 0x260], cl
mov eax, dword [ebp - 0x244]
movzx ecx, byte [ebp + eax - 0x260]
movzx edx, byte [ecx + 0x6a08a0]
mov eax, dword [ebp - 0x244]
movzx ecx, byte [ebp + eax - 0xc]
xor edx, ecx
movzx edx, byte [edx + 0x6a08a0]
mov eax, dword [ebp - 0x244]
movzx ecx, byte [ebp + eax - 0x10]
xor edx, ecx
mov eax, dword [ebp - 0x244]
xor eax, 1
movzx ecx, byte [ebp + eax - 0x260]
movzx eax, byte [ecx + 0x6a09a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0xc]
xor eax, ecx
movzx eax, byte [eax + 0x6a08a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0x10]
xor eax, ecx
mov edx, dword [edx*4 + 0x6a6918]
xor edx, dword [eax*4 + 0x6a6d18]
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x260]
movzx eax, byte [ecx + 0x6a08a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0xc]
xor eax, ecx
movzx eax, byte [eax + 0x6a09a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0x10]
xor eax, ecx
xor edx, dword [eax*4 + 0x6a7118]
mov eax, dword [ebp - 0x244]
xor eax, 3
movzx ecx, byte [ebp + eax - 0x260]
movzx eax, byte [ecx + 0x6a09a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0xc]
xor eax, ecx
movzx eax, byte [eax + 0x6a09a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0x10]
xor eax, ecx
xor edx, dword [eax*4 + 0x6a7518]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x20]
rol edx, 8
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x23c]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx*4 + 0x40], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x23c]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
rol eax, 9
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx*4 + 0x44], eax
jmp 0x551a00
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2bc], eax
cmp dword [ebp - 0x2bc], 0x80
je 0x55209f
cmp dword [ebp - 0x2bc], 0xc0
je 0x552376
cmp dword [ebp - 0x2bc], 0x100
je 0x55271a
jmp 0x552ca2
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x6a08a0
lea eax, [ebp - 0x138]
push eax
call fcn.005514b0
add esp, 0xc
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x254]
mov dword [ebp - 0x264], edx
mov dword [ebp - 0x1c], 0
jmp 0x5520e8
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x55214f
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6a08a0]
xor eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6a6918]
mov dword [edx + ecx*4 + 0xe0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6a08a0]
xor eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6a6918]
mov dword [edx + ecx*4 + 0xe8], eax
jmp 0x5520df
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x6a09a0
lea eax, [ebp - 0x138]
push eax
call fcn.005514b0
add esp, 0xc
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx edx, byte [ebp + ecx - 0x254]
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x1c], 0
jmp 0x55219e
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x552205
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6a08a0]
xor eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6a6d18]
mov dword [edx + ecx*4 + 0xe4], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6a08a0]
xor eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6a6d18]
mov dword [edx + ecx*4 + 0xec], eax
jmp 0x552195
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x6a08a0
lea eax, [ebp - 0x138]
push eax
call fcn.005514b0
add esp, 0xc
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx edx, byte [ebp + ecx - 0x254]
mov dword [ebp - 0x26c], edx
mov dword [ebp - 0x1c], 0
jmp 0x552254
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5522bb
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6a09a0]
xor eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6a7118]
mov dword [edx + ecx*4 + 0x8e0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6a09a0]
xor eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6a7118]
mov dword [edx + ecx*4 + 0x8e8], eax
jmp 0x55224b
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x6a09a0
lea eax, [ebp - 0x138]
push eax
call fcn.005514b0
add esp, 0xc
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx edx, byte [ebp + ecx - 0x254]
mov dword [ebp - 0x270], edx
mov dword [ebp - 0x1c], 0
jmp 0x55230a
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x552371
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6a09a0]
xor eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6a7518]
mov dword [edx + ecx*4 + 0x8e4], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6a09a0]
xor eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6a7518]
mov dword [edx + ecx*4 + 0x8ec], eax
jmp 0x552301
jmp 0x552ca2
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x24c]
push edx
push 0x6a09a0
lea eax, [ebp - 0x138]
push eax
call fcn.005514b0
add esp, 0xc
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x254]
mov dword [ebp - 0x274], edx
mov eax, dword [ebp - 0x244]
movzx ecx, byte [ebp + eax - 0x250]
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x1c], 0
jmp 0x5523d3
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x552457
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x138]
movzx edx, byte [ecx + 0x6a08a0]
xor edx, dword [ebp - 0x278]
movzx eax, byte [edx + 0x6a08a0]
xor eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6a6918]
mov dword [edx + ecx*4 + 0xe0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6a08a0]
xor eax, dword [ebp - 0x278]
movzx ecx, byte [eax + 0x6a08a0]
xor ecx, dword [ebp - 0x274]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6a6918]
mov dword [eax + edx*4 + 0xe8], ecx
jmp 0x5523ca
mov edx, dword [ebp - 0x244]
xor edx, 1
movzx eax, byte [ebp + edx - 0x24c]
push eax
push 0x6a09a0
lea ecx, [ebp - 0x138]
push ecx
call fcn.005514b0
add esp, 0xc
mov edx, dword [ebp - 0x244]
xor edx, 1
movzx eax, byte [ebp + edx - 0x254]
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx edx, byte [ebp + ecx - 0x250]
mov dword [ebp - 0x280], edx
mov dword [ebp - 0x1c], 0
jmp 0x5524bd
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x552541
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6a09a0]
xor eax, dword [ebp - 0x280]
movzx ecx, byte [eax + 0x6a08a0]
xor ecx, dword [ebp - 0x27c]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6a6d18]
mov dword [eax + edx*4 + 0xe4], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x137]
movzx ecx, byte [eax + 0x6a09a0]
xor ecx, dword [ebp - 0x280]
movzx edx, byte [ecx + 0x6a08a0]
xor edx, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6a6d18]
mov dword [ecx + eax*4 + 0xec], edx
jmp 0x5524b4
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x24c]
push ecx
push 0x6a08a0
lea edx, [ebp - 0x138]
push edx
call fcn.005514b0
add esp, 0xc
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x254]
mov dword [ebp - 0x284], ecx
mov edx, dword [ebp - 0x244]
xor edx, 2
movzx eax, byte [ebp + edx - 0x250]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x1c], 0
jmp 0x5525a7
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x55262b
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x138]
movzx ecx, byte [eax + 0x6a08a0]
xor ecx, dword [ebp - 0x288]
movzx edx, byte [ecx + 0x6a09a0]
xor edx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6a7118]
mov dword [ecx + eax*4 + 0x8e0], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x137]
movzx edx, byte [ecx + 0x6a08a0]
xor edx, dword [ebp - 0x288]
movzx eax, byte [edx + 0x6a09a0]
xor eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6a7118]
mov dword [edx + ecx*4 + 0x8e8], eax
jmp 0x55259e
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx edx, byte [ebp + ecx - 0x24c]
push edx
push 0x6a08a0
lea eax, [ebp - 0x138]
push eax
call fcn.005514b0
add esp, 0xc
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx edx, byte [ebp + ecx - 0x254]
mov dword [ebp - 0x28c], edx
mov eax, dword [ebp - 0x244]
xor eax, 3
movzx ecx, byte [ebp + eax - 0x250]
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x1c], 0
jmp 0x552691
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x552715
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x138]
movzx edx, byte [ecx + 0x6a09a0]
xor edx, dword [ebp - 0x290]
movzx eax, byte [edx + 0x6a09a0]
xor eax, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6a7518]
mov dword [edx + ecx*4 + 0x8e4], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6a09a0]
xor eax, dword [ebp - 0x290]
movzx ecx, byte [eax + 0x6a09a0]
xor ecx, dword [ebp - 0x28c]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6a7518]
mov dword [eax + edx*4 + 0x8ec], ecx
jmp 0x552688
jmp 0x552ca2
mov edx, dword [ebp - 0x244]
movzx eax, byte [ebp + edx - 0x248]
push eax
push 0x6a09a0
lea ecx, [ebp - 0x238]
push ecx
call fcn.005514b0
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x55274f
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x552790
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x238]
mov edx, dword [ebp - 0x1c]
mov al, byte [ecx + 0x6a09a0]
mov byte [ebp + edx - 0x138], al
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x237]
mov eax, dword [ebp - 0x1c]
mov cl, byte [edx + 0x6a09a0]
mov byte [ebp + eax - 0x137], cl
jmp 0x552746
mov edx, dword [ebp - 0x244]
movzx eax, byte [ebp + edx - 0x24c]
push eax
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x138]
push edx
call fcn.005514b0
add esp, 0xc
mov eax, dword [ebp - 0x244]
movzx ecx, byte [ebp + eax - 0x254]
mov dword [ebp - 0x294], ecx
mov edx, dword [ebp - 0x244]
movzx eax, byte [ebp + edx - 0x250]
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x1c], 0
jmp 0x5527ef
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x552873
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x138]
movzx ecx, byte [eax + 0x6a08a0]
xor ecx, dword [ebp - 0x298]
movzx edx, byte [ecx + 0x6a08a0]
xor edx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6a6918]
mov dword [ecx + eax*4 + 0xe0], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x137]
movzx edx, byte [ecx + 0x6a08a0]
xor edx, dword [ebp - 0x298]
movzx eax, byte [edx + 0x6a08a0]
xor eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6a6918]
mov dword [edx + ecx*4 + 0xe8], eax
jmp 0x5527e6
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx edx, byte [ebp + ecx - 0x248]
push edx
push 0x6a08a0
lea eax, [ebp - 0x238]
push eax
call fcn.005514b0
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x5528ab
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x5528ec
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x238]
mov ecx, dword [ebp - 0x1c]
mov dl, byte [eax + 0x6a09a0]
mov byte [ebp + ecx - 0x138], dl
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x237]
mov edx, dword [ebp - 0x1c]
mov al, byte [ecx + 0x6a09a0]
mov byte [ebp + edx - 0x137], al
jmp 0x5528a2
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx edx, byte [ebp + ecx - 0x24c]
push edx
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x138]
push ecx
call fcn.005514b0
add esp, 0xc
mov edx, dword [ebp - 0x244]
xor edx, 1
movzx eax, byte [ebp + edx - 0x254]
mov dword [ebp - 0x29c], eax
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx edx, byte [ebp + ecx - 0x250]
mov dword [ebp - 0x2a0], edx
mov dword [ebp - 0x1c], 0
jmp 0x552954
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5529d8
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6a09a0]
xor eax, dword [ebp - 0x2a0]
movzx ecx, byte [eax + 0x6a08a0]
xor ecx, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6a6d18]
mov dword [eax + edx*4 + 0xe4], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x137]
movzx ecx, byte [eax + 0x6a09a0]
xor ecx, dword [ebp - 0x2a0]
movzx edx, byte [ecx + 0x6a08a0]
xor edx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6a6d18]
mov dword [ecx + eax*4 + 0xec], edx
jmp 0x55294b
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x248]
push ecx
push 0x6a08a0
lea edx, [ebp - 0x238]
push edx
call fcn.005514b0
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x552a10
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x552a51
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x238]
mov eax, dword [ebp - 0x1c]
mov cl, byte [edx + 0x6a08a0]
mov byte [ebp + eax - 0x138], cl
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x237]
mov ecx, dword [ebp - 0x1c]
mov dl, byte [eax + 0x6a08a0]
mov byte [ebp + ecx - 0x137], dl
jmp 0x552a07
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x24c]
push ecx
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x138]
push eax
call fcn.005514b0
add esp, 0xc
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx edx, byte [ebp + ecx - 0x254]
mov dword [ebp - 0x2a4], edx
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x250]
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 0x1c], 0
jmp 0x552ab9
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x552b3d
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x138]
movzx edx, byte [ecx + 0x6a08a0]
xor edx, dword [ebp - 0x2a8]
movzx eax, byte [edx + 0x6a09a0]
xor eax, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6a7118]
mov dword [edx + ecx*4 + 0x8e0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6a08a0]
xor eax, dword [ebp - 0x2a8]
movzx ecx, byte [eax + 0x6a09a0]
xor ecx, dword [ebp - 0x2a4]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6a7118]
mov dword [eax + edx*4 + 0x8e8], ecx
jmp 0x552ab0
mov edx, dword [ebp - 0x244]
xor edx, 3
movzx eax, byte [ebp + edx - 0x248]
push eax
push 0x6a09a0
lea ecx, [ebp - 0x238]
push ecx
call fcn.005514b0
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x552b75
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x552bb6
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x238]
mov edx, dword [ebp - 0x1c]
mov al, byte [ecx + 0x6a08a0]
mov byte [ebp + edx - 0x138], al
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x237]
mov eax, dword [ebp - 0x1c]
mov cl, byte [edx + 0x6a08a0]
mov byte [ebp + eax - 0x137], cl
jmp 0x552b6c
mov edx, dword [ebp - 0x244]
xor edx, 3
movzx eax, byte [ebp + edx - 0x24c]
push eax
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x138]
push edx
call fcn.005514b0
add esp, 0xc
mov eax, dword [ebp - 0x244]
xor eax, 3
movzx ecx, byte [ebp + eax - 0x254]
mov dword [ebp - 0x2ac], ecx
mov edx, dword [ebp - 0x244]
xor edx, 3
movzx eax, byte [ebp + edx - 0x250]
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x1c], 0
jmp 0x552c1e
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x552ca2
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x138]
movzx ecx, byte [eax + 0x6a09a0]
xor ecx, dword [ebp - 0x2b0]
movzx edx, byte [ecx + 0x6a09a0]
xor edx, dword [ebp - 0x2ac]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6a7518]
mov dword [ecx + eax*4 + 0x8e4], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x137]
movzx edx, byte [ecx + 0x6a09a0]
xor edx, dword [ebp - 0x2b0]
movzx eax, byte [edx + 0x6a09a0]
xor eax, dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6a7518]
mov dword [edx + ecx*4 + 0x8ec], eax
jmp 0x552c15
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
test edx, edx
jne 0x552cba
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00551420
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.005af263
mov esp, ebp
pop ebp
ret