Function at 0x4030a1
Capabilities:
Get common file path
Get disk information
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov eax, dword [0x41d060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
push esi
lea eax, [ebp - 0x28f]
push 0
push eax
mov byte [ebp - 0x290], 0
call fcn.0040a990
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcatA]
add esp, 0xc
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x2c], 0
lea edi, [ebp - 0x2b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x41a884
lea eax, [ebp - 0x2c]
push eax
call ebx
push 0x41a888
lea eax, [ebp - 0x2c]
push eax
call ebx
push 0x41a88c
lea eax, [ebp - 0x2c]
push eax
call ebx
push 0x41a7f8
lea eax, [ebp - 0x2c]
push eax
call ebx
push 0x41a890
lea eax, [ebp - 0x2c]
push eax
call ebx
push 0x41a894
lea eax, [ebp - 0x2c]
push eax
call ebx
push 0x41a898
lea eax, [ebp - 0x2c]
push eax
call ebx
push 0x41a89c
lea eax, [ebp - 0x2c]
push eax
call ebx
push 0x41a8a0
lea eax, [ebp - 0x2c]
push eax
call ebx
push 0x41a8a4
lea eax, [ebp - 0x2c]
push eax
call ebx
push 0x41a8a8
lea eax, [ebp - 0x2c]
push eax
call ebx
push 0x41a8ac
lea eax, [ebp - 0x2c]
push eax
call ebx
push 0x41a8b0
lea eax, [ebp - 0x2c]
push eax
call ebx
push 0x41a63c
lea eax, [ebp - 0x2c]
push eax
call ebx
push 0x41a8b4
lea eax, [ebp - 0x2c]
push eax
call ebx
mov byte [ebp - 0x88], 0
push 0x3b
lea eax, [ebp - 0x87]
push 0
push eax
call fcn.0040a990
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x88]
push eax
call ebx
push 0x41a5f4
lea eax, [ebp - 0x88]
push eax
call ebx
push str.Central
lea eax, [ebp - 0x88]
push eax
call ebx
mov edi, 0x41a5be
push edi
lea eax, [ebp - 0x88]
push eax
call ebx
push str.Processor
lea eax, [ebp - 0x88]
push eax
call ebx
push 0x41a5f4
lea eax, [ebp - 0x88]
push eax
call ebx
push 0x41a734
lea eax, [ebp - 0x88]
push eax
call ebx
push edi
lea eax, [ebp - 0x88]
push eax
call ebx
push edi
lea eax, [ebp - 0x88]
push eax
call ebx
push edi
lea eax, [ebp - 0x88]
push eax
call ebx
and dword [ebp - 0x3a8], 0
push esi
lea eax, [ebp - 0x393]
push 0
push eax
mov byte [ebp - 0x394], 0
call fcn.0040a990
xor eax, eax
mov byte [ebp - 0x4c], 0
lea edi, [ebp - 0x4b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x38], 0
lea edi, [ebp - 0x37]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosb byte es:[edi], al
xor esi, esi
lea eax, [ebp - 0x18b]
push esi
push eax
mov byte [ebp - 0x18c], 0
call fcn.0040a990
add esp, 0x18
xor eax, eax
lea edi, [ebp - 0x39b]
mov byte [ebp - 0x39c], 0
stosw word es:[edi], ax
mov byte [ebp - 0x3a0], al
lea edi, [ebp - 0x39f]
stosw word es:[edi], ax
mov byte [ebp - 0x398], al
lea edi, [ebp - 0x397]
stosw word es:[edi], ax
push 0x41a8cc
lea eax, [ebp - 0x290]
push eax
call ebx
push 0x104
lea eax, [ebp - 0x394]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x3a8]
push eax
push esi
push esi
lea eax, [ebp - 0x394]
push eax
mov byte [ebp - 0x391], 0
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push str._08X
lea eax, [ebp - 0xc]
push eax
call edi
push dword [ebp - 0x3a8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x290]
push eax
call ebx
lea eax, [ebp - 0x3a4]
push eax
lea eax, [ebp - 0x88]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403357
lea eax, [ebp - 0x18c]
push eax
push str.Mhz
lea esi, [ebp - 0x3a4]
call fcn.00403068
pop ecx
pop ecx
jmp 0x403359
xor al, al
test al, al
jne 0x40336b
push str.0000
lea eax, [ebp - 0x18c]
push eax
call edi
push str._04X
lea eax, [ebp - 0xc]
push eax
call edi
push dword [ebp - 0x18c]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov esi, 0x41a8f0
push esi
lea eax, [ebp - 0x290]
push eax
call ebx
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x290]
push eax
call ebx
call dword [sym.imp.KERNEL32.DLL_GetSystemDefaultLCID]
mov dword [ebp - 0x3a4], eax
push str._04d
lea eax, [ebp - 0xc]
push eax
call edi
push dword [ebp - 0x3a4]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push esi
lea eax, [ebp - 0x290]
push eax
call ebx
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x290]
push eax
call ebx
lea eax, [ebp - 0x3a4]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403428
lea eax, [ebp - 0x18c]
push eax
push str.SystemBiosDate
lea esi, [ebp - 0x3a4]
call fcn.00403068
pop ecx
pop ecx
mov esi, 0x41a8f0
jmp 0x40342a
xor al, al
test al, al
jne 0x40343c
push str.00_00_00
lea eax, [ebp - 0x18c]
push eax
call edi
mov al, byte [ebp - 0x18c]
mov byte [ebp - 0x39c], al
mov al, byte [ebp - 0x18b]
mov byte [ebp - 0x39b], al
mov al, byte [ebp - 0x189]
mov byte [ebp - 0x3a0], al
mov al, byte [ebp - 0x188]
mov byte [ebp - 0x39f], al
mov al, byte [ebp - 0x186]
mov byte [ebp - 0x398], al
mov al, byte [ebp - 0x185]
mov byte [ebp - 0x397], al
push esi
lea eax, [ebp - 0x290]
push eax
mov byte [ebp - 0x39a], 0
mov byte [ebp - 0x39e], 0
mov byte [ebp - 0x396], 0
call ebx
lea eax, [ebp - 0x39c]
push eax
lea eax, [ebp - 0x290]
push eax
call ebx
lea eax, [ebp - 0x3a0]
push eax
lea eax, [ebp - 0x290]
push eax
call ebx
push esi
lea eax, [ebp - 0x290]
push eax
call ebx
lea eax, [ebp - 0x398]
push eax
lea eax, [ebp - 0x290]
push eax
call ebx
lea eax, [ebp - 0x3a4]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403512
lea eax, [ebp - 0x18c]
push eax
push str.VideoBiosDate
lea esi, [ebp - 0x3a4]
call fcn.00403068
pop ecx
pop ecx
jmp 0x403514
xor al, al
test al, al
jne 0x403526
push str.00_00_00
lea eax, [ebp - 0x18c]
push eax
call edi
mov al, byte [ebp - 0x18c]
mov byte [ebp - 0x39c], al
mov al, byte [ebp - 0x18b]
mov byte [ebp - 0x39b], al
mov al, byte [ebp - 0x189]
mov byte [ebp - 0x3a0], al
mov al, byte [ebp - 0x188]
mov byte [ebp - 0x39f], al
mov al, byte [ebp - 0x186]
mov byte [ebp - 0x398], al
mov al, byte [ebp - 0x185]
mov byte [ebp - 0x397], al
lea eax, [ebp - 0x39c]
push eax
lea eax, [ebp - 0x290]
push eax
mov byte [ebp - 0x39a], 0
mov byte [ebp - 0x39e], 0
mov byte [ebp - 0x396], 0
call ebx
lea eax, [ebp - 0x3a0]
push eax
lea eax, [ebp - 0x290]
push eax
call ebx
lea eax, [ebp - 0x398]
push eax
lea eax, [ebp - 0x290]
push eax
call ebx
push 0x104
lea eax, [ebp - 0x38]
push eax
push 5
push 0x400
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
push str._04X
lea eax, [ebp - 0xc]
push eax
call edi
mov cl, byte [ebp - 0x38]
xor edx, edx
cmp cl, 0x30
jl 0x4035f8
lea eax, [ebp - 0x38]
cmp cl, 0x39
jg 0x4035f8
imul edx, edx, 0xa
movsx ecx, cl
inc eax
lea edx, [edx + ecx - 0x30]
mov cl, byte [eax]
cmp cl, 0x30
jge 0x4035e1
push edx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x290]
push eax
call ebx
push 0x41a928
lea eax, [ebp - 0x290]
push eax
call ebx
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
cmp eax, 0x3c
jl 0x40363b
xor al, al
jmp 0x40364b
lea eax, [ebp - 0x290]
push eax
push 0x41f6b8
call edi
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404045
leave
ret