Function at 0x4a9d00
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e5342
mov eax, dword fs:[0]
push eax
sub esp, 0x3cc
mov eax, dword [0x66c214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1c
push 0
mov dword [ebp - 0x314], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x3d8], 0x640a84
mov dword [ebp - 0x3c8], 0x640a74
push 0
lea eax, [ebp - 0x3c0]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x314], 1
push eax
lea ecx, [ebp - 0x370]
mov dword [ebp - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x374], 0x50
movlpd qword [ebp - 0x3d0], xmm0
call fcn.00447ed0
lea eax, [ebp - 0x3c8]
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 0x3c8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x3c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x3cc], eax
mov eax, dword [ebp - 0x3d8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x3d8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x3dc], eax
mov eax, dword [ebp - 0x3d8]
mov dword [ebp - 4], 5
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x3d8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x3dc], eax
lea eax, [ebp - 0x3c0]
mov ecx, eax
mov dword [ebp - 0x318], eax
call fcn.00447c40
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x388], 0
mov dword [ebp - 0x384], 0
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 7
push eax
lea eax, [ebp - 0x3c8]
push eax
call fcn.004a9600
add esp, 8
lea ecx, [ebp - 0x310]
call fcn.004a9a10
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x310]
call fcn.004acc10
push str.oobelibMkey.log
push eax
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 9
push eax
call fcn.00437b10
add esp, 0xc
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 0xb
cmp eax, 0x10
jb 0x4a9ee0
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00430ec0
cmp dword [ebp - 0x2ac], 0x10
lea eax, [ebp - 0x2c0]
push 0x5f28b0
cmovae eax, dword [ebp - 0x2c0]
push eax
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
call fcn.0058625d
add esp, 8
lea ecx, [ebp - 0x328]
mov esi, eax
call fcn.004a0f40
cmp dword [ebp - 0x324], 0
mov byte [ebp - 4], 0xc
je 0x4aa315
push 8
call fcn.004af5c0
mov byte [edi], al
mov word [edi + 1], 0x3030
mov byte [edi + 3], 0x30
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
mov dword [ebp - 0x264], 0xf
mov dword [ebp - 0x268], 0
mov byte [ebp - 0x278], 0
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.004aa3e0
cmp dword [ebp - 0x21c], 0x10
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
cmp dword [ebp - 0x264], 0x10
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov eax, dword [ecx + 4]
mov dword [edi + 8], eax
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
mov eax, dword [eax]
mov dword [edi + 0xc], eax
mov dword [ebp - 0x24c], 0xf
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x260], 0
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.004aa7c0
cmp dword [ebp - 0x24c], 0x10
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
mov eax, dword [eax]
mov dword [edi + 0x10], eax
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.004aa5a0
cmp dword [ebp - 0x234], 0x10
lea ecx, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x248]
mov eax, dword [ecx]
mov dword [edi + 0x14], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x18], eax
mov dword [ebp - 0x294], 0xf
mov dword [ebp - 0x298], 0
mov byte [ebp - 0x2a8], 0
mov dword [ebp - 0x27c], 0xf
mov dword [ebp - 0x280], 0
mov byte [ebp - 0x290], 0
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.004ab1c0
mov ecx, dword [ebp - 0x27c]
lea eax, [ebp - 0x290]
mov edx, dword [ebp - 0x290]
add esp, 0x2c
cmp ecx, 0x10
cmovae eax, edx
mov eax, dword [eax]
mov dword [edi + 0x1c], eax
mov byte [edi + 0x20], 0
test esi, esi
je 0x4aa1f4
push esi
push str._n_GenerateMachineSignature_start_n
call fcn.0059319a
push esi
push str._nAddressRep
call fcn.0059319a
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push esi
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0059319a
push esi
push str.deviceIDRep
call fcn.0059319a
cmp dword [ebp - 0x264], 0x10
lea eax, [ebp - 0x278]
push esi
cmovae eax, dword [ebp - 0x278]
push eax
call fcn.0059319a
push esi
push str._nboardRep
call fcn.0059319a
cmp dword [ebp - 0x24c], 0x10
lea eax, [ebp - 0x260]
push esi
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.0059319a
push esi
push str._nbiosRep
call fcn.0059319a
add esp, 0x40
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 0x10
cmovae eax, dword [ebp - 0x248]
push esi
push eax
call fcn.0059319a
push esi
push str._ncpuFullRep
call fcn.0059319a
cmp dword [ebp - 0x294], 0x10
lea eax, [ebp - 0x2a8]
push esi
cmovae eax, dword [ebp - 0x2a8]
push eax
call fcn.0059319a
push esi
push str._noutMSignature
call fcn.0059319a
push esi
push edi
call fcn.0059319a
push esi
push str._n_GenerateMachineSignature_end_n
call fcn.0059319a
push esi
call fcn.00581e19
mov ecx, dword [ebp - 0x27c]
add esp, 0x34
mov edx, dword [ebp - 0x290]
cmp ecx, 0x10
jb 0x4aa209
lea eax, [ecx + 1]
push eax
push edx
lea ecx, [ebp - 0x290]
call fcn.00430ec0
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x27c], 0xf
mov dword [ebp - 0x280], 0
mov byte [ebp - 0x290], 0
cmp eax, 0x10
jb 0x4aa242
inc eax
lea ecx, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2a8]
call fcn.00430ec0
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x294], 0xf
mov dword [ebp - 0x298], 0
mov byte [ebp - 0x2a8], 0
cmp eax, 0x10
jb 0x4aa27b
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00430ec0
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
cmp eax, 0x10
jb 0x4aa2b4
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00430ec0
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x24c], 0xf
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x260], 0
cmp eax, 0x10
jb 0x4aa2ed
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.00430ec0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x264], 0xf
mov dword [ebp - 0x268], 0
mov byte [ebp - 0x278], 0
call fcn.004332e0
jmp 0x4aa348
push edi
call fcn.004af4a0
add esp, 4
test esi, esi
je 0x4aa348
push esi
push str._n_GenerateMachineSignature_AssignRandomIDAsSignature_n
call fcn.0059319a
push esi
push str._noutMSignature
call fcn.0059319a
push esi
push edi
call fcn.0059319a
push esi
call fcn.00581e19
add esp, 0x1c
lea ecx, [ebp - 0x328]
call fcn.004a10a0
mov eax, dword [ebp - 0x2ac]
cmp eax, 0x10
jb 0x4aa371
inc eax
lea ecx, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c0]
call fcn.00430ec0
lea ecx, [ebp - 0x310]
mov dword [ebp - 0x2ac], 0xf
mov dword [ebp - 0x2b0], 0
mov byte [ebp - 0x2c0], 0
call fcn.004a9b70
lea ecx, [ebp - 0x370]
call fcn.004458a0
lea eax, [ebp - 0x370]
mov dword [ebp - 4], 0x13
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.005654e2
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00562e44
mov esp, ebp
pop ebp
ret