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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x693a92
mov eax, dword fs:[0]
push eax
sub esp, 0x3cc
mov eax, dword [0x77e784]
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], 0x71ca10
mov dword [ebp - 0x3c8], 0x71ca18
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.00470dd0
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.004709c0
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.00595a10
add esp, 8
lea ecx, [ebp - 0x310]
call fcn.00595e80
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x310]
call fcn.005992d0
push str.oobelibMkey.log
push eax
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 9
push eax
call fcn.00595d80
add esp, 0xc
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 0xb
cmp eax, 0x10
jb 0x596350
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00468fb0
cmp dword [ebp - 0x2ac], 0x10
lea eax, [ebp - 0x2c0]
push 0x6ef89c
cmovae eax, dword [ebp - 0x2c0]
push eax
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
call fcn.0062378d
add esp, 8
lea ecx, [ebp - 0x328]
mov esi, eax
call fcn.005523a0
cmp dword [ebp - 0x324], 0
mov byte [ebp - 4], 0xc
je 0x596785
push 8
call fcn.005b2a80
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.00596850
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.00596c30
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.00596a10
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.00597630
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 0x596664
push esi
push str._n_GenerateMachineSignature_start_n
call fcn.0062a7a1
push esi
push str._nAddressRep
call fcn.0062a7a1
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push esi
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0062a7a1
push esi
push str.deviceIDRep
call fcn.0062a7a1
cmp dword [ebp - 0x264], 0x10
lea eax, [ebp - 0x278]
push esi
cmovae eax, dword [ebp - 0x278]
push eax
call fcn.0062a7a1
push esi
push str._nboardRep
call fcn.0062a7a1
cmp dword [ebp - 0x24c], 0x10
lea eax, [ebp - 0x260]
push esi
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.0062a7a1
push esi
push str._nbiosRep
call fcn.0062a7a1
add esp, 0x40
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 0x10
cmovae eax, dword [ebp - 0x248]
push esi
push eax
call fcn.0062a7a1
push esi
push str._ncpuFullRep
call fcn.0062a7a1
cmp dword [ebp - 0x294], 0x10
lea eax, [ebp - 0x2a8]
push esi
cmovae eax, dword [ebp - 0x2a8]
push eax
call fcn.0062a7a1
push esi
push str._noutMSignature
call fcn.0062a7a1
push esi
push edi
call fcn.0062a7a1
push esi
push str._n_GenerateMachineSignature_end_n
call fcn.0062a7a1
push esi
call fcn.0061c58f
mov ecx, dword [ebp - 0x27c]
add esp, 0x34
mov edx, dword [ebp - 0x290]
cmp ecx, 0x10
jb 0x596679
lea eax, [ecx + 1]
push eax
push edx
lea ecx, [ebp - 0x290]
call fcn.00468fb0
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x27c], 0xf
mov dword [ebp - 0x280], 0
mov byte [ebp - 0x290], 0
cmp eax, 0x10
jb 0x5966b2
inc eax
lea ecx, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2a8]
call fcn.00468fb0
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x294], 0xf
mov dword [ebp - 0x298], 0
mov byte [ebp - 0x2a8], 0
cmp eax, 0x10
jb 0x5966eb
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00468fb0
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
cmp eax, 0x10
jb 0x596724
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00468fb0
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x24c], 0xf
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x260], 0
cmp eax, 0x10
jb 0x59675d
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.00468fb0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x264], 0xf
mov dword [ebp - 0x268], 0
mov byte [ebp - 0x278], 0
call fcn.00468830
jmp 0x5967b8
push edi
call fcn.005b2960
add esp, 4
test esi, esi
je 0x5967b8
push esi
push str._n_GenerateMachineSignature_AssignRandomIDAsSignature_n
call fcn.0062a7a1
push esi
push str._noutMSignature
call fcn.0062a7a1
push esi
push edi
call fcn.0062a7a1
push esi
call fcn.0061c58f
add esp, 0x1c
lea ecx, [ebp - 0x328]
call fcn.005523d0
mov eax, dword [ebp - 0x2ac]
cmp eax, 0x10
jb 0x5967e1
inc eax
lea ecx, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c0]
call fcn.00468fb0
lea ecx, [ebp - 0x310]
mov dword [ebp - 0x2ac], 0xf
mov dword [ebp - 0x2b0], 0
mov byte [ebp - 0x2c0], 0
call fcn.00595fe0
lea ecx, [ebp - 0x370]
call fcn.0046cf70
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.005f961f
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.0060bd4a
mov esp, ebp
pop ebp
ret