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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d04f2
mov eax, dword fs:[0]
push eax
sub esp, 0x3cc
mov eax, dword [0x7f3784]
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], 0x777b20
mov dword [ebp - 0x3c8], 0x777b28
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.004914b0
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.004910e0
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.005b8bf0
add esp, 8
lea ecx, [ebp - 0x310]
call fcn.005b9060
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x310]
call fcn.005bc4c0
push str.oobelibMkey.log
push eax
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 9
push eax
call fcn.005b8f60
add esp, 0xc
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 0xb
cmp eax, 0x10
jb 0x5b9530
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00489800
cmp dword [ebp - 0x2ac], 0x10
lea eax, [ebp - 0x2c0]
push 0x7440e8
cmovae eax, dword [ebp - 0x2c0]
push eax
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
call fcn.0065aa56
add esp, 8
lea ecx, [ebp - 0x328]
mov esi, eax
call fcn.004ce0e0
cmp dword [ebp - 0x324], 0
mov byte [ebp - 4], 0xc
je 0x5b9965
push 8
call fcn.005d1a30
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.005b9a30
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.005b9e10
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.005b9bf0
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.005ba810
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 0x5b9844
push esi
push str._n_GenerateMachineSignature_start_n
call fcn.0066da96
push esi
push str._nAddressRep
call fcn.0066da96
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push esi
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0066da96
push esi
push str.deviceIDRep
call fcn.0066da96
cmp dword [ebp - 0x264], 0x10
lea eax, [ebp - 0x278]
push esi
cmovae eax, dword [ebp - 0x278]
push eax
call fcn.0066da96
push esi
push str._nboardRep
call fcn.0066da96
cmp dword [ebp - 0x24c], 0x10
lea eax, [ebp - 0x260]
push esi
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.0066da96
push esi
push str._nbiosRep
call fcn.0066da96
add esp, 0x40
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 0x10
cmovae eax, dword [ebp - 0x248]
push esi
push eax
call fcn.0066da96
push esi
push str._ncpuFullRep
call fcn.0066da96
cmp dword [ebp - 0x294], 0x10
lea eax, [ebp - 0x2a8]
push esi
cmovae eax, dword [ebp - 0x2a8]
push eax
call fcn.0066da96
push esi
push str._noutMSignature
call fcn.0066da96
push esi
push edi
call fcn.0066da96
push esi
push str._n_GenerateMachineSignature_end_n
call fcn.0066da96
push esi
call fcn.0065aae4
mov ecx, dword [ebp - 0x27c]
add esp, 0x34
mov edx, dword [ebp - 0x290]
cmp ecx, 0x10
jb 0x5b9859
lea eax, [ecx + 1]
push eax
push edx
lea ecx, [ebp - 0x290]
call fcn.00489800
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x27c], 0xf
mov dword [ebp - 0x280], 0
mov byte [ebp - 0x290], 0
cmp eax, 0x10
jb 0x5b9892
inc eax
lea ecx, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2a8]
call fcn.00489800
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x294], 0xf
mov dword [ebp - 0x298], 0
mov byte [ebp - 0x2a8], 0
cmp eax, 0x10
jb 0x5b98cb
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00489800
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
cmp eax, 0x10
jb 0x5b9904
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00489800
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x24c], 0xf
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x260], 0
cmp eax, 0x10
jb 0x5b993d
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.00489800
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x264], 0xf
mov dword [ebp - 0x268], 0
mov byte [ebp - 0x278], 0
call fcn.00489080
jmp 0x5b9998
push edi
call fcn.005d1910
add esp, 4
test esi, esi
je 0x5b9998
push esi
push str._n_GenerateMachineSignature_AssignRandomIDAsSignature_n
call fcn.0066da96
push esi
push str._noutMSignature
call fcn.0066da96
push esi
push edi
call fcn.0066da96
push esi
call fcn.0065aae4
add esp, 0x1c
lea ecx, [ebp - 0x328]
call fcn.004ce110
mov eax, dword [ebp - 0x2ac]
cmp eax, 0x10
jb 0x5b99c1
inc eax
lea ecx, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c0]
call fcn.00489800
lea ecx, [ebp - 0x310]
mov dword [ebp - 0x2ac], 0xf
mov dword [ebp - 0x2b0], 0
mov byte [ebp - 0x2c0], 0
call fcn.005b91c0
lea ecx, [ebp - 0x370]
call fcn.0048d750
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.0063df9f
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.0063bad7
mov esp, ebp
pop ebp
ret