Function at 0x442c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x541f81
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
mov eax, dword [0x5af2a0]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x158], eax
mov eax, dword [esi + 0xc]
xor ebx, ebx
cmp eax, ebx
push edi
je 0x442cbc
push 0x3e
push 0x56bee0
push 0x56bfa4
push 0x569444
push 3
call fcn.00448330
push eax
call fcn.00447f40
add esp, 0x18
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x2c]
push 2
push ecx
mov dword [esp + 0x34], ebx
call fcn.004ef75b
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp ax, 1
je 0x442d00
movzx edx, ax
push 1
push edx
push 0x56bf64
push 2
call fcn.00448330
push eax
call fcn.00447f40
add esp, 0x14
xor al, al
jmp 0x442e78
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x24]
push 4
push ecx
mov dword [esp + 0x2c], ebx
call fcn.004ef75b
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp eax, ebx
mov dword [esp + 0x20], ebx
jbe 0x442e76
mov edx, dword [esi]
push edx
push 1
lea eax, [esp + 0x20]
push 2
push eax
call fcn.004ef75b
mov dx, word [esp + 0x28]
add esp, 0x10
cmp dx, 0x104
jae 0x442e99
xor eax, eax
mov byte [esp + 0x50], bl
mov ecx, 0x40
lea edi, [esp + 0x51]
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
stosw word es:[edi], ax
push ecx
movzx edx, dx
push 1
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.004ef75b
movzx ecx, word [esp + 0x28]
add esp, 0x10
xor eax, eax
cmp ecx, ebx
jbe 0x442d8b
xor byte [esp + eax + 0x50], 0xcd
inc eax
cmp eax, ecx
jb 0x442d81
mov ecx, dword [esi]
push ecx
push 1
lea edx, [esp + 0x18]
push 4
push edx
call fcn.004ef75b
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x2c]
push 4
push ecx
call fcn.004ef75b
mov dl, byte [esp + 0x30]
mov cl, byte [esp + 0x31]
mov al, byte [esp + 0x32]
xor dl, 0xcd
mov byte [esp + 0x30], dl
mov dl, byte [esp + 0x33]
xor cl, 0xcd
mov byte [esp + 0x31], cl
mov cl, byte [esp + 0x34]
xor dl, 0xcd
mov byte [esp + 0x33], dl
mov dl, byte [esp + 0x36]
xor cl, 0xcd
xor al, 0xcd
mov byte [esp + 0x34], cl
mov cl, byte [esp + 0x37]
mov byte [esp + 0x32], al
mov al, byte [esp + 0x35]
xor dl, 0xcd
mov byte [esp + 0x36], dl
xor cl, 0xcd
xor al, 0xcd
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x30]
mov byte [esp + 0x37], cl
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x70]
mov dword [esp + 0x48], edx
add esp, 0x20
lea edx, [esp + 0x28]
mov dword [esp + 0x30], ecx
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], eax
call fcn.00442380
mov dword [esp + 0x16c], ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esi + 8]
call fcn.00442b10
mov dword [esp + 0x16c], 0xffffffff
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x442e61
push eax
call fcn.004ed9bb
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jb 0x442d28
mov al, 1
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x15c]
call fcn.004ee675
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
push edx
push 0x56bf30
push 2
call fcn.00448330
push eax
call fcn.00447f40
add esp, 0x10
xor al, al
jmp 0x442e78