Function at 0x41acc9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x1c]
lea ebx, [edi + 0x2c]
mov ecx, dword [eax]
test ecx, ecx
je 0x41acf5
mov eax, dword [ebx]
mov eax, dword [eax]
add eax, ecx
cmp ecx, eax
jae 0x41acf5
movzx eax, byte [ecx]
jmp 0x41aed7
mov eax, dword [ebx]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jne 0x41ad15
mov eax, dword [edi + 0xc]
cmp dword [eax], edx
je 0x41ad15
mov ecx, dword [edi + 0x40]
mov dword [eax], ecx
mov eax, dword [edi + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx]
and dword [eax], 0
lea ecx, [edi + 0x58]
mov eax, dword [edi + 0x5c]
xor ebp, ebp
xor esi, esi
cmp eax, dword [edi + 0x44]
jae 0x41ad69
test eax, eax
je 0x41ad36
push eax
push dword [ecx]
push dword [edi + 0x3c]
call fcn.00443a50
add esp, 0xc
mov eax, dword [edi + 0x44]
mov esi, dword [edi + 0x3c]
sub eax, dword [edi + 0x5c]
add esi, dword [edi + 0x5c]
mov ecx, dword [edi + 0x38]
push 0
push eax
push esi
call fcn.00418c0f
mov ebp, dword [eax + 8]
test ebp, ebp
jne 0x41ad5e
cmp dword [edi + 0x5c], ebp
je 0x41aed4
mov eax, dword [edi + 0x3c]
lea ecx, [edi + 0x58]
add dword [edi + 0x5c], ebp
mov dword [ecx], eax
cmp byte [edi + 0x54], 0
je 0x41ada4
or dword [esp + 0x14], 0xffffffff
lea eax, [esp + 0x14]
push 4
push eax
push dword [ecx]
call fcn.00443fd0
add esp, 0xc
test eax, eax
jne 0x41ad9b
add dword [edi + 0x58], 4
add esi, 4
add dword [edi + 0x5c], 0xfffffffc
mov al, 1
sub ebp, 4
jmp 0x41ad9d
xor al, al
mov byte [edi + 0x4d], al
mov byte [edi + 0x54], 0
cmp byte [edi + 0x4c], 0
je 0x41add1
cmp byte [edi + 0x4d], 0
je 0x41add1
xor edx, edx
test ebp, ebp
je 0x41add1
mov ecx, dword [edi + 0x50]
mov eax, ecx
shr eax, 0x11
add eax, 0x79
shl ecx, 0xd
xor eax, ecx
mov dword [edi + 0x50], eax
xor byte [edx + esi], al
inc edx
cmp edx, ebp
jb 0x41adb6
mov ecx, dword [edi + 0x1c]
mov edx, dword [ebx]
mov eax, dword [edi + 0x48]
sub eax, dword [ecx]
sub eax, dword [edx]
add eax, dword [edi + 0x40]
mov dword [edi + 0x68], eax
mov eax, dword [ecx]
lea ecx, [edi + 0x58]
add eax, dword [edx]
xor edx, edx
mov dword [edi + 0x64], eax
call fcn.0042f422
cmp eax, 0xfffffffc
je 0x41aebe
cmp eax, 0xfffffffd
je 0x41aeb7
cmp eax, 2
je 0x41aeb0
mov eax, dword [ebx]
mov ecx, dword [edi + 0x48]
mov esi, dword [eax]
mov eax, dword [edi + 0x1c]
mov edx, dword [eax]
sub ecx, edx
sub ecx, esi
sub ecx, dword [edi + 0x68]
add ecx, dword [edi + 0x40]
mov dword [eax], edx
mov eax, dword [ebx]
lea ecx, [esi + ecx]
mov dword [eax], ecx
jne 0x41aea6
cmp dword [edi + 0x5c], 0
lea ecx, [edi + 0x58]
je 0x41ad18
mov eax, dword [edi + 0x48]
add eax, eax
push eax
mov dword [esp + 0x18], eax
call fcn.004232df
pop ecx
push dword [edi + 0x44]
mov ebp, eax
push dword [edi + 0x40]
push ebp
call fcn.00443a50
mov ecx, dword [edi + 0x1c]
mov eax, ebp
sub eax, dword [edi + 0x40]
add esp, 0xc
mov esi, dword [ecx]
mov ecx, dword [ebx]
mov edx, dword [ecx]
sub edx, dword [edi + 0x40]
mov ecx, dword [edi + 0xc]
add edx, esi
sub esi, dword [edi + 0x40]
add edx, ebp
add esi, ebp
sub edx, esi
add dword [ecx], eax
mov eax, dword [edi + 0x1c]
mov dword [eax], esi
mov eax, dword [ebx]
mov dword [eax], edx
cmp dword [edi + 0x40], 0
je 0x41ae97
push dword [edi + 0x40]
call fcn.0045127a
pop ecx
mov eax, dword [esp + 0x14]
mov dword [edi + 0x40], ebp
mov dword [edi + 0x48], eax
jmp 0x41ad15
mov eax, dword [edi + 0x1c]
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x41aed7
mov edx, str.icstreambuf:_zlib:_need_dict
jmp 0x41aec3
mov edx, str.icstreambuf:_zlib:_invalid_data
jmp 0x41aec3
mov edx, str.icstreambuf:_zlib:_memory_corrupted
mov ecx, 0x48ee30
call fcn.004162eb
push eax
call fcn.0041647f
pop ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret