Function at 0x59ff00
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x6e5e14]
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.00465fc0
movzx eax, al
test eax, eax
jne 0x59ff63
mov dword [ebp - 0x244], 3
cmp dword [0x6e4aa0], 0
je 0x59ff71
call fcn.0059f800
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 0x59ffcc
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 0x5a0041
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.0059f710
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 0x59ffb4
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edx
jmp 0x5a0065
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 0x5a06b5
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x25c], edx
mov eax, dword [ebp - 0x240]
and eax, 3
mov dword [ebp - 0x2b4], eax
je 0x5a00af
cmp dword [ebp - 0x2b4], 2
je 0x5a025d
cmp dword [ebp - 0x2b4], 3
je 0x5a0186
jmp 0x5a0372
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x25c]
movzx eax, byte [edx + 0x6e49a0]
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 + 0x6e48a0]
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 + 0x6e48a0]
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 + 0x6e49a0]
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 + 0x6e49a0]
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 + 0x6e49a0]
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 + 0x6e48a0]
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 + 0x6e48a0]
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 + 0x6e48a0]
mov eax, dword [ebp - 0x244]
movzx ecx, byte [ebp + eax - 0x2c]
xor edx, ecx
movzx edx, byte [edx + 0x6e48a0]
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 + 0x6e49a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0x2c]
xor eax, ecx
movzx eax, byte [eax + 0x6e48a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0x30]
xor eax, ecx
mov edx, dword [edx*4 + 0x6eaff8]
xor edx, dword [eax*4 + 0x6eb3f8]
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x25c]
movzx eax, byte [ecx + 0x6e48a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0x2c]
xor eax, ecx
movzx eax, byte [eax + 0x6e49a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0x30]
xor eax, ecx
xor edx, dword [eax*4 + 0x6eb7f8]
mov eax, dword [ebp - 0x244]
xor eax, 3
movzx ecx, byte [ebp + eax - 0x25c]
movzx eax, byte [ecx + 0x6e49a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0x2c]
xor eax, ecx
movzx eax, byte [eax + 0x6e49a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0x30]
xor eax, ecx
xor edx, dword [eax*4 + 0x6ebbf8]
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 0x5a03b1
cmp dword [ebp - 0x2b8], 2
je 0x5a055f
cmp dword [ebp - 0x2b8], 3
je 0x5a0488
jmp 0x5a0671
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x260]
movzx eax, byte [edx + 0x6e49a0]
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 + 0x6e48a0]
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 + 0x6e48a0]
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 + 0x6e49a0]
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 + 0x6e49a0]
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 + 0x6e49a0]
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 + 0x6e48a0]
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 + 0x6e48a0]
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 + 0x6e48a0]
mov eax, dword [ebp - 0x244]
movzx ecx, byte [ebp + eax - 0xc]
xor edx, ecx
movzx edx, byte [edx + 0x6e48a0]
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 + 0x6e49a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0xc]
xor eax, ecx
movzx eax, byte [eax + 0x6e48a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0x10]
xor eax, ecx
mov edx, dword [edx*4 + 0x6eaff8]
xor edx, dword [eax*4 + 0x6eb3f8]
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x260]
movzx eax, byte [ecx + 0x6e48a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0xc]
xor eax, ecx
movzx eax, byte [eax + 0x6e49a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0x10]
xor eax, ecx
xor edx, dword [eax*4 + 0x6eb7f8]
mov eax, dword [ebp - 0x244]
xor eax, 3
movzx ecx, byte [ebp + eax - 0x260]
movzx eax, byte [ecx + 0x6e49a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0xc]
xor eax, ecx
movzx eax, byte [eax + 0x6e49a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0x10]
xor eax, ecx
xor edx, dword [eax*4 + 0x6ebbf8]
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 0x5a0050
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2bc], eax
cmp dword [ebp - 0x2bc], 0x80
je 0x5a06ef
cmp dword [ebp - 0x2bc], 0xc0
je 0x5a09c6
cmp dword [ebp - 0x2bc], 0x100
je 0x5a0d6a
jmp 0x5a12f2
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x6e48a0
lea eax, [ebp - 0x138]
push eax
call fcn.0059fb00
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 0x5a0738
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5a079f
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6e48a0]
xor eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6eaff8]
mov dword [edx + ecx*4 + 0xe0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6e48a0]
xor eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6eaff8]
mov dword [edx + ecx*4 + 0xe8], eax
jmp 0x5a072f
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x6e49a0
lea eax, [ebp - 0x138]
push eax
call fcn.0059fb00
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 0x5a07ee
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5a0855
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6e48a0]
xor eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6eb3f8]
mov dword [edx + ecx*4 + 0xe4], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6e48a0]
xor eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6eb3f8]
mov dword [edx + ecx*4 + 0xec], eax
jmp 0x5a07e5
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x6e48a0
lea eax, [ebp - 0x138]
push eax
call fcn.0059fb00
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 0x5a08a4
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5a090b
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6e49a0]
xor eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6eb7f8]
mov dword [edx + ecx*4 + 0x8e0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6e49a0]
xor eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6eb7f8]
mov dword [edx + ecx*4 + 0x8e8], eax
jmp 0x5a089b
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x6e49a0
lea eax, [ebp - 0x138]
push eax
call fcn.0059fb00
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 0x5a095a
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5a09c1
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6e49a0]
xor eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6ebbf8]
mov dword [edx + ecx*4 + 0x8e4], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6e49a0]
xor eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6ebbf8]
mov dword [edx + ecx*4 + 0x8ec], eax
jmp 0x5a0951
jmp 0x5a12f2
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x24c]
push edx
push 0x6e49a0
lea eax, [ebp - 0x138]
push eax
call fcn.0059fb00
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 0x5a0a23
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5a0aa7
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x138]
movzx edx, byte [ecx + 0x6e48a0]
xor edx, dword [ebp - 0x278]
movzx eax, byte [edx + 0x6e48a0]
xor eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6eaff8]
mov dword [edx + ecx*4 + 0xe0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6e48a0]
xor eax, dword [ebp - 0x278]
movzx ecx, byte [eax + 0x6e48a0]
xor ecx, dword [ebp - 0x274]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6eaff8]
mov dword [eax + edx*4 + 0xe8], ecx
jmp 0x5a0a1a
mov edx, dword [ebp - 0x244]
xor edx, 1
movzx eax, byte [ebp + edx - 0x24c]
push eax
push 0x6e49a0
lea ecx, [ebp - 0x138]
push ecx
call fcn.0059fb00
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 0x5a0b0d
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5a0b91
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6e49a0]
xor eax, dword [ebp - 0x280]
movzx ecx, byte [eax + 0x6e48a0]
xor ecx, dword [ebp - 0x27c]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6eb3f8]
mov dword [eax + edx*4 + 0xe4], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x137]
movzx ecx, byte [eax + 0x6e49a0]
xor ecx, dword [ebp - 0x280]
movzx edx, byte [ecx + 0x6e48a0]
xor edx, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6eb3f8]
mov dword [ecx + eax*4 + 0xec], edx
jmp 0x5a0b04
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x24c]
push ecx
push 0x6e48a0
lea edx, [ebp - 0x138]
push edx
call fcn.0059fb00
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 0x5a0bf7
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x5a0c7b
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x138]
movzx ecx, byte [eax + 0x6e48a0]
xor ecx, dword [ebp - 0x288]
movzx edx, byte [ecx + 0x6e49a0]
xor edx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6eb7f8]
mov dword [ecx + eax*4 + 0x8e0], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x137]
movzx edx, byte [ecx + 0x6e48a0]
xor edx, dword [ebp - 0x288]
movzx eax, byte [edx + 0x6e49a0]
xor eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6eb7f8]
mov dword [edx + ecx*4 + 0x8e8], eax
jmp 0x5a0bee
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx edx, byte [ebp + ecx - 0x24c]
push edx
push 0x6e48a0
lea eax, [ebp - 0x138]
push eax
call fcn.0059fb00
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 0x5a0ce1
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5a0d65
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x138]
movzx edx, byte [ecx + 0x6e49a0]
xor edx, dword [ebp - 0x290]
movzx eax, byte [edx + 0x6e49a0]
xor eax, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6ebbf8]
mov dword [edx + ecx*4 + 0x8e4], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6e49a0]
xor eax, dword [ebp - 0x290]
movzx ecx, byte [eax + 0x6e49a0]
xor ecx, dword [ebp - 0x28c]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6ebbf8]
mov dword [eax + edx*4 + 0x8ec], ecx
jmp 0x5a0cd8
jmp 0x5a12f2
mov edx, dword [ebp - 0x244]
movzx eax, byte [ebp + edx - 0x248]
push eax
push 0x6e49a0
lea ecx, [ebp - 0x238]
push ecx
call fcn.0059fb00
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x5a0d9f
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5a0de0
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x238]
mov edx, dword [ebp - 0x1c]
mov al, byte [ecx + 0x6e49a0]
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 + 0x6e49a0]
mov byte [ebp + eax - 0x137], cl
jmp 0x5a0d96
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.0059fb00
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 0x5a0e3f
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x5a0ec3
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x138]
movzx ecx, byte [eax + 0x6e48a0]
xor ecx, dword [ebp - 0x298]
movzx edx, byte [ecx + 0x6e48a0]
xor edx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6eaff8]
mov dword [ecx + eax*4 + 0xe0], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x137]
movzx edx, byte [ecx + 0x6e48a0]
xor edx, dword [ebp - 0x298]
movzx eax, byte [edx + 0x6e48a0]
xor eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6eaff8]
mov dword [edx + ecx*4 + 0xe8], eax
jmp 0x5a0e36
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx edx, byte [ebp + ecx - 0x248]
push edx
push 0x6e48a0
lea eax, [ebp - 0x238]
push eax
call fcn.0059fb00
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x5a0efb
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x5a0f3c
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x238]
mov ecx, dword [ebp - 0x1c]
mov dl, byte [eax + 0x6e49a0]
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 + 0x6e49a0]
mov byte [ebp + edx - 0x137], al
jmp 0x5a0ef2
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.0059fb00
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 0x5a0fa4
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5a1028
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6e49a0]
xor eax, dword [ebp - 0x2a0]
movzx ecx, byte [eax + 0x6e48a0]
xor ecx, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6eb3f8]
mov dword [eax + edx*4 + 0xe4], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x137]
movzx ecx, byte [eax + 0x6e49a0]
xor ecx, dword [ebp - 0x2a0]
movzx edx, byte [ecx + 0x6e48a0]
xor edx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6eb3f8]
mov dword [ecx + eax*4 + 0xec], edx
jmp 0x5a0f9b
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x248]
push ecx
push 0x6e48a0
lea edx, [ebp - 0x238]
push edx
call fcn.0059fb00
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x5a1060
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5a10a1
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x238]
mov eax, dword [ebp - 0x1c]
mov cl, byte [edx + 0x6e48a0]
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 + 0x6e48a0]
mov byte [ebp + ecx - 0x137], dl
jmp 0x5a1057
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.0059fb00
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 0x5a1109
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5a118d
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x138]
movzx edx, byte [ecx + 0x6e48a0]
xor edx, dword [ebp - 0x2a8]
movzx eax, byte [edx + 0x6e49a0]
xor eax, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6eb7f8]
mov dword [edx + ecx*4 + 0x8e0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6e48a0]
xor eax, dword [ebp - 0x2a8]
movzx ecx, byte [eax + 0x6e49a0]
xor ecx, dword [ebp - 0x2a4]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6eb7f8]
mov dword [eax + edx*4 + 0x8e8], ecx
jmp 0x5a1100
mov edx, dword [ebp - 0x244]
xor edx, 3
movzx eax, byte [ebp + edx - 0x248]
push eax
push 0x6e49a0
lea ecx, [ebp - 0x238]
push ecx
call fcn.0059fb00
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x5a11c5
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5a1206
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x238]
mov edx, dword [ebp - 0x1c]
mov al, byte [ecx + 0x6e48a0]
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 + 0x6e48a0]
mov byte [ebp + eax - 0x137], cl
jmp 0x5a11bc
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.0059fb00
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 0x5a126e
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x5a12f2
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x138]
movzx ecx, byte [eax + 0x6e49a0]
xor ecx, dword [ebp - 0x2b0]
movzx edx, byte [ecx + 0x6e49a0]
xor edx, dword [ebp - 0x2ac]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6ebbf8]
mov dword [ecx + eax*4 + 0x8e4], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x137]
movzx edx, byte [ecx + 0x6e49a0]
xor edx, dword [ebp - 0x2b0]
movzx eax, byte [edx + 0x6e49a0]
xor eax, dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6ebbf8]
mov dword [edx + ecx*4 + 0x8ec], eax
jmp 0x5a1265
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
test edx, edx
jne 0x5a130a
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0059fa70
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.005d0de7
mov esp, ebp
pop ebp
ret