Function at 0x6412d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x686bab
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x906648]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
cmp dword [0x950458], 1
je 0x641709
push 0x1d
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x230]
push str.C:_Program_Files_Solidcore_S3
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00504f30
push 0x30
xor eax, eax
mov dword [ebp - 0x248], 0
push str.C:_Program_Files_Solidcore_S3_Logs_solidcore.log
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00504f30
mov dword [ebp - 0x24c], 0
push 0x909f74
mov byte [ebp - 4], 1
mov byte [0x909f90], 0
mov dword [0x909f94], 0
call fcn.004f49f0
add esp, 4
test eax, eax
je 0x6413dd
test byte [0x9538a8], 1
je 0x6413d8
push str.Failed_to_initialize_CurrentPlatformControl
push 0x107
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_mapl_mapl_init.cpp
push str.CurrentPlatformControl::init
push dword [0x909f70]
push 1
call fcn.004f21c0
add esp, 0x18
or esi, 0xffffffff
jmp 0x641423
push 0x909f94
call fcn.006425d0
mov esi, eax
add esp, 4
test esi, esi
je 0x64145b
test byte [0x9538a8], 1
je 0x64168f
push esi
push esi
push str.failed_to_get_platform.____Policies_will_not_be_applied.err___d_0x_x._n
push 0x10f
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_mapl_mapl_init.cpp
push str.CurrentPlatformControl::init
push dword [0x909f70]
push 1
call fcn.004f21c0
add esp, 0x20
test byte [0x9538a8], 1
je 0x64168f
push esi
push esi
push str.failed_to_initialize_CurrentPlatformControl._tPolicies_will_not_be_applied.err___d_0x_x._n
push 0xa8
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_mapl_mapl_init.cpp
push str.mapl_init
push dword [0x909f70]
push 1
call fcn.004f21c0
add esp, 0x20
jmp 0x64168f
test byte [0x9538a8], 4
mov byte [0x909f91], 1
je 0x641495
push dword [0x909f94]
push str.Current_platform_is__s.
push 0x115
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_mapl_mapl_init.cpp
push str.CurrentPlatformControl::init
push dword [0x909f70]
push 4
call fcn.004f21c0
add esp, 0x1c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x641531
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x641528
lea eax, [ebp - 0x218]
push eax
push str._sTemp
push 0x208
push esi
call fcn.004f3b60
add esp, 0x10
test byte [0x9538a8], 4
je 0x641518
push str.In_mapl_cleanup:_going_to_remove_tmp_cert_files.
push 0x82
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_mapl_mapl_init.cpp
push str.mapl_cleanup
push dword [0x909f70]
push 4
call fcn.004f21c0
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00641980
add esp, 8
push esi
call fcn.0063e429
add esp, 4
call fcn.00653df0
call fcn.0064b5e0
mov esi, eax
lea edi, [esi + 0x24]
push edi
call fcn.004f4a70
push edi
mov dword [esi], 0
call fcn.004f4b00
add esp, 8
call fcn.00643310
test eax, eax
je 0x64158d
test byte [0x9538a8], 1
je 0x64158d
push eax
push eax
push str.ipc_init_failed._err___d_0x_x._n
push 0xbb
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_mapl_mapl_init.cpp
push str.mapl_init
push dword [0x909f70]
push 1
call fcn.004f21c0
add esp, 0x20
mov dword [0x950458], 1
call fcn.0064b5e0
mov ecx, eax
call fcn.0064b750
call fcn.00662810
mov ecx, eax
call fcn.006628b0
call fcn.006681a0
call fcn.00595fd0
mov esi, eax
call fcn.006681a0
mov edx, esi
lea ecx, [eax + 4]
lea edi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x6415d0
sub edx, edi
sar edx, 1
push edx
push esi
call fcn.00504f30
lea eax, [ebp - 0x24c]
push eax
call fcn.00551550
mov esi, eax
add esp, 4
test esi, esi
jne 0x641636
test byte [0x9538a8], 8
je 0x64162e
push dword [ebp - 0x24c]
push str.install_dir_name:__s
push 0xd0
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_mapl_mapl_init.cpp
push str.mapl_init
push dword [0x909f70]
push 8
call fcn.004f21c0
add esp, 0x1c
push dword [ebp - 0x24c]
jmp 0x641679
test byte [0x9538a8], 4
je 0x641664
push esi
push str.Failed_to_get_installation_directory._err___d___using_default
push 0xd8
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_mapl_mapl_init.cpp
push str.mapl_init
push dword [0x909f70]
push 4
call fcn.004f21c0
add esp, 0x1c
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push str.install_dir
call fcn.00662810
mov ecx, eax
call fcn.00663610
call fcn.006684d0
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x6416cb
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6416c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x641724
push edx
push ecx
call fcn.0063cad3
add esp, 8
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x641707
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6416fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x641724
push edx
push ecx
call fcn.0063cad3
add esp, 8
mov eax, esi
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.0063c972
mov esp, ebp
pop ebp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3