Function at 0x4088d0
Capabilities:
Create directory
Set file attributes

Disassembly:
mov eax, 0x1058
call fcn.00426fb0
push ebx
mov eax, dword [0x4350b8]
push ebp
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
mov edi, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], eax
lea ebp, [edi + 0x4b6]
test ebp, ebp
je 0x40894d
mov eax, ebp
shr eax, 0x10
jne 0x40891c
mov ecx, ebp
and ecx, 0xffff
push ecx
lea ecx, [esp + 0x1c]
call fcn.00409820
jmp 0x40894d
push ebp
call ebx
mov esi, eax
test esi, esi
je 0x40894d
push esi
lea ecx, [esp + 0x1c]
call fcn.00401dd0
test eax, eax
je 0x40894d
mov edi, dword [esp + 0x18]
mov ecx, esi
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x20]
mov eax, str.NetConfig.ini
test eax, eax
je 0x40895d
push str.NetConfig.ini
call ebx
push str.NetConfig.ini
push eax
lea ecx, [esp + 0x20]
call fcn.00404650
lea esi, [edi + 0x23c]
test esi, esi
jne 0x40897a
xor eax, eax
jmp 0x40897d
push esi
call ebx
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.00401f40
mov ecx, str..INI
test ecx, ecx
jne 0x408995
xor eax, eax
jmp 0x40899c
push str..INI
call ebx
push str..INI
push eax
lea ecx, [esp + 0x24]
call fcn.00404650
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push edx
push eax
push 0x435604
push str.SETTING
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [0x4350b8]
lea esi, [edi + 0x5ba]
test esi, esi
mov dword [esp + 0x14], ecx
je 0x408a1d
mov edx, esi
shr edx, 0x10
jne 0x4089f2
and esi, 0xffff
lea ecx, [esp + 0x14]
push esi
call fcn.00409820
jmp 0x408a1d
push esi
call ebx
mov edi, eax
test edi, edi
je 0x408a1d
push edi
lea ecx, [esp + 0x18]
call fcn.00401dd0
test eax, eax
je 0x408a1d
mov ecx, edi
mov edi, dword [esp + 0x14]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, str.RavCopy.exe
test ecx, ecx
jne 0x408a2a
xor eax, eax
jmp 0x408a31
push str.RavCopy.exe
call ebx
push str.RavCopy.exe
push eax
lea ecx, [esp + 0x1c]
call fcn.00404650
mov edx, dword [0x4350b8]
test ebp, ebp
mov dword [esp + 0x10], edx
je 0x408a96
mov eax, ebp
shr eax, 0x10
jne 0x408a69
mov ecx, ebp
and ecx, 0xffff
push ecx
lea ecx, [esp + 0x14]
call fcn.00409820
jmp 0x408a96
push ebp
call ebx
mov esi, eax
test esi, esi
je 0x408a96
push esi
lea ecx, [esp + 0x14]
call fcn.00401dd0
test eax, eax
je 0x408a96
mov edi, dword [esp + 0x10]
mov ecx, esi
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, str.CopyRun
test eax, eax
je 0x408aa6
push str.CopyRun
call ebx
push str.CopyRun
push eax
lea ecx, [esp + 0x18]
call fcn.00404650
mov ecx, dword [esp + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, str.RavCopy.exe
test edx, edx
jne 0x408acf
xor eax, eax
jmp 0x408ad6
push str.RavCopy.exe
call ebx
push str.RavCopy.exe
push eax
lea ecx, [esp + 0x18]
call fcn.00404650
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call fcn.00423550
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x239]
mov byte [esp + 0x238], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 0xc
lea ecx, [esp + 0x330]
stosb byte es:[edi], al
call fcn.0040f960
push str._FIRSTPART_
lea edx, [esp + 0x230]
push str._sRavBin
push edx
call fcn.00426b7c
add esp, 0xc
lea eax, [esp + 0x22c]
lea ecx, [esp + 0x22c]
push 0
push 0x104
push eax
push ecx
lea ecx, [esp + 0x340]
call fcn.0040fa60
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x22c]
push 1
push edx
call esi
push 1
push ebp
call esi
mov eax, dword [esp + 0x20]
add eax, 0x23c
push eax
push 0x435470
call fcn.00427e70
add esp, 8
test eax, eax
jne 0x408cb3
mov ecx, 0x40
lea edi, [esp + 0x129]
mov byte [esp + 0x128], al
lea edx, [esp + 0x128]
rep stosd dword es:[edi], eax
movsx ecx, byte [ebp]
stosw word es:[edi], ax
push ecx
push str._c:_rising.ini
push edx
stosb byte es:[edi], al
call fcn.00426b7c
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 0xc
stosb byte es:[edi], al
push ebp
lea eax, [esp + 0x28]
push 0x4351ec
push eax
call fcn.00426b7c
mov ebx, dword [esp + 0x2c]
add esp, 0xc
mov al, byte [ebx + 0x1a]
test al, al
je 0x408c2e
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x128]
push ecx
push ebp
push str.InstallPath
push str.MAIN
call edi
lea edx, [esp + 0x128]
lea eax, [esp + 0x24]
push edx
push eax
push str.LinuxUpdatePath
push str.MAIN
call edi
jmp 0x408c34
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add ebx, 0x4b8
lea ecx, [esp + 0x24]
push ebx
push 0x4351ec
push ecx
call fcn.00426b7c
lea edx, [esp + 0x30]
push 0x5c
push edx
call fcn.00424fc0
add esp, 0x14
test eax, eax
je 0x408c7f
lea eax, [esp + 0x24]
push 0x5c
push eax
call fcn.00424fc0
lea ecx, [esp + 0x2c]
push 0x5c
push ecx
mov byte [eax], 0x2f
call fcn.00424fc0
add esp, 0x10
test eax, eax
jne 0x408c5d
lea edx, [esp + 0x128]
push 0x80
push edx
call esi
lea eax, [esp + 0x128]
lea ecx, [esp + 0x24]
push eax
push ecx
push str.UpdatePath
push str.MAIN
call edi
lea edx, [esp + 0x128]
push 7
push edx
call esi
lea ecx, [esp + 0x330]
call fcn.0040fa50
mov eax, dword [esp + 0x10]
mov edx, dword [0x4350bc]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408cf0
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x408cf0
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00426ac0
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x4350bc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408d1b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x408d1b
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00426ac0
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x4350bc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408d46
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x408d46
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00426ac0
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x4350bc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408d71
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x408d71
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00426ac0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1058
ret