Function at 0x442210
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4904e8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4b9430]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor esi, esi
mov ebx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], esi
cmp dword [ebx], esi
je 0x442271
mov eax, 1
jmp 0x442460
cmp dword [ebx + 0x3c], 0xa
jb 0x442267
lea eax, [ebx + 0x34]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], esi
call fcn.00444660
mov edi, eax
add esp, 4
cmp edi, esi
jbe 0x4422c4
mov ecx, edi
lea eax, [ebp - 0x44]
call fcn.0040c0b0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
sub eax, ecx
add eax, edi
xor dl, dl
lea ecx, [ecx]
cmp eax, esi
jbe 0x4422ba
mov byte [ecx], dl
dec eax
inc ecx
jmp 0x4422b0
lea eax, [ebp - 0x44]
mov ecx, dword [eax]
add ecx, edi
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0x44]
je 0x4422db
lea eax, [ebx + 0x34]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00444740
add esp, 4
mov dword [ebp - 4], esi
mov edi, dword [ebp - 0x40]
sub edi, dword [ebp - 0x44]
mov dword [ebp - 0x58], edi
je 0x442421
mov eax, dword [ebp - 0x50]
push 0x4b1b34
push eax
call fcn.0045e59d
add esp, 8
mov dword [ebp - 0x30], eax
cmp eax, esi
je 0x442431
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea eax, [edi + 0x10]
mov dword [ebx + 0x48], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov ebx, 2
mov dword [ebp - 0x20], ecx
mov ecx, eax
mov edi, 1
sub edi, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], ebx
mov eax, 3
mov edx, ecx
sub ebx, ecx
sub eax, edx
mov dword [ebp - 0x54], eax
mov eax, 0x38e38e39
mul esi
shr edx, 1
lea eax, [edx + edx*8]
lea ecx, [ebp + esi - 0x28]
mov edx, esi
sub edx, eax
movzx eax, byte [edx + 0x4c1b50]
xor byte [ecx], al
lea edx, [edi + ecx]
mov eax, 0x38e38e39
mul edx
shr edx, 1
lea eax, [edx + edx*8]
mov edx, esi
sub edx, eax
movzx eax, byte [edx + 0x4c1b51]
xor byte [ecx + 1], al
lea edx, [ebx + ecx]
mov eax, 0x38e38e39
mul edx
shr edx, 1
lea eax, [edx + edx*8]
mov edx, esi
sub edx, eax
movzx eax, byte [edx + 0x4c1b52]
xor byte [ecx + 2], al
mov edx, dword [ebp - 0x54]
add edx, ecx
mov eax, 0x38e38e39
mul edx
shr edx, 1
lea eax, [edx + edx*8]
mov edx, esi
sub edx, eax
movzx eax, byte [edx + 0x4c1b53]
xor byte [ecx + 3], al
add esi, 4
cmp esi, 0x10
jb 0x442340
mov ecx, dword [ebp - 0x30]
push ecx
push 1
lea edx, [ebp - 0x28]
push 0x10
push edx
call fcn.00461de0
add esp, 0x10
cmp eax, 1
jne 0x44241c
mov esi, dword [ebp - 0x58]
xor ecx, ecx
test esi, esi
je 0x442401
mov eax, 0x38e38e39
mul ecx
shr edx, 1
lea eax, [edx + edx*8]
mov edx, ecx
sub edx, eax
mov dl, byte [edx + 0x4c1b50]
mov eax, dword [ebp - 0x44]
xor byte [ecx + eax], dl
inc ecx
cmp ecx, esi
jb 0x4423e0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x44]
push eax
push 1
push esi
push ecx
call fcn.00461de0
add esp, 0x10
cmp eax, 1
jne 0x44241c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x34]
xor esi, esi
mov eax, dword [ebp - 0x30]
cmp eax, esi
je 0x442431
push eax
call fcn.0045ec1a
add esp, 4
cmp dword [ebp - 0x2c], esi
je 0x44244d
mov ecx, dword [ebx + 0x20]
cmp ecx, esi
je 0x44244d
mov edx, dword [ebp - 0x50]
push edx
call fcn.00442b10
test eax, eax
jne 0x44244d
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x44]
cmp eax, esi
je 0x44245d
push eax
call fcn.0045d63f
add esp, 4
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0045d3b4
mov esp, ebp
pop ebp
ret 0xc