Function at 0x40b370
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5c5577
mov eax, dword fs:[0]
push eax
sub esp, 0x57c
mov eax, dword [0x630160]
xor eax, esp
mov dword [esp + 0x578], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x630160]
xor eax, esp
push eax
lea eax, [esp + 0x590]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0xf4]
call fcn.00473200
xor ebx, ebx
push 0x54
lea eax, [esp + 0x1c]
push ebx
mov dword [esp + 0x5a0], ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.00422f70
add esp, 0xc
push 1
call fcn.0040c7a0
push edi
call fcn.0040e570
test eax, eax
je 0x40b8be
push 0x208
lea ecx, [esp + 0x180]
push ebx
push ecx
call fcn.00422f70
add esp, 0xc
push 0x208
lea edx, [esp + 0x388]
push ebx
push edx
call fcn.00422f70
add esp, 0xc
lea eax, [esp + 0x384]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x17c]
lea eax, [esp + 0x384]
push ecx
mov dword [esp + 0x18], 0x58
mov dword [esp + 0x24], str..ini
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 0x208
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], 0x806
mov dword [esp + 0x54], 0x626500
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x40b8be
lea edx, [esp + 0x17c]
push edx
lea eax, [edi + 0x8c4]
push eax
call fcn.004010c0
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 4
push eax
push str.Vendor
push str.Bios
call ebp
lea ecx, [esp + 0x17c]
push ecx
lea edx, [edi + 0x904]
push edx
call fcn.004010c0
add esp, 4
push eax
push str.Version
push str.Bios
call ebp
lea eax, [esp + 0x17c]
push eax
lea ecx, [edi + 0x944]
push ecx
call fcn.004010c0
add esp, 4
push eax
push str.ReleaseDate
push str.Bios
call ebp
movzx edx, byte [edi + 0x986]
movzx eax, byte [edi + 0x985]
push edx
push eax
lea ecx, [esp + 0x38c]
push 0x62490c
push ecx
mov edx, 0x208
call fcn.00401fc0
add esp, 0x10
lea edx, [esp + 0x17c]
push edx
lea eax, [esp + 0x388]
push eax
push str.SystemBiosRelease
push str.Bios
call ebp
mov eax, dword [edi + 0x850]
mov edx, dword [eax + 0x690]
lea ecx, [eax + 0x690]
mov eax, dword [edx + 4]
call eax
cmp eax, ebx
jl 0x40b5c8
mov ecx, dword [edi + 0x850]
mov edx, dword [ecx + 0x658]
add ecx, 0x658
push eax
mov eax, dword [edx]
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x38]
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
call edx
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x59c], 1
call fcn.00473382
lea ecx, [esp + 0x70]
mov byte [esp + 0x598], bl
call fcn.00473225
lea eax, [esp + 0x17c]
push eax
lea ecx, [esp + 0xf8]
call fcn.004730dd
push eax
push str.OEMString
push 0x626584
call ebp
mov ecx, dword [edi + 0x814]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x70]
push eax
call edx
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x59c], 2
call fcn.00473382
lea ecx, [esp + 0x70]
mov byte [esp + 0x598], bl
call fcn.00473225
lea eax, [esp + 0x17c]
push eax
lea ecx, [esp + 0xf8]
call fcn.004730dd
push eax
push str.Manufacturer
push str.Memory
call ebp
mov ecx, dword [edi + 0x818]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x70]
push eax
call edx
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x59c], 3
call fcn.00473382
lea ecx, [esp + 0x70]
mov byte [esp + 0x598], bl
call fcn.00473225
lea eax, [esp + 0x17c]
push eax
lea ecx, [esp + 0xf8]
call fcn.004730dd
push eax
push str.SerialNumber
push str.Memory
call ebp
mov ecx, dword [edi + 0x81c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x70]
push eax
call edx
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x59c], 4
call fcn.00473382
lea ecx, [esp + 0x70]
mov byte [esp + 0x598], bl
call fcn.00473225
lea eax, [esp + 0x17c]
push eax
lea ecx, [esp + 0xf8]
call fcn.004730dd
push eax
push str.PartNumber
push str.Memory
call ebp
lea ecx, [esp + 0x17c]
push ecx
lea edx, [edi + 0xa3b]
push edx
call fcn.004010c0
add esp, 4
push eax
push str.Manufacturer
push str.Board
call ebp
lea eax, [esp + 0x17c]
push eax
lea ecx, [edi + 0xa7b]
push ecx
call fcn.004010c0
add esp, 4
push eax
push str.Product
push str.Board
call ebp
lea edx, [esp + 0x17c]
push edx
lea eax, [edi + 0x99b]
push eax
call fcn.004010c0
add esp, 4
push eax
push str.Manufacturer
push str.System
call ebp
lea ecx, [esp + 0x17c]
push ecx
lea edx, [edi + 0x9db]
push edx
call fcn.004010c0
add esp, 4
push eax
push str.ProductName
push str.System
call ebp
lea eax, [esp + 0x17c]
push eax
lea esi, [edi + 0xa1b]
call fcn.00405600
push eax
call fcn.004010c0
add esp, 4
push eax
push str.Uuid
push str.System
call ebp
lea ecx, [esp + 0x17c]
push ecx
lea edx, [edi + 0xc54]
push edx
call fcn.004010c0
add esp, 4
push eax
push str.ProcessorManufacturer
push 0x626650
call ebp
lea eax, [esp + 0x17c]
push eax
lea ecx, [edi + 0xc14]
push ecx
call fcn.004010c0
add esp, 4
push eax
push str.ProcessorVersion
push 0x626650
call ebp
mov edx, dword [edi + 0xc99]
mov eax, dword [edi + 0xc95]
push edx
push eax
lea ecx, [esp + 0x38c]
push 0x62667c
push ecx
mov edx, 0x208
call fcn.00401fc0
add esp, 0x10
lea edx, [esp + 0x17c]
push edx
lea eax, [esp + 0x388]
push eax
push str.CPUID
push 0x626650
call ebp
mov ecx, dword [edi + 0x19e5]
push ecx
lea edx, [esp + 0x388]
push str._08X
push edx
mov edx, 0x208
call fcn.00401fc0
add esp, 0xc
lea eax, [esp + 0x17c]
push eax
lea ecx, [esp + 0x388]
push ecx
push str.SerialNumber
push str.Partition
call ebp
lea edx, [esp + 0x17c]
push edx
lea eax, [edi + 0x1c9a]
push eax
call fcn.004010c0
add esp, 4
push eax
push str.FirmwareVersion
push str.HardDisk
call ebp
lea ecx, [esp + 0x17c]
push ecx
lea edx, [edi + 0x1ca3]
push edx
call fcn.004010c0
add esp, 4
push eax
push str.ModelNumber
push str.HardDisk
call ebp
lea eax, [esp + 0x17c]
push eax
lea ecx, [edi + 0x1c85]
push ecx
call fcn.004010c0
add esp, 4
push eax
push str.SerialNumber
push str.HardDisk
call ebp
push ebx
call fcn.0040c7a0
lea ecx, [esp + 0xf4]
mov dword [esp + 0x598], 0xffffffff
call fcn.00473225
mov ecx, dword [esp + 0x590]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x578]
xor ecx, esp
call fcn.00418878
add esp, 0x588
ret