Function at 0x442490
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4904b8
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 ebx, ebx
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
push 0x4aba9c
push eax
mov dword [ebp - 4], ebx
call fcn.0045e59d
mov edi, eax
add esp, 8
mov dword [ebp - 0x34], edi
cmp edi, ebx
je 0x44270f
push 2
push ebx
push edi
call fcn.0045eae0
add esp, 0xc
push edi
call fcn.0045e9f1
add esp, 4
push ebx
push ebx
push edi
mov dword [ebp - 0x38], eax
call fcn.0045eae0
mov eax, dword [ebp - 0x38]
add esp, 0xc
cmp eax, ebx
je 0x442697
cmp eax, 0x100000
ja 0x442697
push edi
push 1
lea eax, [ebp - 0x28]
push 0x10
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.0045e809
add esp, 0x10
cmp eax, 1
jne 0x442697
lea ecx, [ebp - 0x28]
mov esi, eax
mov ebx, 2
mov edx, ecx
mov eax, 3
xor edi, edi
sub esi, ecx
sub ebx, edx
sub eax, ecx
mov dword [ebp - 0x54], eax
mov eax, 0x38e38e39
mul edi
shr edx, 1
lea edx, [edx + edx*8]
lea ecx, [ebp + edi - 0x28]
mov eax, edi
sub eax, edx
mov dl, byte [eax + 0x4c1b50]
xor byte [ecx], dl
lea edx, [esi + ecx]
mov eax, 0x38e38e39
mul edx
shr edx, 1
lea eax, [edx + edx*8]
mov edx, edi
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, edi
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, edi
sub edx, eax
movzx eax, byte [edx + 0x4c1b53]
xor byte [ecx + 3], al
add edi, 4
cmp edi, 0x10
jb 0x442576
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp + 0x10]
jne 0x44268f
cmp dword [ebp - 0x24], 2
jne 0x44268f
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp + 0xc]
jne 0x44268f
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x38]
mov dword [ecx + 0x48], eax
mov eax, edi
lea esi, [ebp - 0x48]
call fcn.0040c050
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x48]
push edx
push 1
add edi, 0xfffffff0
push edi
push eax
call fcn.0045e809
add esp, 0x10
cmp eax, 1
jne 0x44268f
mov esi, dword [ebp - 0x48]
call fcn.00435270
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
sub ecx, esi
je 0x442683
xor esi, esi
cmp dword [ebp - 0x50], esi
je 0x442662
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x30]
add eax, 0x34
push eax
lea ecx, [ebp - 0x50]
call fcn.00444740
add esp, 4
jmp 0x442685
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x2c], 1
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
xor ebx, ebx
push edi
call fcn.0045ec1a
mov edi, dword [ebp - 0x2c]
add esp, 4
cmp edi, ebx
je 0x4426fb
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x4426fb
mov edx, dword [esi + 0x48]
mov dword [eax], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [esi + 0x20]
push eax
call fcn.00442e30
cmp eax, ebx
jne 0x4426f5
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 4]
push edx
lea ecx, [esi + 0x34]
call fcn.0043d080
mov eax, dword [esi + 0x38]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x38]
mov dword [eax], eax
mov eax, dword [esi + 0x38]
mov dword [eax + 8], eax
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x20]
call fcn.00442a90
mov dword [ebp - 0x2c], ebx
mov edi, ebx
jmp 0x4426fb
mov dword [esi], 1
mov eax, dword [ebp - 0x48]
cmp eax, ebx
je 0x44270b
push eax
call fcn.0045d63f
add esp, 4
mov eax, edi
jmp 0x442712
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