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

Disassembly:
sub esp, 0x890
mov eax, dword [esp + 0x894]
push ebx
push ebp
push esi
cmp al, 0x1a
push edi
mov dword [esp + 0x1c], ecx
jb 0x41c9cb
pop edi
pop esi
pop ebp
mov eax, 0x80900007
pop ebx
add esp, 0x890
ret 0xc
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
and eax, 0xff
lea esi, [eax + 0x41]
lea eax, [esp + 0x20]
push esi
push 0x424360
push eax
call edi
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x20]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push ecx
call ebx
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x41ca43
push esi
lea edx, [esp + 0x24]
push 0x424344
push edx
call edi
add esp, 0xc
lea eax, [esp + 0x20]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call ebx
mov ebp, eax
cmp ebp, 0xffffffff
je 0x41cb06
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0xa0]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0xa8]
push 0x800
or eax, 0xffffffff
push edx
push ebp
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
call ebx
test eax, eax
je 0x41cadc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41cadc
xor esi, esi
xor eax, eax
lea ecx, [esp + esi + 0xa0]
mov dl, byte [ecx + eax]
xor byte [esp + eax + 0x10], dl
inc eax
cmp eax, 8
jl 0x41ca9a
add esi, 8
cmp esi, 0x800
jl 0x41ca91
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0xa0]
push eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xa4]
push eax
push 0x800
push ecx
push ebp
call ebx
test eax, eax
jne 0x41ca87
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x8a8]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [eax], edx
pop esi
mov dword [eax + 4], ecx
pop ebp
xor eax, eax
pop ebx
add esp, 0x890
ret 0xc
mov ebp, dword [esp + 0x8a4]
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0xa0]
or edx, 0xffffffff
push 0x800
push eax
mov dword [esp + 0x18], edx
push 0x10
push ebp
mov ecx, edi
mov dword [esp + 0x24], edx
call fcn.0041b570
test eax, eax
jl 0x41cc09
xor esi, esi
xor eax, eax
lea ecx, [esp + esi + 0xa0]
mov dl, byte [ecx + eax]
mov bl, byte [esp + eax + 0x10]
xor bl, dl
mov byte [esp + eax + 0x10], bl
inc eax
cmp eax, 8
jl 0x41cb46
add esi, 8
cmp esi, 0x800
jl 0x41cb3d
lea eax, [esp + 0xa0]
push 0x800
push eax
push 0x20
push ebp
mov ecx, edi
call fcn.0041b570
test eax, eax
jl 0x41cc09
xor esi, esi
xor eax, eax
lea ecx, [esp + esi + 0xa0]
mov dl, byte [ecx + eax]
mov bl, byte [esp + eax + 0x10]
xor bl, dl
mov byte [esp + eax + 0x10], bl
inc eax
cmp eax, 8
jl 0x41cb8e
add esi, 8
cmp esi, 0x800
jl 0x41cb85
lea eax, [esp + 0xa0]
push 0x800
push eax
push pe_nt_image_headers32
push ebp
mov ecx, edi
call fcn.0041b570
test eax, eax
jl 0x41cc09
xor esi, esi
xor eax, eax
lea ecx, [esp + esi + 0xa0]
mov dl, byte [ecx + eax]
mov bl, byte [esp + eax + 0x10]
xor bl, dl
mov byte [esp + eax + 0x10], bl
inc eax
cmp eax, 8
jl 0x41cbd5
add esi, 8
cmp esi, 0x800
jl 0x41cbcc
mov eax, dword [esp + 0x8a8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0xc