Function at 0x455130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d91b
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x51384c]
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 0x445d60
push 0x445d50
push 1
push 0xb0
lea edx, [ebp - 0xe8]
push edx
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x258], ecx
call fcn.00463f4f
push 0x445d60
push 0x445d50
push 1
push 0xb0
lea eax, [ebp - 0x248]
push eax
mov dword [ebp - 4], 0
call fcn.00463f4f
push 0x445d60
push 0x445d50
push 1
push 0xb0
lea ecx, [ebp - 0x198]
push ecx
mov byte [ebp - 4], 1
call fcn.00463f4f
cmp byte [ebp + 0x28], 0
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], 2
je 0x455256
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 0x4ba9f4
mov ecx, ebx
call fcn.004205e0
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.004205e0
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.00454f50
lea ecx, [ebp - 0xe8]
push ecx
push edi
push esi
call fcn.00454f70
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.00454ff0
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 0x45540e
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 0x4553b6
mov dword [ebp - 0x25c], ecx
lea ecx, [ecx]
lea edx, [ebp - 0x198]
push edx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00454ff0
lea ecx, [ebp - 0x198]
push ecx
lea edx, [ebp - 0x38]
push 0x14
push edx
call fcn.00455090
add esp, 0x18
xor eax, eax
jmp 0x455360
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 0x455360
dec dword [ebp - 0x25c]
mov ecx, 0x2c
lea esi, [ebp - 0xe8]
lea edi, [ebp - 0x198]
rep movsd dword es:[edi], dword [esi]
jne 0x455330
mov edx, dword [ebp - 0x250]
mov eax, dword [ebp - 0x254]
xor ecx, ecx
mov edi, edi
cmp eax, dword [ebp + 0x20]
jae 0x4553e4
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 0x4553c0
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 0x4552d8
mov esi, dword [ebp + 0x20]
cmp byte [ebp + 0x28], 0
je 0x455440
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 0x4ba16c
mov ecx, ebx
call fcn.004205e0
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
push 0x445d60
push 1
push 0xb0
lea ecx, [ebp - 0x198]
push ecx
mov byte [ebp - 4], 1
call fcn.00463eec
push 0x445d60
push 1
push 0xb0
lea edx, [ebp - 0x248]
push edx
mov byte [ebp - 4], 0
call fcn.00463eec
push 0x445d60
push 1
push 0xb0
lea eax, [ebp - 0xe8]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00463eec
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.00462848
mov esp, ebp
pop ebp
ret