Function at 0x408e00
Capabilities:
Create directory
Set file attributes

Disassembly:
mov eax, 0x1058
call fcn.004299d0
push ebx
mov eax, dword [0x437348]
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 0x408e7d
mov eax, ebp
shr eax, 0x10
jne 0x408e4c
mov ecx, ebp
and ecx, 0xffff
push ecx
lea ecx, [esp + 0x1c]
call fcn.00409ea0
jmp 0x408e7d
push ebp
call ebx
mov esi, eax
test esi, esi
je 0x408e7d
push esi
lea ecx, [esp + 0x1c]
call fcn.004023a0
test eax, eax
je 0x408e7d
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 0x408e8d
push str.NetConfig.ini
call ebx
push str.NetConfig.ini
push eax
lea ecx, [esp + 0x20]
call fcn.00404520
lea esi, [edi + 0x23c]
test esi, esi
jne 0x408eaa
xor eax, eax
jmp 0x408ead
push esi
call ebx
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.00402510
mov ecx, str..INI
test ecx, ecx
jne 0x408ec5
xor eax, eax
jmp 0x408ecc
push str..INI
call ebx
push str..INI
push eax
lea ecx, [esp + 0x24]
call fcn.00404520
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push edx
push eax
push 0x437958
push str.SETTING
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [0x437348]
lea esi, [edi + 0x5ba]
test esi, esi
mov dword [esp + 0x14], ecx
je 0x408f4d
mov edx, esi
shr edx, 0x10
jne 0x408f22
and esi, 0xffff
lea ecx, [esp + 0x14]
push esi
call fcn.00409ea0
jmp 0x408f4d
push esi
call ebx
mov edi, eax
test edi, edi
je 0x408f4d
push edi
lea ecx, [esp + 0x18]
call fcn.004023a0
test eax, eax
je 0x408f4d
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 0x408f5a
xor eax, eax
jmp 0x408f61
push str.RavCopy.exe
call ebx
push str.RavCopy.exe
push eax
lea ecx, [esp + 0x1c]
call fcn.00404520
mov edx, dword [0x437348]
test ebp, ebp
mov dword [esp + 0x10], edx
je 0x408fc6
mov eax, ebp
shr eax, 0x10
jne 0x408f99
mov ecx, ebp
and ecx, 0xffff
push ecx
lea ecx, [esp + 0x14]
call fcn.00409ea0
jmp 0x408fc6
push ebp
call ebx
mov esi, eax
test esi, esi
je 0x408fc6
push esi
lea ecx, [esp + 0x14]
call fcn.004023a0
test eax, eax
je 0x408fc6
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 0x408fd6
push str.CopyRun
call ebx
push str.CopyRun
push eax
lea ecx, [esp + 0x18]
call fcn.00404520
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 0x408fff
xor eax, eax
jmp 0x409006
push str.RavCopy.exe
call ebx
push str.RavCopy.exe
push eax
lea ecx, [esp + 0x18]
call fcn.00404520
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call fcn.00425b10
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.00410970
push str._FIRSTPART_
lea edx, [esp + 0x230]
push str._sRavBin
push edx
call fcn.00429590
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.00410a70
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x22c]
push 5
push edx
call esi
push 5
push ebp
call esi
mov eax, dword [esp + 0x20]
add eax, 0x23c
push eax
push 0x4377d4
call fcn.0042a9c0
add esp, 8
test eax, eax
jne 0x4091d0
mov ecx, 0x40
lea edi, [esp + 0x25]
mov byte [esp + 0x24], al
lea edx, [esp + 0x24]
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.00429590
add esp, 0xc
lea eax, [esp + 0x24]
push 0x80
push eax
call esi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x129]
mov byte [esp + 0x128], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebp
lea ecx, [esp + 0x12c]
push 0x43747c
push ecx
stosb byte es:[edi], al
call fcn.00429590
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
lea edx, [esp + 0x24]
push edx
push ebp
push str.InstallPath
push str.MAIN
call edi
lea eax, [esp + 0x24]
push eax
push ebp
push str.LinuxUpdatePath
push str.MAIN
call edi
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x128]
add ecx, 0x4b8
push ecx
push 0x43747c
push edx
call fcn.00429590
lea eax, [esp + 0x134]
push 0x5c
push eax
call fcn.004271a0
add esp, 0x14
test eax, eax
je 0x4091ae
lea ecx, [esp + 0x128]
push 0x5c
push ecx
call fcn.004271a0
lea edx, [esp + 0x130]
push 0x5c
push edx
mov byte [eax], 0x2f
call fcn.004271a0
add esp, 0x10
test eax, eax
jne 0x409186
lea eax, [esp + 0x24]
lea ecx, [esp + 0x128]
push eax
push ecx
push str.UpdatePath
push str.MAIN
call edi
lea edx, [esp + 0x24]
push 7
push edx
call esi
lea ecx, [esp + 0x330]
call fcn.00410a60
mov eax, dword [esp + 0x10]
mov edx, dword [0x43734c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40920d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40920d
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004292c0
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x43734c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x409238
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x409238
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004292c0
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x43734c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x409263
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x409263
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004292c0
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x43734c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40928e
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40928e
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.004292c0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1058
ret