Function at 0x10037b30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a2e6c
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x100df040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push eax
push 0
push 0
push 0x100a9e40
mov dword [ebp - 0x48], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x10037c3e
mov byte [ebp - 0x4c], 0
lea edx, [ebp - 0x48]
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x28]
call fcn.10038550
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10037710
test al, al
je 0x10037be7
push dword [ebp - 0x48]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [ebp - 0x44], xmm0
vmovdqu xmm0, xmmword [ebp - 0x28]
vmovdqu xmmword [ebp - 0x44], xmm0
vmovq xmm0, qword [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x18], 0
vmovq qword [ebp - 0x34], xmm0
mov al, 1
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
jmp 0x10037c49
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x10037c2a
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10037c20
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10037c20
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009fa90
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push dword [ebp - 0x48]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
mov dword [ebp - 0x4c], 1
mov byte [ebp - 0x2c], al
mov dword [ebp - 4], 1
test al, al
jne 0x10037c6f
push 0x10
push str.Error
push str.Failed_to_initialize_storage_path_
jmp 0x10037e58
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x80]
mov byte [ebp - 0x50], 0
push dword [ebp - 0x50]
call fcn.100385c0
add esp, 4
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x68]
call fcn.10013de0
lea eax, [ebp - 0x80]
mov dword [ebp - 0x4c], 0x21
push eax
lea ecx, [ebp - 0x68]
call fcn.10013a00
lea eax, [ebp - 0x68]
mov ecx, 0x100e00cc
push eax
call fcn.10037ef0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x4c], 1
cmp ecx, 7
jbe 0x10037cf6
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10037cec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037d3a
push ecx
push edx
call fcn.1009fa90
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp ecx, 7
jbe 0x10037d4a
mov edx, dword [ebp - 0x80]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10037d40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10037d40
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009fa90
add esp, 8
mov ecx, 0x100e00cc
call fcn.10037ac0
test al, al
jne 0x10037d6c
push 0x10
push str.Error
push str._AssureDirectory_m_WorkFolder__n_nvoid___thiscall_CStorage::Init_const_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char______Line_46
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 0x50], 0
lea ecx, [ebp - 0x80]
push dword [ebp - 0x50]
call fcn.10038600
add esp, 4
push 0x100e00cc
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.10013de0
lea eax, [ebp - 0x80]
mov dword [ebp - 0x4c], 0x101
push eax
lea ecx, [ebp - 0x68]
call fcn.10013a00
lea eax, [ebp - 0x68]
mov ecx, 0x100e00e4
push eax
call fcn.10037ef0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x54]
cmp ecx, 7
jbe 0x10037dea
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10037de0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037e2e
push ecx
push edx
call fcn.1009fa90
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp ecx, 7
jbe 0x10037e3e
mov edx, dword [ebp - 0x80]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10037e34
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10037e34
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009fa90
add esp, 8
mov ecx, 0x100e00e4
call fcn.10037ac0
test al, al
jne 0x10037e60
push 0x10
push str.Error
push str._AssureDirectory_m_ConfigFolder__n_nvoid___thiscall_CStorage::Init_const_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char______Line_49
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x44]
call fcn.10037e90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009f72e
mov esp, ebp
pop ebp
ret 4