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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d9532
mov eax, dword fs:[0]
push eax
sub esp, 0x370
mov eax, dword [0x806f14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov edi, dword [ebp + 0xc]
push eax
push 0
push 0
push 0x1c
push 0
mov dword [ebp - 0x2b8], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x37c], 0x787318
mov dword [ebp - 0x36c], 0x787320
push 0
lea eax, [ebp - 0x364]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2b8], 1
push eax
lea ecx, [ebp - 0x314]
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 - 0x318], 0x50
movlpd qword [ebp - 0x374], xmm0
call fcn.00491640
lea eax, [ebp - 0x36c]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x36c]
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 - 0x36c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x370], eax
mov eax, dword [ebp - 0x37c]
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 - 0x37c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x380], eax
mov eax, dword [ebp - 0x37c]
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 - 0x37c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x380], eax
lea eax, [ebp - 0x364]
mov ecx, eax
mov dword [ebp - 0x2bc], eax
call fcn.00491270
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 - 0x32c], 0
mov dword [ebp - 0x328], 0
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 7
push eax
lea eax, [ebp - 0x36c]
push eax
call fcn.004ce4c0
add esp, 8
lea ecx, [ebp - 0x2b0]
call fcn.004ce930
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.004d1da0
push str.oobelibMkey.log
push eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x260]
push eax
call fcn.004ce830
add esp, 0xc
mov eax, dword [ebp - 0x234]
mov byte [ebp - 4], 0xb
cmp eax, 0x10
jb 0x4d0994
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.004898c0
cmp dword [ebp - 0x24c], 0x10
lea eax, [ebp - 0x260]
push 0x730fa4
cmovae eax, dword [ebp - 0x260]
push eax
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
call fcn.0068bf16
add esp, 8
mov byte [ebp - 0x2b1], 0
lea ecx, [ebp - 0x2cc]
xor esi, esi
call fcn.004c1cf0
push ebx
mov byte [ebp - 4], 0xc
call fcn.004d4a40
add esp, 4
test edi, edi
je 0x4d09f8
mov dword [edi], esi
cmp eax, 4
je 0x4d0a35
cmp eax, 8
je 0x4d0a35
cmp eax, 0xf
jne 0x4d0a1b
cmp dword [ebp - 0x2c8], 0
jne 0x4d0de8
mov bl, 1
jmp 0x4d0dee
cmp eax, 0xa
je 0x4d0a2e
cmp eax, 0xc
je 0x4d0a2e
cmp eax, 0xe
jne 0x4d0de8
mov bl, 1
jmp 0x4d0dee
cmp dword [ebp - 0x2c8], 0
je 0x4d0de8
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.004d00e0
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
push 4
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebx + 0x1c]
push eax
push ecx
call fcn.00697030
add esp, 0x18
test eax, eax
je 0x4d0ae4
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push 4
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebx + 0x1c]
push eax
call fcn.00697030
add esp, 0xc
test eax, eax
jne 0x4d0ae9
mov esi, 0x19
mov eax, dword [ebp - 0x21c]
cmp eax, 0x10
jb 0x4d0b07
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004898c0
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
cmp eax, 0x10
jb 0x4d0b40
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.004898c0
cmp esi, 0x46
jge 0x4d0a2e
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.004cf4c0
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push 8
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebx + 0x14]
push eax
push ecx
call fcn.00697030
add esp, 0x14
test eax, eax
je 0x4d0bed
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push 8
cmovae eax, dword [ebp - 0x230]
push eax
push str.kYK_5yV1
call fcn.00697030
add esp, 0xc
test eax, eax
je 0x4d0bed
push 8
lea eax, [ebx + 0x14]
push str.kYK_5yV1
push eax
call fcn.00697030
add esp, 0xc
test eax, eax
jne 0x4d0bf0
test edi, edi
je 0x4d0bf0
mov dword [edi], 0xffffffff
jmp 0x4d0bf0
add esi, 0x19
mov eax, dword [ebp - 0x21c]
cmp eax, 0x10
jb 0x4d0c0e
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004898c0
cmp esi, 0x46
jge 0x4d0a2e
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.004cf6e0
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push 4
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebx + 0x10]
push eax
push ecx
call fcn.00697030
add esp, 0x14
test eax, eax
je 0x4d0cbb
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push 4
cmovae eax, dword [ebp - 0x230]
push eax
push str.kYK_
call fcn.00697030
add esp, 0xc
test eax, eax
je 0x4d0cbb
push 4
lea eax, [ebx + 0x10]
push str.kYK_
push eax
call fcn.00697030
add esp, 0xc
test eax, eax
jne 0x4d0cbe
test edi, edi
je 0x4d0cbe
mov dword [edi], 0xffffffff
jmp 0x4d0cbe
add esi, 0x19
mov eax, dword [ebp - 0x21c]
cmp eax, 0x10
jb 0x4d0cdc
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004898c0
cmp esi, 0x46
jge 0x4d0a2e
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.004cf300
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
push 4
cmovae eax, dword [ebp - 0x248]
push eax
lea eax, [ebx + 0xc]
push eax
call fcn.00697030
add esp, 0x18
test eax, eax
jne 0x4d0dcb
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push 8
cmovae eax, dword [ebp - 0x230]
add ebx, 4
push eax
push ebx
call fcn.00697030
add esp, 0xc
test eax, eax
jne 0x4d0d8c
add esi, 0x19
jmp 0x4d0dcb
push 8
push str._Viz8qju
push ebx
call fcn.00697030
add esp, 0xc
test eax, eax
je 0x4d0dc8
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push 8
cmovae eax, dword [ebp - 0x230]
push str._Viz8qju
push eax
call fcn.00697030
add esp, 0xc
test eax, eax
jne 0x4d0dcb
add esi, 0xf
lea ecx, [ebp - 0x248]
call fcn.00489140
lea ecx, [ebp - 0x230]
call fcn.00489140
mov bl, 1
cmp esi, 0x46
jge 0x4d0dee
mov bl, byte [ebp - 0x2b1]
lea ecx, [ebp - 0x2cc]
call fcn.004c1d20
mov eax, dword [ebp - 0x24c]
cmp eax, 0x10
jb 0x4d0e17
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.004898c0
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x24c], 0xf
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x260], 0
call fcn.004cea90
lea ecx, [ebp - 0x314]
call fcn.0048d8d0
lea eax, [ebp - 0x314]
mov dword [ebp - 4], 0x13
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0066eff0
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066c50c
mov esp, ebp
pop ebp
ret