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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x602872
mov eax, dword fs:[0]
push eax
sub esp, 0x3cc
mov eax, dword [0x6c2d9c]
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], 0x685c00
mov dword [ebp - 0x3c8], 0x685c08
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.00441030
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.00440c60
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.004d1b00
add esp, 8
lea ecx, [ebp - 0x310]
call fcn.004d1f10
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x310]
call fcn.004d5390
push str.oobelibMkey.log
push eax
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 9
push eax
call fcn.00461830
add esp, 0xc
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 0xb
cmp eax, 0x10
jb 0x4d23f0
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00439220
cmp dword [ebp - 0x2ac], 0x10
lea eax, [ebp - 0x2c0]
push 0x63e990
cmovae eax, dword [ebp - 0x2c0]
push eax
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
call fcn.0057be8d
add esp, 8
lea ecx, [ebp - 0x328]
mov esi, eax
call fcn.004c1580
cmp dword [ebp - 0x324], 0
mov byte [ebp - 4], 0xc
je 0x4d2825
push 8
call fcn.004deff0
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.004d28f0
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.004d2cd0
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.004d2ab0
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.004d36d0
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 0x4d2704
push esi
push str._n_GenerateMachineSignature_start_n
call fcn.0058e09b
push esi
push str._nAddressRep
call fcn.0058e09b
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push esi
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0058e09b
push esi
push str.deviceIDRep
call fcn.0058e09b
cmp dword [ebp - 0x264], 0x10
lea eax, [ebp - 0x278]
push esi
cmovae eax, dword [ebp - 0x278]
push eax
call fcn.0058e09b
push esi
push str._nboardRep
call fcn.0058e09b
cmp dword [ebp - 0x24c], 0x10
lea eax, [ebp - 0x260]
push esi
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.0058e09b
push esi
push str._nbiosRep
call fcn.0058e09b
add esp, 0x40
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 0x10
cmovae eax, dword [ebp - 0x248]
push esi
push eax
call fcn.0058e09b
push esi
push str._ncpuFullRep
call fcn.0058e09b
cmp dword [ebp - 0x294], 0x10
lea eax, [ebp - 0x2a8]
push esi
cmovae eax, dword [ebp - 0x2a8]
push eax
call fcn.0058e09b
push esi
push str._noutMSignature
call fcn.0058e09b
push esi
push edi
call fcn.0058e09b
push esi
push str._n_GenerateMachineSignature_end_n
call fcn.0058e09b
push esi
call fcn.0057bf1b
mov ecx, dword [ebp - 0x27c]
add esp, 0x34
mov edx, dword [ebp - 0x290]
cmp ecx, 0x10
jb 0x4d2719
lea eax, [ecx + 1]
push eax
push edx
lea ecx, [ebp - 0x290]
call fcn.00439220
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x27c], 0xf
mov dword [ebp - 0x280], 0
mov byte [ebp - 0x290], 0
cmp eax, 0x10
jb 0x4d2752
inc eax
lea ecx, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2a8]
call fcn.00439220
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x294], 0xf
mov dword [ebp - 0x298], 0
mov byte [ebp - 0x2a8], 0
cmp eax, 0x10
jb 0x4d278b
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00439220
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
cmp eax, 0x10
jb 0x4d27c4
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00439220
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x24c], 0xf
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x260], 0
cmp eax, 0x10
jb 0x4d27fd
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.00439220
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x264], 0xf
mov dword [ebp - 0x268], 0
mov byte [ebp - 0x278], 0
call fcn.00438a90
jmp 0x4d2858
push edi
call fcn.004deed0
add esp, 4
test esi, esi
je 0x4d2858
push esi
push str._n_GenerateMachineSignature_AssignRandomIDAsSignature_n
call fcn.0058e09b
push esi
push str._noutMSignature
call fcn.0058e09b
push esi
push edi
call fcn.0058e09b
push esi
call fcn.0057bf1b
add esp, 0x1c
lea ecx, [ebp - 0x328]
call fcn.004c16e0
mov eax, dword [ebp - 0x2ac]
cmp eax, 0x10
jb 0x4d2881
inc eax
lea ecx, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c0]
call fcn.00439220
lea ecx, [ebp - 0x310]
mov dword [ebp - 0x2ac], 0xf
mov dword [ebp - 0x2b0], 0
mov byte [ebp - 0x2c0], 0
call fcn.004d2080
lea ecx, [ebp - 0x370]
call fcn.0043d330
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.0055fa68
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.0055d371
mov esp, ebp
pop ebp
ret