Function at 0x4114be
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov ebx, dword [edi + 0x2c]
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x2c]
sub esi, dword [edi + 0x6c]
add eax, 0xfffffefa
add eax, ebx
mov dword [ebp - 0xc], esi
cmp dword [edi + 0x6c], eax
jb 0x411559
mov ecx, dword [edi + 0x38]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.004a40e0
mov ecx, dword [edi + 0x4c]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
mov eax, dword [edi + 0x44]
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 8], ecx
lea edi, [eax + ecx*2]
mov esi, ecx
lea edi, [edi - 2]
xor ecx, ecx
movzx edx, word [edi]
mov eax, edx
sub eax, ebx
movzx eax, ax
cmp edx, ebx
cmovae ecx, eax
mov word [edi], cx
dec esi
jne 0x411512
mov edi, dword [ebp - 4]
mov esi, ebx
mov eax, dword [edi + 0x40]
lea edi, [eax + ebx*2]
lea edi, [edi - 2]
xor ecx, ecx
movzx edx, word [edi]
mov eax, edx
sub eax, ebx
movzx eax, ax
cmp edx, ebx
cmovae ecx, eax
mov word [edi], cx
dec esi
jne 0x411537
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
add esi, ebx
mov ecx, dword [edi]
cmp dword [ecx + 4], 0
je 0x4115ae
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
push esi
add edx, dword [edi + 0x38]
call fcn.004111e8
add dword [edi + 0x74], eax
cmp dword [edi + 0x74], 3
pop ecx
jb 0x411599
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx esi, byte [edx + eax]
mov dword [edi + 0x48], esi
movzx eax, byte [edx + eax + 1]
shl esi, cl
xor esi, eax
and esi, dword [edi + 0x54]
mov dword [edi + 0x48], esi
cmp dword [edi + 0x74], 0x106
jae 0x4115ae
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x4114cf
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41591f
Capabilities:
Get file attributes

Disassembly:
call fcn.0040ce8d
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
ret

Function at 0x415c7e
Capabilities:
Create directory

Disassembly:
push 8
mov eax, 0x4c0fce
call fcn.004ab9ba
and dword [ebp - 0x14], 0
mov ecx, dword [ebp + 0xc]
push 0
call fcn.0040ce8d
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x415cb0
lea ecx, [ebp - 0x10]
call fcn.0040977f
xor ebx, ebx
inc ebx
jmp 0x415cbb
lea ecx, [ebp + 0xc]
call fcn.00415b27
push 2
pop ebx
mov ecx, dword [ebp + 8]
push eax
call fcn.00405a67
or ebx, 4
test bl, 2
je 0x415cd7
lea ecx, [ebp + 0xc]
and ebx, 0xfffffffd
call fcn.0040b44b
test bl, 1
je 0x415ce4
lea ecx, [ebp - 0x10]
call fcn.0040b44b
mov eax, dword [ebp + 8]
call fcn.004ab988
ret 8

Function at 0x415e3c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
je 0x415e84
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x415e7f
lea ecx, [ebp + 0xc]
call fcn.00415b27
push eax
lea ecx, [esi + 0x10]
call fcn.00405a78
lea ecx, [ebp + 0xc]
call fcn.0040b44b
mov eax, dword [ebp - 4]
jmp 0x415e86
xor eax, eax
pop esi
leave
ret 8