Function at 0x59f930
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x6d8dfc]
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.004659d0
movzx eax, al
test eax, eax
jne 0x59f993
mov dword [ebp - 0x244], 3
cmp dword [0x6d7aa0], 0
je 0x59f9a1
call fcn.0059f230
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 0x59f9fc
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 0x59fa71
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.0059f140
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 0x59f9e4
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edx
jmp 0x59fa95
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 0x5a00e5
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x25c], edx
mov eax, dword [ebp - 0x240]
and eax, 3
mov dword [ebp - 0x2b4], eax
je 0x59fadf
cmp dword [ebp - 0x2b4], 2
je 0x59fc8d
cmp dword [ebp - 0x2b4], 3
je 0x59fbb6
jmp 0x59fda2
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x25c]
movzx eax, byte [edx + 0x6d79a0]
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 + 0x6d78a0]
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 + 0x6d78a0]
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 + 0x6d79a0]
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 + 0x6d79a0]
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 + 0x6d79a0]
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 + 0x6d78a0]
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 + 0x6d78a0]
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 + 0x6d78a0]
mov eax, dword [ebp - 0x244]
movzx ecx, byte [ebp + eax - 0x2c]
xor edx, ecx
movzx edx, byte [edx + 0x6d78a0]
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 + 0x6d79a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0x2c]
xor eax, ecx
movzx eax, byte [eax + 0x6d78a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0x30]
xor eax, ecx
mov edx, dword [edx*4 + 0x6ddc58]
xor edx, dword [eax*4 + 0x6de058]
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x25c]
movzx eax, byte [ecx + 0x6d78a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0x2c]
xor eax, ecx
movzx eax, byte [eax + 0x6d79a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0x30]
xor eax, ecx
xor edx, dword [eax*4 + 0x6de458]
mov eax, dword [ebp - 0x244]
xor eax, 3
movzx ecx, byte [ebp + eax - 0x25c]
movzx eax, byte [ecx + 0x6d79a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0x2c]
xor eax, ecx
movzx eax, byte [eax + 0x6d79a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0x30]
xor eax, ecx
xor edx, dword [eax*4 + 0x6de858]
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 0x59fde1
cmp dword [ebp - 0x2b8], 2
je 0x59ff8f
cmp dword [ebp - 0x2b8], 3
je 0x59feb8
jmp 0x5a00a1
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x260]
movzx eax, byte [edx + 0x6d79a0]
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 + 0x6d78a0]
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 + 0x6d78a0]
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 + 0x6d79a0]
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 + 0x6d79a0]
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 + 0x6d79a0]
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 + 0x6d78a0]
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 + 0x6d78a0]
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 + 0x6d78a0]
mov eax, dword [ebp - 0x244]
movzx ecx, byte [ebp + eax - 0xc]
xor edx, ecx
movzx edx, byte [edx + 0x6d78a0]
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 + 0x6d79a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0xc]
xor eax, ecx
movzx eax, byte [eax + 0x6d78a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx ecx, byte [ebp + ecx - 0x10]
xor eax, ecx
mov edx, dword [edx*4 + 0x6ddc58]
xor edx, dword [eax*4 + 0x6de058]
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x260]
movzx eax, byte [ecx + 0x6d78a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0xc]
xor eax, ecx
movzx eax, byte [eax + 0x6d79a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx ecx, byte [ebp + ecx - 0x10]
xor eax, ecx
xor edx, dword [eax*4 + 0x6de458]
mov eax, dword [ebp - 0x244]
xor eax, 3
movzx ecx, byte [ebp + eax - 0x260]
movzx eax, byte [ecx + 0x6d79a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0xc]
xor eax, ecx
movzx eax, byte [eax + 0x6d79a0]
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx ecx, byte [ebp + ecx - 0x10]
xor eax, ecx
xor edx, dword [eax*4 + 0x6de858]
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 0x59fa80
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2bc], eax
cmp dword [ebp - 0x2bc], 0x80
je 0x5a011f
cmp dword [ebp - 0x2bc], 0xc0
je 0x5a03f6
cmp dword [ebp - 0x2bc], 0x100
je 0x5a079a
jmp 0x5a0d22
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x6d78a0
lea eax, [ebp - 0x138]
push eax
call fcn.0059f530
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 0x5a0168
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5a01cf
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6d78a0]
xor eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6ddc58]
mov dword [edx + ecx*4 + 0xe0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6d78a0]
xor eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6ddc58]
mov dword [edx + ecx*4 + 0xe8], eax
jmp 0x5a015f
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x6d79a0
lea eax, [ebp - 0x138]
push eax
call fcn.0059f530
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 0x5a021e
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5a0285
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6d78a0]
xor eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6de058]
mov dword [edx + ecx*4 + 0xe4], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6d78a0]
xor eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6de058]
mov dword [edx + ecx*4 + 0xec], eax
jmp 0x5a0215
mov ecx, dword [ebp - 0x244]
xor ecx, 2
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x6d78a0
lea eax, [ebp - 0x138]
push eax
call fcn.0059f530
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 0x5a02d4
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5a033b
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6d79a0]
xor eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6de458]
mov dword [edx + ecx*4 + 0x8e0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6d79a0]
xor eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6de458]
mov dword [edx + ecx*4 + 0x8e8], eax
jmp 0x5a02cb
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx edx, byte [ebp + ecx - 0x250]
push edx
push 0x6d79a0
lea eax, [ebp - 0x138]
push eax
call fcn.0059f530
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 0x5a038a
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5a03f1
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6d79a0]
xor eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6de858]
mov dword [edx + ecx*4 + 0x8e4], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6d79a0]
xor eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6de858]
mov dword [edx + ecx*4 + 0x8ec], eax
jmp 0x5a0381
jmp 0x5a0d22
mov ecx, dword [ebp - 0x244]
movzx edx, byte [ebp + ecx - 0x24c]
push edx
push 0x6d79a0
lea eax, [ebp - 0x138]
push eax
call fcn.0059f530
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 0x5a0453
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5a04d7
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x138]
movzx edx, byte [ecx + 0x6d78a0]
xor edx, dword [ebp - 0x278]
movzx eax, byte [edx + 0x6d78a0]
xor eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6ddc58]
mov dword [edx + ecx*4 + 0xe0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6d78a0]
xor eax, dword [ebp - 0x278]
movzx ecx, byte [eax + 0x6d78a0]
xor ecx, dword [ebp - 0x274]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6ddc58]
mov dword [eax + edx*4 + 0xe8], ecx
jmp 0x5a044a
mov edx, dword [ebp - 0x244]
xor edx, 1
movzx eax, byte [ebp + edx - 0x24c]
push eax
push 0x6d79a0
lea ecx, [ebp - 0x138]
push ecx
call fcn.0059f530
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 0x5a053d
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5a05c1
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6d79a0]
xor eax, dword [ebp - 0x280]
movzx ecx, byte [eax + 0x6d78a0]
xor ecx, dword [ebp - 0x27c]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6de058]
mov dword [eax + edx*4 + 0xe4], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x137]
movzx ecx, byte [eax + 0x6d79a0]
xor ecx, dword [ebp - 0x280]
movzx edx, byte [ecx + 0x6d78a0]
xor edx, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6de058]
mov dword [ecx + eax*4 + 0xec], edx
jmp 0x5a0534
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x24c]
push ecx
push 0x6d78a0
lea edx, [ebp - 0x138]
push edx
call fcn.0059f530
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 0x5a0627
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x5a06ab
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x138]
movzx ecx, byte [eax + 0x6d78a0]
xor ecx, dword [ebp - 0x288]
movzx edx, byte [ecx + 0x6d79a0]
xor edx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6de458]
mov dword [ecx + eax*4 + 0x8e0], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x137]
movzx edx, byte [ecx + 0x6d78a0]
xor edx, dword [ebp - 0x288]
movzx eax, byte [edx + 0x6d79a0]
xor eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6de458]
mov dword [edx + ecx*4 + 0x8e8], eax
jmp 0x5a061e
mov ecx, dword [ebp - 0x244]
xor ecx, 3
movzx edx, byte [ebp + ecx - 0x24c]
push edx
push 0x6d78a0
lea eax, [ebp - 0x138]
push eax
call fcn.0059f530
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 0x5a0711
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5a0795
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x138]
movzx edx, byte [ecx + 0x6d79a0]
xor edx, dword [ebp - 0x290]
movzx eax, byte [edx + 0x6d79a0]
xor eax, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6de858]
mov dword [edx + ecx*4 + 0x8e4], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6d79a0]
xor eax, dword [ebp - 0x290]
movzx ecx, byte [eax + 0x6d79a0]
xor ecx, dword [ebp - 0x28c]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6de858]
mov dword [eax + edx*4 + 0x8ec], ecx
jmp 0x5a0708
jmp 0x5a0d22
mov edx, dword [ebp - 0x244]
movzx eax, byte [ebp + edx - 0x248]
push eax
push 0x6d79a0
lea ecx, [ebp - 0x238]
push ecx
call fcn.0059f530
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x5a07cf
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5a0810
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x238]
mov edx, dword [ebp - 0x1c]
mov al, byte [ecx + 0x6d79a0]
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 + 0x6d79a0]
mov byte [ebp + eax - 0x137], cl
jmp 0x5a07c6
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.0059f530
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 0x5a086f
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x5a08f3
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x138]
movzx ecx, byte [eax + 0x6d78a0]
xor ecx, dword [ebp - 0x298]
movzx edx, byte [ecx + 0x6d78a0]
xor edx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6ddc58]
mov dword [ecx + eax*4 + 0xe0], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x137]
movzx edx, byte [ecx + 0x6d78a0]
xor edx, dword [ebp - 0x298]
movzx eax, byte [edx + 0x6d78a0]
xor eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6ddc58]
mov dword [edx + ecx*4 + 0xe8], eax
jmp 0x5a0866
mov ecx, dword [ebp - 0x244]
xor ecx, 1
movzx edx, byte [ebp + ecx - 0x248]
push edx
push 0x6d78a0
lea eax, [ebp - 0x238]
push eax
call fcn.0059f530
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x5a092b
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x5a096c
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x238]
mov ecx, dword [ebp - 0x1c]
mov dl, byte [eax + 0x6d79a0]
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 + 0x6d79a0]
mov byte [ebp + edx - 0x137], al
jmp 0x5a0922
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.0059f530
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 0x5a09d4
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5a0a58
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x138]
movzx eax, byte [edx + 0x6d79a0]
xor eax, dword [ebp - 0x2a0]
movzx ecx, byte [eax + 0x6d78a0]
xor ecx, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6de058]
mov dword [eax + edx*4 + 0xe4], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x137]
movzx ecx, byte [eax + 0x6d79a0]
xor ecx, dword [ebp - 0x2a0]
movzx edx, byte [ecx + 0x6d78a0]
xor edx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6de058]
mov dword [ecx + eax*4 + 0xec], edx
jmp 0x5a09cb
mov eax, dword [ebp - 0x244]
xor eax, 2
movzx ecx, byte [ebp + eax - 0x248]
push ecx
push 0x6d78a0
lea edx, [ebp - 0x238]
push edx
call fcn.0059f530
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x5a0a90
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x100
jge 0x5a0ad1
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x238]
mov eax, dword [ebp - 0x1c]
mov cl, byte [edx + 0x6d78a0]
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 + 0x6d78a0]
mov byte [ebp + ecx - 0x137], dl
jmp 0x5a0a87
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.0059f530
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 0x5a0b39
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5a0bbd
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x138]
movzx edx, byte [ecx + 0x6d78a0]
xor edx, dword [ebp - 0x2a8]
movzx eax, byte [edx + 0x6d79a0]
xor eax, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6de458]
mov dword [edx + ecx*4 + 0x8e0], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + ecx - 0x137]
movzx eax, byte [edx + 0x6d78a0]
xor eax, dword [ebp - 0x2a8]
movzx ecx, byte [eax + 0x6d79a0]
xor ecx, dword [ebp - 0x2a4]
mov edx, dword [ebp - 0x1c]
shl edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x6de458]
mov dword [eax + edx*4 + 0x8e8], ecx
jmp 0x5a0b30
mov edx, dword [ebp - 0x244]
xor edx, 3
movzx eax, byte [ebp + edx - 0x248]
push eax
push 0x6d79a0
lea ecx, [ebp - 0x238]
push ecx
call fcn.0059f530
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x5a0bf5
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x100
jge 0x5a0c36
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x238]
mov edx, dword [ebp - 0x1c]
mov al, byte [ecx + 0x6d78a0]
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 + 0x6d78a0]
mov byte [ebp + eax - 0x137], cl
jmp 0x5a0bec
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.0059f530
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 0x5a0c9e
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x100
jge 0x5a0d22
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + edx - 0x138]
movzx ecx, byte [eax + 0x6d79a0]
xor ecx, dword [ebp - 0x2b0]
movzx edx, byte [ecx + 0x6d79a0]
xor edx, dword [ebp - 0x2ac]
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [edx*4 + 0x6de858]
mov dword [ecx + eax*4 + 0x8e4], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp + eax - 0x137]
movzx edx, byte [ecx + 0x6d79a0]
xor edx, dword [ebp - 0x2b0]
movzx eax, byte [edx + 0x6d79a0]
xor eax, dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x6de858]
mov dword [edx + ecx*4 + 0x8ec], eax
jmp 0x5a0c95
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
test edx, edx
jne 0x5a0d3a
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0059f4a0
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.005d06f7
mov esp, ebp
pop ebp
ret