Function at 0x5ae3d0
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x714dfc]
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.00474490
movzx eax, al
test eax, eax
jne 0x5ae433
mov dword [ebp - 0x244], 3
cmp dword [0x713aa0], 0
je 0x5ae441
call fcn.005adcd0
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 0x5ae49c
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 0x5ae511
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.005adbe0
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 0x5ae484
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edx
jmp 0x5ae535
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 0x5aeb85
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x25c], edx
mov eax, dword [ebp - 0x240]
and eax, 3
mov dword [ebp - 0x2b4], eax
je 0x5ae57f
cmp dword [ebp - 0x2b4], 2
je 0x5ae72d
cmp dword [ebp - 0x2b4], 3
je 0x5ae656
jmp 0x5ae842
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x25c]
movzx eax, byte [edx + 0x7139a0]
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 + 0x7138a0]
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 + 0x7138a0]
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 + 0x7139a0]
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 + 0x7139a0]
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 + 0x7139a0]
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 + 0x7138a0]
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 + 0x7138a0]
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 + 0x7138a0]
mov eax, dword [ebp - 0x244]
movzx ecx, byte [ebp + eax - 0x2c]
xor edx, ecx
movzx edx, byte [edx + 0x7138a0]
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 + 0x7139a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0x2c]
xor eax, ecx
movzx eax, byte [eax + 0x7138a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0x30]
xor eax, ecx
mov edx, dword [edx*4 + 0x719838]
xor edx, dword [eax*4 + 0x719c38]
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x25c]
movzx eax, byte [ecx + 0x7138a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0x2c]
xor eax, ecx
movzx eax, byte [eax + 0x7139a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0x30]
xor eax, ecx
xor edx, dword [eax*4 + 0x71a038]
mov eax, dword [ebp - 0x244]
xor eax, 3
movzx ecx, byte [ebp + eax - 0x25c]
movzx eax, byte [ecx + 0x7139a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0x2c]
xor eax, ecx
movzx eax, byte [eax + 0x7139a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0x30]
xor eax, ecx
xor edx, dword [eax*4 + 0x71a438]
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 0x5ae881
cmp dword [ebp - 0x2b8], 2
je 0x5aea2f
cmp dword [ebp - 0x2b8], 3
je 0x5ae958
jmp 0x5aeb41
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x260]
movzx eax, byte [edx + 0x7139a0]
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 + 0x7138a0]
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 + 0x7138a0]
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 + 0x7139a0]
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 + 0x7139a0]
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 + 0x7139a0]
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 + 0x7138a0]
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 + 0x7138a0]
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 + 0x7138a0]
mov eax, dword [ebp - 0x244]
movzx ecx, byte [ebp + eax - 0xc]
xor edx, ecx
movzx edx, byte [edx + 0x7138a0]
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 + 0x7139a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0xc]
xor eax, ecx
movzx eax, byte [eax + 0x7138a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0x10]
xor eax, ecx
mov edx, dword [edx*4 + 0x719838]
xor edx, dword [eax*4 + 0x719c38]
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x260]
movzx eax, byte [ecx + 0x7138a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0xc]
xor eax, ecx
movzx eax, byte [eax + 0x7139a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0x10]
xor eax, ecx
xor edx, dword [eax*4 + 0x71a038]
mov eax, dword [ebp - 0x244]
xor eax, 3
movzx ecx, byte [ebp + eax - 0x260]
movzx eax, byte [ecx + 0x7139a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0xc]
xor eax, ecx
movzx eax, byte [eax + 0x7139a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0x10]
xor eax, ecx
xor edx, dword [eax*4 + 0x71a438]
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 0x5ae520
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2bc], eax
cmp dword [ebp - 0x2bc], 0x80
je 0x5aebbf
cmp dword [ebp - 0x2bc], 0xc0
je 0x5aee96
cmp dword [ebp - 0x2bc], 0x100
je 0x5af23a
jmp 0x5af7c2
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x7138a0
lea eax, [ebp - 0x138]
push eax
call fcn.005adfd0
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 0x5aec08
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5aec6f
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x7138a0]
xor eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x719838]
mov dword [edx + ecx*4 + 0xe0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x7138a0]
xor eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x719838]
mov dword [edx + ecx*4 + 0xe8], eax
jmp 0x5aebff
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x7139a0
lea eax, [ebp - 0x138]
push eax
call fcn.005adfd0
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 0x5aecbe
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5aed25
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x7138a0]
xor eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x719c38]
mov dword [edx + ecx*4 + 0xe4], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x7138a0]
xor eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x719c38]
mov dword [edx + ecx*4 + 0xec], eax
jmp 0x5aecb5
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x7138a0
lea eax, [ebp - 0x138]
push eax
call fcn.005adfd0
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 0x5aed74
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5aeddb
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x7139a0]
xor eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x71a038]
mov dword [edx + ecx*4 + 0x8e0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x7139a0]
xor eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x71a038]
mov dword [edx + ecx*4 + 0x8e8], eax
jmp 0x5aed6b
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x7139a0
lea eax, [ebp - 0x138]
push eax
call fcn.005adfd0
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 0x5aee2a
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5aee91
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x7139a0]
xor eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x71a438]
mov dword [edx + ecx*4 + 0x8e4], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x7139a0]
xor eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x71a438]
mov dword [edx + ecx*4 + 0x8ec], eax
jmp 0x5aee21
jmp 0x5af7c2
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x24c]
push edx
push 0x7139a0
lea eax, [ebp - 0x138]
push eax
call fcn.005adfd0
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 0x5aeef3
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5aef77
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x138]
movzx edx, byte [ecx + 0x7138a0]
xor edx, dword [ebp - 0x278]
movzx eax, byte [edx + 0x7138a0]
xor eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x719838]
mov dword [edx + ecx*4 + 0xe0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x7138a0]
xor eax, dword [ebp - 0x278]
movzx ecx, byte [eax + 0x7138a0]
xor ecx, dword [ebp - 0x274]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x719838]
mov dword [eax + edx*4 + 0xe8], ecx
jmp 0x5aeeea
mov edx, dword [ebp - 0x244]
xor edx, 1
movzx eax, byte [ebp + edx - 0x24c]
push eax
push 0x7139a0
lea ecx, [ebp - 0x138]
push ecx
call fcn.005adfd0
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 0x5aefdd
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5af061
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x7139a0]
xor eax, dword [ebp - 0x280]
movzx ecx, byte [eax + 0x7138a0]
xor ecx, dword [ebp - 0x27c]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x719c38]
mov dword [eax + edx*4 + 0xe4], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x137]
movzx ecx, byte [eax + 0x7139a0]
xor ecx, dword [ebp - 0x280]
movzx edx, byte [ecx + 0x7138a0]
xor edx, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x719c38]
mov dword [ecx + eax*4 + 0xec], edx
jmp 0x5aefd4
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x24c]
push ecx
push 0x7138a0
lea edx, [ebp - 0x138]
push edx
call fcn.005adfd0
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 0x5af0c7
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x5af14b
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x138]
movzx ecx, byte [eax + 0x7138a0]
xor ecx, dword [ebp - 0x288]
movzx edx, byte [ecx + 0x7139a0]
xor edx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x71a038]
mov dword [ecx + eax*4 + 0x8e0], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x137]
movzx edx, byte [ecx + 0x7138a0]
xor edx, dword [ebp - 0x288]
movzx eax, byte [edx + 0x7139a0]
xor eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x71a038]
mov dword [edx + ecx*4 + 0x8e8], eax
jmp 0x5af0be
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx edx, byte [ebp + ecx - 0x24c]
push edx
push 0x7138a0
lea eax, [ebp - 0x138]
push eax
call fcn.005adfd0
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 0x5af1b1
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5af235
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x138]
movzx edx, byte [ecx + 0x7139a0]
xor edx, dword [ebp - 0x290]
movzx eax, byte [edx + 0x7139a0]
xor eax, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x71a438]
mov dword [edx + ecx*4 + 0x8e4], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x7139a0]
xor eax, dword [ebp - 0x290]
movzx ecx, byte [eax + 0x7139a0]
xor ecx, dword [ebp - 0x28c]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x71a438]
mov dword [eax + edx*4 + 0x8ec], ecx
jmp 0x5af1a8
jmp 0x5af7c2
mov edx, dword [ebp - 0x244]
movzx eax, byte [ebp + edx - 0x248]
push eax
push 0x7139a0
lea ecx, [ebp - 0x238]
push ecx
call fcn.005adfd0
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x5af26f
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5af2b0
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x238]
mov edx, dword [ebp - 0x1c]
mov al, byte [ecx + 0x7139a0]
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 + 0x7139a0]
mov byte [ebp + eax - 0x137], cl
jmp 0x5af266
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.005adfd0
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 0x5af30f
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x5af393
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x138]
movzx ecx, byte [eax + 0x7138a0]
xor ecx, dword [ebp - 0x298]
movzx edx, byte [ecx + 0x7138a0]
xor edx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x719838]
mov dword [ecx + eax*4 + 0xe0], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x137]
movzx edx, byte [ecx + 0x7138a0]
xor edx, dword [ebp - 0x298]
movzx eax, byte [edx + 0x7138a0]
xor eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x719838]
mov dword [edx + ecx*4 + 0xe8], eax
jmp 0x5af306
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx edx, byte [ebp + ecx - 0x248]
push edx
push 0x7138a0
lea eax, [ebp - 0x238]
push eax
call fcn.005adfd0
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x5af3cb
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x5af40c
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x238]
mov ecx, dword [ebp - 0x1c]
mov dl, byte [eax + 0x7139a0]
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 + 0x7139a0]
mov byte [ebp + edx - 0x137], al
jmp 0x5af3c2
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.005adfd0
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 0x5af474
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5af4f8
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x7139a0]
xor eax, dword [ebp - 0x2a0]
movzx ecx, byte [eax + 0x7138a0]
xor ecx, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x719c38]
mov dword [eax + edx*4 + 0xe4], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x137]
movzx ecx, byte [eax + 0x7139a0]
xor ecx, dword [ebp - 0x2a0]
movzx edx, byte [ecx + 0x7138a0]
xor edx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x719c38]
mov dword [ecx + eax*4 + 0xec], edx
jmp 0x5af46b
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x248]
push ecx
push 0x7138a0
lea edx, [ebp - 0x238]
push edx
call fcn.005adfd0
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x5af530
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5af571
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x238]
mov eax, dword [ebp - 0x1c]
mov cl, byte [edx + 0x7138a0]
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 + 0x7138a0]
mov byte [ebp + ecx - 0x137], dl
jmp 0x5af527
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.005adfd0
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 0x5af5d9
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5af65d
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x138]
movzx edx, byte [ecx + 0x7138a0]
xor edx, dword [ebp - 0x2a8]
movzx eax, byte [edx + 0x7139a0]
xor eax, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x71a038]
mov dword [edx + ecx*4 + 0x8e0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x7138a0]
xor eax, dword [ebp - 0x2a8]
movzx ecx, byte [eax + 0x7139a0]
xor ecx, dword [ebp - 0x2a4]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x71a038]
mov dword [eax + edx*4 + 0x8e8], ecx
jmp 0x5af5d0
mov edx, dword [ebp - 0x244]
xor edx, 3
movzx eax, byte [ebp + edx - 0x248]
push eax
push 0x7139a0
lea ecx, [ebp - 0x238]
push ecx
call fcn.005adfd0
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x5af695
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5af6d6
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x238]
mov edx, dword [ebp - 0x1c]
mov al, byte [ecx + 0x7138a0]
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 + 0x7138a0]
mov byte [ebp + eax - 0x137], cl
jmp 0x5af68c
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.005adfd0
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 0x5af73e
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x5af7c2
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x138]
movzx ecx, byte [eax + 0x7139a0]
xor ecx, dword [ebp - 0x2b0]
movzx edx, byte [ecx + 0x7139a0]
xor edx, dword [ebp - 0x2ac]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x71a438]
mov dword [ecx + eax*4 + 0x8e4], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x137]
movzx edx, byte [ecx + 0x7139a0]
xor edx, dword [ebp - 0x2b0]
movzx eax, byte [edx + 0x7139a0]
xor eax, dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x71a438]
mov dword [edx + ecx*4 + 0x8ec], eax
jmp 0x5af735
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
test edx, edx
jne 0x5af7da
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.005adf40
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.005dec57
mov esp, ebp
pop ebp
ret