Function at 0x402830
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff94c
push ebx
push esi
push edi
mov eax, 0x561d60
call fcn.00544234
push 0x5617f3
call sub.KERNEL32.DLL_GetCurrentProcessId
push eax
push str.PrgInstall_
push str._s__d__s
push 0x57dac8
call fcn.00402e74
add esp, 0x14
push 0x208
lea edx, [ebp - 0x2ac]
push edx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
mov word [ebp - 0x8c], 0xc
lea edx, [ebp - 0x2ac]
lea eax, [ebp - 0x1c]
call fcn.005528c0
inc dword [ebp - 0x80]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x20]
inc dword [ebp - 0x80]
call fcn.00464e98
lea edx, [ebp - 0x20]
mov eax, 0x57dad0
call fcn.0055294c
dec dword [ebp - 0x80]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x80]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x8c], 0x24
mov edx, 0x5617f5
lea eax, [ebp - 0x24]
call fcn.00552794
inc dword [ebp - 0x80]
mov word [ebp - 0x8c], 0x18
push 0x208
lea ecx, [ebp - 0x2ac]
push ecx
call sub.KERNEL32.DLL_GetWindowsDirectoryW
mov word [ebp - 0x8c], 0x30
lea edx, [ebp - 0x2ac]
lea eax, [ebp - 0x28]
call fcn.005528c0
inc dword [ebp - 0x80]
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x24]
call fcn.0055294c
dec dword [ebp - 0x80]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00552924
push 0x14
call fcn.0053a43c
pop ecx
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x402988
mov word [ebp - 0x8c], 0x54
push 1
push 0
push 1
mov edx, 0x5617f6
lea eax, [ebp - 0x30]
call fcn.00552794
inc dword [ebp - 0x80]
push dword [eax]
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
call fcn.00555000
add esp, 0x18
mov word [ebp - 0x8c], 0x3c
mov edx, dword [ebp - 0x2c]
jmp 0x40298b
mov edx, dword [ebp - 0x2c]
mov dword [0x57dacc], edx
dec dword [ebp - 0x80]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x80]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x8c], 0
mov esi, 0x5612f0
lea edi, [ebp - 0x4b4]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
push 0x208
lea eax, [ebp - 0x4b4]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryW
mov word [ebp - 0x8c], 0x6c
lea edx, [ebp - 0x4b4]
lea eax, [ebp - 0x34]
call fcn.005528c0
inc dword [ebp - 0x80]
lea edx, [ebp - 0x34]
mov eax, 0x57dad8
call fcn.0055294c
dec dword [ebp - 0x80]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00552924
mov eax, 0x57dad8
call fcn.00552dd4
cmp word [eax], 0x5c
je 0x402a5a
mov word [ebp - 0x8c], 0x78
mov edx, 0x5617fa
lea eax, [ebp - 0x38]
call fcn.005528c0
inc dword [ebp - 0x80]
lea edx, [ebp - 0x38]
mov eax, 0x57dad8
call fcn.00552960
dec dword [ebp - 0x80]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x8c], 0x84
mov edx, str.System32
lea eax, [ebp - 0x3c]
call fcn.005528c0
inc dword [ebp - 0x80]
lea edx, [ebp - 0x3c]
mov eax, 0x57dad8
call fcn.00552960
dec dword [ebp - 0x80]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00552924
mov dl, 1
mov eax, dword [0x57dad8]
call fcn.00464920
test al, al
jne 0x402aaa
mov eax, dword [0x57dad8]
call fcn.00465098
xor edx, edx
mov dword [0x57dafc], edx
mov word [ebp - 0x8c], 0x90
push 0xff
lea ecx, [ebp - 0x6b4]
push ecx
lea eax, [ebp - 0xa4]
push eax
lea edx, [ebp - 0xa0]
push edx
push 0x57dafc
push 0xff
lea ecx, [ebp - 0x5b4]
push ecx
push 0x561810
call sub.KERNEL32.DLL_GetVolumeInformationA
mov word [ebp - 0x8c], 0
jmp 0x402b10
mov word [ebp - 0x8c], 0xa8
lea eax, [ebp - 0x18]
call fcn.0040fb58
add dword [ebp - 0x80], 2
mov word [ebp - 0x8c], 0xb4
mov word [ebp - 0x8c], 0xc0
xor edx, edx
mov dword [ebp - 0x40], edx
lea ecx, [ebp - 0x40]
push ecx
inc dword [ebp - 0x80]
call fcn.004040f8
pop ecx
lea edx, [ebp - 0x40]
mov edx, dword [edx]
lea eax, [ebp - 0x18]
call fcn.0040ff10
dec dword [ebp - 0x80]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x8c], 0xcc
mov edx, 0x561814
lea eax, [ebp - 0x44]
call fcn.00552794
inc dword [ebp - 0x80]
lea edx, [ebp - 0x44]
mov eax, 0x57dadc
call fcn.0055294c
dec dword [ebp - 0x80]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x8c], 0xd8
mov edx, 0x56182a
lea eax, [ebp - 0x48]
call fcn.00552794
inc dword [ebp - 0x80]
lea edx, [ebp - 0x48]
mov eax, 0x57dae0
call fcn.0055294c
dec dword [ebp - 0x80]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x8c], 0xe4
mov edx, 0x561840
lea eax, [ebp - 0x4c]
call fcn.00552794
inc dword [ebp - 0x80]
lea edx, [ebp - 0x4c]
mov eax, 0x57dac4
call fcn.0055294c
dec dword [ebp - 0x80]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x8c], 0xf0
mov edx, str.DEV_AESEncKey
lea eax, [ebp - 0x50]
call fcn.00552794
inc dword [ebp - 0x80]
lea edx, [ebp - 0x50]
mov eax, 0x57dabc
call fcn.0055294c
dec dword [ebp - 0x80]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x8c], 0xfc
mov edx, str.DEV_AESVector
lea eax, [ebp - 0x54]
call fcn.00552794
inc dword [ebp - 0x80]
lea edx, [ebp - 0x54]
mov eax, 0x57dac0
call fcn.0055294c
dec dword [ebp - 0x80]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x8c], 0x108
mov edx, 0x561860
lea eax, [ebp - 0x58]
call fcn.00552794
inc dword [ebp - 0x80]
lea edx, [ebp - 0x58]
mov eax, 0x57dac4
call fcn.0055294c
dec dword [ebp - 0x80]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x8c], 0x114
mov edx, str._AESEncKey
lea eax, [ebp - 0x5c]
call fcn.00552794
inc dword [ebp - 0x80]
lea edx, [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x60]
inc dword [ebp - 0x80]
mov eax, 0x57dac4
call fcn.00552974
lea edx, [ebp - 0x60]
mov eax, 0x57dabc
call fcn.0055294c
dec dword [ebp - 0x80]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x80]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x8c], 0x120
mov edx, str._AESVector
lea eax, [ebp - 0x64]
call fcn.00552794
inc dword [ebp - 0x80]
lea edx, [ebp - 0x64]
xor eax, eax
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x68]
inc dword [ebp - 0x80]
mov eax, 0x57dac4
call fcn.00552974
lea edx, [ebp - 0x68]
mov eax, 0x57dac0
call fcn.0055294c
dec dword [ebp - 0x80]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x80]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00552924
cmp byte [ebp + 8], 1
jne 0x402dbb
cmp dword [0x5612ec], 0
jne 0x402dbb
push 0x2c
call fcn.0053a43c
pop ecx
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x402db2
mov word [ebp - 0x8c], 0x144
push dword [0x57dac0]
push dword [0x57dabc]
push dword [ebp - 0x6c]
call fcn.00402e98
add esp, 0xc
mov word [ebp - 0x8c], 0x12c
mov edx, dword [ebp - 0x6c]
jmp 0x402db5
mov edx, dword [ebp - 0x6c]
mov dword [0x5612ec], edx
mov word [ebp - 0x8c], 0x150
mov edx, str.GradeupPrg.exe
lea eax, [ebp - 0x70]
call fcn.00552794
inc dword [ebp - 0x80]
lea edx, [ebp - 0x70]
mov eax, 0x57dae8
call fcn.0055294c
dec dword [ebp - 0x80]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x8c], 0x15c
mov edx, str.JMSvc.exe
lea eax, [ebp - 0x74]
call fcn.00552794
inc dword [ebp - 0x80]
push dword [eax]
xor ecx, ecx
mov dword [ebp - 0x78], ecx
lea eax, [ebp - 0x78]
push eax
inc dword [ebp - 0x80]
call fcn.00404aac
add esp, 8
lea edx, [ebp - 0x78]
mov eax, 0x57dae4
call fcn.0055294c
dec dword [ebp - 0x80]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x80]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00552924
sub dword [ebp - 0x80], 2
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040fbb8
mov ecx, dword [ebp - 0x9c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret