Function at 0x61f430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64766b
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x703eb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x24]
push 0x60af50
push 0x60af40
push 1
push 0xb0
lea edx, [ebp - 0xe8]
push edx
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x258], ecx
call fcn.00523297
push 0x60af50
push 0x60af40
push 1
push 0xb0
lea eax, [ebp - 0x248]
push eax
mov dword [ebp - 4], 0
call fcn.00523297
push 0x60af50
push 0x60af40
push 1
push 0xb0
lea ecx, [ebp - 0x198]
push ecx
mov byte [ebp - 4], 1
call fcn.00523297
cmp byte [ebp + 0x28], 0
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], 2
je 0x61f556
mov edx, dword [ebx]
mov eax, dword [edx + 0x20]
push 1
push str.ZipAes_derive_key
mov ecx, ebx
call eax
push edi
push esi
push 0x6bb5c4
mov ecx, ebx
call fcn.00561b60
mov edx, dword [ebx]
mov eax, dword [edx + 0x2c]
push edi
push str.pwd_len
mov ecx, ebx
call eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x24c]
push ecx
push edx
push str.salt
mov ecx, ebx
call fcn.00561b60
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebx]
mov edx, dword [eax + 0x2c]
push ecx
push str.salt_len
mov ecx, ebx
call edx
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebx]
mov edx, dword [eax + 0x2c]
push ecx
push str.key_len
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
mov ecx, ebx
call edx
lea eax, [ebp - 0xe8]
push eax
call fcn.0061f250
lea ecx, [ebp - 0xe8]
push ecx
push edi
push esi
call fcn.0061f270
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0x248]
push edx
mov ecx, 0x2c
lea esi, [ebp - 0xe8]
lea edi, [ebp - 0x248]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x24c]
push eax
push ecx
call fcn.0061f2f0
mov esi, dword [ebp + 0x20]
lea edx, [esi - 1]
mov eax, 0xcccccccd
mul edx
shr edx, 4
add esp, 0x1c
inc edx
mov dword [ebp - 0x260], edx
je 0x61f70e
mov edx, 1
lea eax, [ebp - 0x24]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x24c], eax
xor eax, eax
mov ecx, 0x2c
lea esi, [ebp - 0x248]
lea edi, [ebp - 0x198]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
shr ecx, 0x18
mov byte [ebp - 0x38], cl
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov ecx, edx
shr ecx, 8
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0x36], cl
mov ecx, dword [ebp + 0x18]
mov byte [ebp - 0x37], al
mov byte [ebp - 0x35], dl
mov eax, 4
test ecx, ecx
je 0x61f6b6
mov dword [ebp - 0x25c], ecx
lea ecx, [ecx]
lea edx, [ebp - 0x198]
push edx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0061f2f0
lea ecx, [ebp - 0x198]
push ecx
lea edx, [ebp - 0x38]
push 0x14
push edx
call fcn.0061f390
add esp, 0x18
xor eax, eax
jmp 0x61f660
movzx ecx, byte [ebp + eax - 0x38]
xor byte [ebp + eax - 0x24], cl
movzx edx, byte [ebp + eax - 0x37]
movzx ecx, byte [ebp + eax - 0x36]
xor byte [ebp + eax - 0x23], dl
xor byte [ebp + eax - 0x22], cl
movzx edx, byte [ebp + eax - 0x35]
movzx ecx, byte [ebp + eax - 0x34]
xor byte [ebp + eax - 0x21], dl
xor byte [ebp + eax - 0x20], cl
add eax, 5
cmp eax, 0x14
jb 0x61f660
dec dword [ebp - 0x25c]
mov ecx, 0x2c
lea esi, [ebp - 0xe8]
lea edi, [ebp - 0x198]
rep movsd dword es:[edi], dword [esi]
jne 0x61f630
mov edx, dword [ebp - 0x250]
mov eax, dword [ebp - 0x254]
xor ecx, ecx
mov edi, edi
cmp eax, dword [ebp + 0x20]
jae 0x61f6e4
mov edx, dword [ebp - 0x24c]
mov dl, byte [edx + eax]
mov esi, dword [ebp - 0x258]
mov byte [eax + esi], dl
mov edx, dword [ebp - 0x250]
inc ecx
inc eax
cmp ecx, 0x14
jb 0x61f6c0
mov eax, 0x14
add dword [ebp - 0x254], eax
sub dword [ebp - 0x24c], eax
inc edx
lea eax, [edx - 1]
mov dword [ebp - 0x250], edx
cmp eax, dword [ebp - 0x260]
jb 0x61f5d8
mov esi, dword [ebp + 0x20]
cmp byte [ebp + 0x28], 0
je 0x61f740
mov edx, dword [ebx]
mov eax, dword [edx + 0x2c]
push esi
push str.key_len
mov ecx, ebx
call eax
mov ecx, dword [ebp - 0x258]
push esi
push ecx
push 0x6b06dc
mov ecx, ebx
call fcn.00561b60
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
push 0x60af50
push 1
push 0xb0
lea ecx, [ebp - 0x198]
push ecx
mov byte [ebp - 4], 1
call fcn.005219c7
push 0x60af50
push 1
push 0xb0
lea edx, [ebp - 0x248]
push edx
mov byte [ebp - 4], 0
call fcn.005219c7
push 0x60af50
push 1
push 0xb0
lea eax, [ebp - 0xe8]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.005219c7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00521602
mov esp, ebp
pop ebp
ret