Function at 0x100026e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10004d95
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [section..data]
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 byte [ebp - 0x30], 0
lea ecx, [ebp - 0x64]
push dword [ebp - 0x30]
call fcn.10003880
push 0x208
mov dword [ebp - 4], 0
call fcn.10003a0e
push 0x208
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
mov dword [ebp - 0x14], esi
push 0x104
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x34]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], esi
call fcn.10003830
push esi
call fcn.100039cb
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x2c]
call fcn.10001c20
add esp, 0xc
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x38]
cmp ecx, 8
jb 0x100027bb
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100027b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100027eb
push ecx
push edx
call fcn.10003a00
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x50]
cmp ecx, 8
jb 0x100027fb
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100027f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100027f1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10003a00
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.10002540
test al, al
je 0x100028f0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10002960
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x38]
mov edi, eax
cmp ecx, 8
jb 0x1000287b
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10002871
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10002871
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10003a00
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
test edi, edi
je 0x100028f0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1000532c
push edi
call esi
push 0x10005344
push edi
mov dword [0x10007528], eax
call esi
push 0x10005364
push edi
mov dword [0x10007520], eax
call esi
push 0x10005374
push edi
mov dword [0x10007524], eax
call esi
cmp dword [0x10007528], 0
mov dword [0x1000752c], eax
je 0x100028f0
cmp dword [0x10007520], 0
je 0x100028f0
cmp dword [0x10007524], 0
je 0x100028f0
test eax, eax
je 0x100028f0
mov bl, 1
jmp 0x100028f2
xor bl, bl
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x1000292e
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10002924
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10002924
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10003a00
add esp, 8
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.100039bd
mov esp, ebp
pop ebp
ret