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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4637b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x340
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x114]
call fcn.00440170
lea eax, [ebp - 0x338]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
push eax
lea ecx, [ebp - 0x114]
call fcn.00405d90
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
mov dword [ebp - 0x124], 0
jmp 0x45841e
mov ecx, dword [ebp - 0x124]
add ecx, 1
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x124], 0x40
jge 0x458442
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x124]
mov byte [eax], dl
jmp 0x45840f
mov dword [ebp - 0x124], 0
jmp 0x45845d
mov ecx, dword [ebp - 0x124]
add ecx, 1
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x124], 3
jge 0x458482
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x124]
mov byte [eax + 0x4d], dl
jmp 0x45844e
mov dword [ebp - 0x124], 0
jmp 0x45849d
mov ecx, dword [ebp - 0x124]
add ecx, 1
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x124], 7
jge 0x4584c2
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x124]
mov byte [eax + 0x59], dl
jmp 0x45848e
mov dword [ebp - 0x124], 0
jmp 0x4584dd
mov ecx, dword [ebp - 0x124]
add ecx, 1
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x124], 2
jge 0x458502
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x124]
mov byte [eax + 0x6e], dl
jmp 0x4584ce
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x74]
xor eax, dword [edx + 0x74]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x70], eax
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
movsx edx, dl
mov eax, dword [ebp + 8]
mov dword [eax + 0x74], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x74]
xor eax, dword [edx + 0x74]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x70], eax
mov dword [ebp - 0x124], 0
jmp 0x458558
mov edx, dword [ebp - 0x124]
add edx, 1
mov dword [ebp - 0x124], edx
cmp dword [ebp - 0x124], 0xc
jge 0x458587
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x124]
xor ecx, ecx
mov cl, byte [eax + 0x41]
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0x40]
xor ecx, eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x124]
mov byte [edx + 0x41], cl
jmp 0x458549
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0xff
div ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0x40], dl
mov dword [ebp - 0x124], 0
jmp 0x4585b7
mov ecx, dword [ebp - 0x124]
add ecx, 1
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x124], 0xc
jge 0x4585e6
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x124]
xor eax, eax
mov al, byte [edx + 0x41]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 0x40]
xor eax, edx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x124]
mov byte [ecx + 0x41], al
jmp 0x4585a8
mov dword [ebp - 0x124], 0
jmp 0x458601
mov edx, dword [ebp - 0x124]
add edx, 1
mov dword [ebp - 0x124], edx
cmp dword [ebp - 0x124], 8
jge 0x45861e
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x124]
mov byte [ecx + 0x78], al
jmp 0x4585f2
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x80]
xor ecx, dword [eax + 0x84]
mov edx, dword [ebp + 8]
mov dword [edx + 0x80], ecx
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x84], eax
lea ecx, [ebp - 0x114]
call fcn.00405d30
mov edx, dword [ebp + 8]
xor eax, dword [edx + 0x84]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x80], eax
mov dword [ebp - 0x124], 0
jmp 0x458680
mov edx, dword [ebp - 0x124]
add edx, 1
mov dword [ebp - 0x124], edx
cmp dword [ebp - 0x124], 8
jge 0x4586a0
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x124]
mov byte [ecx + 0x88], al
jmp 0x458671
mov dword [ebp - 0x124], 0
jmp 0x4586bb
mov edx, dword [ebp - 0x124]
add edx, 1
mov dword [ebp - 0x124], edx
cmp dword [ebp - 0x124], 0xc
jge 0x4586ea
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 0x60]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x124]
xor eax, eax
mov al, byte [edx + 0x61]
xor ecx, eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x124]
mov byte [edx + 0x61], cl
jmp 0x4586ac
mov eax, dword [ebp + 8]
mov byte [eax + 0x6d], 0
mov ecx, dword [ebp + 8]
add ecx, 0x61
push ecx
lea ecx, [ebp - 0x118]
call fcn.004086d0
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0x60], dl
mov dword [ebp - 0x124], 0
jmp 0x458732
mov ecx, dword [ebp - 0x124]
add ecx, 1
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x124], 0xc
jge 0x458761
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0x60]
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x124]
xor edx, edx
mov dl, byte [ecx + 0x61]
xor eax, edx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x124]
mov byte [ecx + 0x61], al
jmp 0x458723
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x90]
xor ecx, dword [eax + 0x94]
mov edx, dword [ebp + 8]
mov dword [edx + 0x90], ecx
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x94], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x90]
xor ecx, dword [eax + 0x94]
mov edx, dword [ebp + 8]
mov dword [edx + 0x90], ecx
mov dword [ebp - 0x124], 0
jmp 0x4587c1
mov eax, dword [ebp - 0x124]
add eax, 1
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 8
jge 0x4587e1
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x124]
mov byte [ecx + 0x98], al
jmp 0x4587b2
lea edx, [ebp - 0x33c]
push edx
call sub.MFC42.DLL_CTime::GetTickCount
push eax
lea ecx, [ebp - 0x114]
call fcn.00405d90
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0xa0]
xor edx, dword [ecx + 0xa4]
mov eax, dword [ebp + 8]
mov dword [eax + 0xa0], edx
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xa4], eax
lea ecx, [ebp - 0x114]
call fcn.00405d30
mov edx, dword [ebp + 8]
xor eax, dword [edx + 0xa4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xa0], eax
mov dword [ebp - 0x124], 0
jmp 0x45885b
mov edx, dword [ebp - 0x124]
add edx, 1
mov dword [ebp - 0x124], edx
cmp dword [ebp - 0x124], 8
jge 0x45887b
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x124]
mov byte [ecx + 0xa8], al
jmp 0x45884c
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0xb0]
xor ecx, dword [eax + 0xb4]
mov edx, dword [ebp + 8]
mov dword [edx + 0xb0], ecx
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xb4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0xb0]
xor ecx, dword [eax + 0xb4]
mov edx, dword [ebp + 8]
mov dword [edx + 0xb0], ecx
mov dword [ebp - 0x124], 0
jmp 0x4588db
mov eax, dword [ebp - 0x124]
add eax, 1
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 8
jge 0x4588fb
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x124]
mov byte [ecx + 0xb8], al
jmp 0x4588cc
lea ecx, [ebp - 0x120]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 1
push 0x100
lea edx, [ebp - 0x90]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov byte [ebp - 0x8d], 0
mov dword [ebp - 0x32c], 0
mov eax, 1
test eax, eax
je 0x4589c3
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.pblcdlg.dll_int___cdecl_GetMachineCodeAll_char__]
add esp, 4
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x334], 0
jmp 0x45896f
mov edx, dword [ebp - 0x334]
add edx, 1
mov dword [ebp - 0x334], edx
cmp dword [ebp - 0x334], 8
jge 0x458999
mov eax, dword [ebp - 0x334]
movsx ecx, byte [ebp + eax - 0x110]
cmp ecx, 0x30
je 0x458997
mov dword [ebp - 0x128], 0
jmp 0x458999
jmp 0x458960
cmp dword [ebp - 0x128], 0
jne 0x4589a4
jmp 0x4589c3
mov edx, dword [ebp - 0x32c]
add edx, 1
mov dword [ebp - 0x32c], edx
cmp dword [ebp - 0x32c], 0x14
jl 0x4589be
jmp 0x4589c3
jmp 0x45892d
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x120]
call sub.MFC42.DLL_CString::operator_2
push 0x80
lea ecx, [ebp - 0x2a8]
push ecx
lea edx, [ebp - 0x330]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x11c]
push ecx
push 0x80
lea edx, [ebp - 0x328]
push edx
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc4], eax
push 8
lea edx, [ebp - 0x344]
push edx
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x348], eax
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x34c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x34c]
push ecx
lea edx, [ebp - 0x120]
push edx
call fcn.0041a470
mov byte [ebp - 0x340], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x344]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x340]
and eax, 0xff
test eax, eax
je 0x458a96
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc4]
xor edx, dword [ebp - 0x11c]
mov eax, dword [ebp + 8]
mov dword [eax + 0xc0], edx
jmp 0x458aae
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc4]
and edx, dword [ebp - 0x11c]
mov eax, dword [ebp + 8]
mov dword [eax + 0xc0], edx
mov dword [ebp - 0x124], 0
jmp 0x458ac9
mov ecx, dword [ebp - 0x124]
add ecx, 1
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x124], 8
jge 0x458ae9
call dword [sym.imp.MSVCRT.dll_rand]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x124]
mov byte [edx + 0xc8], al
jmp 0x458aba
mov dword [ebp - 0x124], 0
jmp 0x458b04
mov eax, dword [ebp - 0x124]
add eax, 1
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0x30
jge 0x458b24
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x124]
mov byte [ecx + 0xd0], al
jmp 0x458af5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret