Function at 0x5b0610
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x6f1330]
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.004766d0
movzx eax, al
test eax, eax
jne 0x5b0673
mov dword [ebp - 0x244], 3
cmp dword [0x6effb8], 0
je 0x5b0681
call fcn.005aff10
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 0x5b06dc
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 0x5b0751
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.005afe20
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 0x5b06c4
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edx
jmp 0x5b0775
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 0x5b0dc5
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x25c], edx
mov eax, dword [ebp - 0x240]
and eax, 3
mov dword [ebp - 0x2b4], eax
je 0x5b07bf
cmp dword [ebp - 0x2b4], 2
je 0x5b096d
cmp dword [ebp - 0x2b4], 3
je 0x5b0896
jmp 0x5b0a82
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x25c]
movzx eax, byte [edx + 0x6efeb8]
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 + 0x6efdb8]
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 + 0x6efdb8]
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 + 0x6efeb8]
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 + 0x6efeb8]
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 + 0x6efeb8]
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 + 0x6efdb8]
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 + 0x6efdb8]
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 + 0x6efdb8]
mov eax, dword [ebp - 0x244]
movzx ecx, byte [ebp + eax - 0x2c]
xor edx, ecx
movzx edx, byte [edx + 0x6efdb8]
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 + 0x6efeb8]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0x2c]
xor eax, ecx
movzx eax, byte [eax + 0x6efdb8]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0x30]
xor eax, ecx
mov edx, dword [edx*4 + 0x6f8688]
xor edx, dword [eax*4 + 0x6f8a88]
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x25c]
movzx eax, byte [ecx + 0x6efdb8]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0x2c]
xor eax, ecx
movzx eax, byte [eax + 0x6efeb8]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0x30]
xor eax, ecx
xor edx, dword [eax*4 + 0x6f8e88]
mov eax, dword [ebp - 0x244]
xor eax, 3
movzx ecx, byte [ebp + eax - 0x25c]
movzx eax, byte [ecx + 0x6efeb8]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0x2c]
xor eax, ecx
movzx eax, byte [eax + 0x6efeb8]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0x30]
xor eax, ecx
xor edx, dword [eax*4 + 0x6f9288]
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 0x5b0ac1
cmp dword [ebp - 0x2b8], 2
je 0x5b0c6f
cmp dword [ebp - 0x2b8], 3
je 0x5b0b98
jmp 0x5b0d81
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x260]
movzx eax, byte [edx + 0x6efeb8]
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 + 0x6efdb8]
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 + 0x6efdb8]
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 + 0x6efeb8]
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 + 0x6efeb8]
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 + 0x6efeb8]
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 + 0x6efdb8]
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 + 0x6efdb8]
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 + 0x6efdb8]
mov eax, dword [ebp - 0x244]
movzx ecx, byte [ebp + eax - 0xc]
xor edx, ecx
movzx edx, byte [edx + 0x6efdb8]
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 + 0x6efeb8]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0xc]
xor eax, ecx
movzx eax, byte [eax + 0x6efdb8]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0x10]
xor eax, ecx
mov edx, dword [edx*4 + 0x6f8688]
xor edx, dword [eax*4 + 0x6f8a88]
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x260]
movzx eax, byte [ecx + 0x6efdb8]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0xc]
xor eax, ecx
movzx eax, byte [eax + 0x6efeb8]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0x10]
xor eax, ecx
xor edx, dword [eax*4 + 0x6f8e88]
mov eax, dword [ebp - 0x244]
xor eax, 3
movzx ecx, byte [ebp + eax - 0x260]
movzx eax, byte [ecx + 0x6efeb8]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0xc]
xor eax, ecx
movzx eax, byte [eax + 0x6efeb8]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0x10]
xor eax, ecx
xor edx, dword [eax*4 + 0x6f9288]
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 0x5b0760
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2bc], eax
cmp dword [ebp - 0x2bc], 0x80
je 0x5b0dff
cmp dword [ebp - 0x2bc], 0xc0
je 0x5b10d6
cmp dword [ebp - 0x2bc], 0x100
je 0x5b147a
jmp 0x5b1a02
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x6efdb8
lea eax, [ebp - 0x138]
push eax
call fcn.005b0210
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 0x5b0e48
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5b0eaf
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6efdb8]
xor eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6f8688]
mov dword [edx + ecx*4 + 0xe0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6efdb8]
xor eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6f8688]
mov dword [edx + ecx*4 + 0xe8], eax
jmp 0x5b0e3f
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x6efeb8
lea eax, [ebp - 0x138]
push eax
call fcn.005b0210
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 0x5b0efe
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5b0f65
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6efdb8]
xor eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6f8a88]
mov dword [edx + ecx*4 + 0xe4], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6efdb8]
xor eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6f8a88]
mov dword [edx + ecx*4 + 0xec], eax
jmp 0x5b0ef5
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x6efdb8
lea eax, [ebp - 0x138]
push eax
call fcn.005b0210
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 0x5b0fb4
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5b101b
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6efeb8]
xor eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6f8e88]
mov dword [edx + ecx*4 + 0x8e0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6efeb8]
xor eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6f8e88]
mov dword [edx + ecx*4 + 0x8e8], eax
jmp 0x5b0fab
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x6efeb8
lea eax, [ebp - 0x138]
push eax
call fcn.005b0210
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 0x5b106a
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5b10d1
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6efeb8]
xor eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6f9288]
mov dword [edx + ecx*4 + 0x8e4], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6efeb8]
xor eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6f9288]
mov dword [edx + ecx*4 + 0x8ec], eax
jmp 0x5b1061
jmp 0x5b1a02
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x24c]
push edx
push 0x6efeb8
lea eax, [ebp - 0x138]
push eax
call fcn.005b0210
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 0x5b1133
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5b11b7
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x138]
movzx edx, byte [ecx + 0x6efdb8]
xor edx, dword [ebp - 0x278]
movzx eax, byte [edx + 0x6efdb8]
xor eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6f8688]
mov dword [edx + ecx*4 + 0xe0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6efdb8]
xor eax, dword [ebp - 0x278]
movzx ecx, byte [eax + 0x6efdb8]
xor ecx, dword [ebp - 0x274]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6f8688]
mov dword [eax + edx*4 + 0xe8], ecx
jmp 0x5b112a
mov edx, dword [ebp - 0x244]
xor edx, 1
movzx eax, byte [ebp + edx - 0x24c]
push eax
push 0x6efeb8
lea ecx, [ebp - 0x138]
push ecx
call fcn.005b0210
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 0x5b121d
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5b12a1
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6efeb8]
xor eax, dword [ebp - 0x280]
movzx ecx, byte [eax + 0x6efdb8]
xor ecx, dword [ebp - 0x27c]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6f8a88]
mov dword [eax + edx*4 + 0xe4], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x137]
movzx ecx, byte [eax + 0x6efeb8]
xor ecx, dword [ebp - 0x280]
movzx edx, byte [ecx + 0x6efdb8]
xor edx, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6f8a88]
mov dword [ecx + eax*4 + 0xec], edx
jmp 0x5b1214
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x24c]
push ecx
push 0x6efdb8
lea edx, [ebp - 0x138]
push edx
call fcn.005b0210
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 0x5b1307
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x5b138b
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x138]
movzx ecx, byte [eax + 0x6efdb8]
xor ecx, dword [ebp - 0x288]
movzx edx, byte [ecx + 0x6efeb8]
xor edx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6f8e88]
mov dword [ecx + eax*4 + 0x8e0], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x137]
movzx edx, byte [ecx + 0x6efdb8]
xor edx, dword [ebp - 0x288]
movzx eax, byte [edx + 0x6efeb8]
xor eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6f8e88]
mov dword [edx + ecx*4 + 0x8e8], eax
jmp 0x5b12fe
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx edx, byte [ebp + ecx - 0x24c]
push edx
push 0x6efdb8
lea eax, [ebp - 0x138]
push eax
call fcn.005b0210
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 0x5b13f1
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5b1475
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x138]
movzx edx, byte [ecx + 0x6efeb8]
xor edx, dword [ebp - 0x290]
movzx eax, byte [edx + 0x6efeb8]
xor eax, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6f9288]
mov dword [edx + ecx*4 + 0x8e4], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6efeb8]
xor eax, dword [ebp - 0x290]
movzx ecx, byte [eax + 0x6efeb8]
xor ecx, dword [ebp - 0x28c]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6f9288]
mov dword [eax + edx*4 + 0x8ec], ecx
jmp 0x5b13e8
jmp 0x5b1a02
mov edx, dword [ebp - 0x244]
movzx eax, byte [ebp + edx - 0x248]
push eax
push 0x6efeb8
lea ecx, [ebp - 0x238]
push ecx
call fcn.005b0210
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x5b14af
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5b14f0
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x238]
mov edx, dword [ebp - 0x1c]
mov al, byte [ecx + 0x6efeb8]
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 + 0x6efeb8]
mov byte [ebp + eax - 0x137], cl
jmp 0x5b14a6
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.005b0210
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 0x5b154f
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x5b15d3
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x138]
movzx ecx, byte [eax + 0x6efdb8]
xor ecx, dword [ebp - 0x298]
movzx edx, byte [ecx + 0x6efdb8]
xor edx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6f8688]
mov dword [ecx + eax*4 + 0xe0], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x137]
movzx edx, byte [ecx + 0x6efdb8]
xor edx, dword [ebp - 0x298]
movzx eax, byte [edx + 0x6efdb8]
xor eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6f8688]
mov dword [edx + ecx*4 + 0xe8], eax
jmp 0x5b1546
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx edx, byte [ebp + ecx - 0x248]
push edx
push 0x6efdb8
lea eax, [ebp - 0x238]
push eax
call fcn.005b0210
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x5b160b
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x5b164c
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x238]
mov ecx, dword [ebp - 0x1c]
mov dl, byte [eax + 0x6efeb8]
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 + 0x6efeb8]
mov byte [ebp + edx - 0x137], al
jmp 0x5b1602
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.005b0210
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 0x5b16b4
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5b1738
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6efeb8]
xor eax, dword [ebp - 0x2a0]
movzx ecx, byte [eax + 0x6efdb8]
xor ecx, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6f8a88]
mov dword [eax + edx*4 + 0xe4], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x137]
movzx ecx, byte [eax + 0x6efeb8]
xor ecx, dword [ebp - 0x2a0]
movzx edx, byte [ecx + 0x6efdb8]
xor edx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6f8a88]
mov dword [ecx + eax*4 + 0xec], edx
jmp 0x5b16ab
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x248]
push ecx
push 0x6efdb8
lea edx, [ebp - 0x238]
push edx
call fcn.005b0210
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x5b1770
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5b17b1
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x238]
mov eax, dword [ebp - 0x1c]
mov cl, byte [edx + 0x6efdb8]
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 + 0x6efdb8]
mov byte [ebp + ecx - 0x137], dl
jmp 0x5b1767
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.005b0210
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 0x5b1819
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5b189d
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x138]
movzx edx, byte [ecx + 0x6efdb8]
xor edx, dword [ebp - 0x2a8]
movzx eax, byte [edx + 0x6efeb8]
xor eax, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6f8e88]
mov dword [edx + ecx*4 + 0x8e0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6efdb8]
xor eax, dword [ebp - 0x2a8]
movzx ecx, byte [eax + 0x6efeb8]
xor ecx, dword [ebp - 0x2a4]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6f8e88]
mov dword [eax + edx*4 + 0x8e8], ecx
jmp 0x5b1810
mov edx, dword [ebp - 0x244]
xor edx, 3
movzx eax, byte [ebp + edx - 0x248]
push eax
push 0x6efeb8
lea ecx, [ebp - 0x238]
push ecx
call fcn.005b0210
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x5b18d5
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5b1916
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x238]
mov edx, dword [ebp - 0x1c]
mov al, byte [ecx + 0x6efdb8]
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 + 0x6efdb8]
mov byte [ebp + eax - 0x137], cl
jmp 0x5b18cc
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.005b0210
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 0x5b197e
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x5b1a02
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x138]
movzx ecx, byte [eax + 0x6efeb8]
xor ecx, dword [ebp - 0x2b0]
movzx edx, byte [ecx + 0x6efeb8]
xor edx, dword [ebp - 0x2ac]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6f9288]
mov dword [ecx + eax*4 + 0x8e4], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x137]
movzx edx, byte [ecx + 0x6efeb8]
xor edx, dword [ebp - 0x2b0]
movzx eax, byte [edx + 0x6efeb8]
xor eax, dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6f9288]
mov dword [edx + ecx*4 + 0x8ec], eax
jmp 0x5b1975
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
test edx, edx
jne 0x5b1a1a
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.005b0180
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.005e425b
mov esp, ebp
pop ebp
ret