Function at 0x10024a70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be556
mov eax, dword fs:[0]
push eax
sub esp, 0x370
mov eax, dword [0x100f4c44]
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 eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x37c], eax
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x340], eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x208
push ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x378], 1
call fcn.1008cc60
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.dxgi.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
jne 0x10024c96
call fcn.10043d90
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1002513a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x53
push str.d:jenkins.jenkinsworkspacegroup_cleangpu_optgpu_optgpu_opt_srcpopularize.cc
lea ecx, [ebp - 0x374]
mov dword [ebp - 0x364], 0
mov ebx, eax
mov dword [ebp - 0x360], 0xf
mov byte [ebp - 0x374], 0
call fcn.1000e070
push 3
push 0x100c7710
lea ecx, [ebp - 0x35c]
mov dword [ebp - 4], 1
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 0xf
mov byte [ebp - 0x35c], 0
call fcn.1000e070
mov byte [ebp - 4], 2
call fcn.10043d90
mov edi, eax
lea ecx, [ebp - 0x2b0]
push 0x1b0
lea eax, [ebp - 0x374]
push eax
lea eax, [ebp - 0x35c]
push eax
call fcn.10009390
mov esi, eax
push str.LoadLibarary_dxgi.dll_failed.__error
push esi
mov byte [ebp - 4], 3
call fcn.1000a6d0
add esp, 8
mov ecx, esi
push ebx
call fcn.1000a530
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2b0]
call fcn.1000a7f0
mov edx, dword [ebp - 0x348]
cmp edx, 0x10
jb 0x10024c3e
mov ecx, dword [ebp - 0x35c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024c34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002515e
push edx
push ecx
call fcn.10046d13
add esp, 8
mov edx, dword [ebp - 0x360]
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 0xf
mov byte [ebp - 0x35c], 0
cmp edx, 0x10
jb 0x1002513a
mov ecx, dword [ebp - 0x374]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10025130
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025163
jmp 0x10025130
push str.CreateDXGIFactory1
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10024ede
call fcn.10043d90
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10024e09
push 0x53
push str.d:jenkins.jenkinsworkspacegroup_cleangpu_optgpu_optgpu_opt_srcpopularize.cc
lea ecx, [ebp - 0x374]
mov dword [ebp - 0x364], eax
mov dword [ebp - 0x360], 0xf
mov byte [ebp - 0x374], al
call fcn.1000e070
push 3
push 0x100c7710
lea ecx, [ebp - 0x35c]
mov dword [ebp - 4], 4
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 0xf
mov byte [ebp - 0x35c], 0
call fcn.1000e070
mov byte [ebp - 4], 5
call fcn.10043d90
mov edi, eax
lea ecx, [ebp - 0x2b0]
push 0x1b7
lea eax, [ebp - 0x374]
push eax
lea eax, [ebp - 0x35c]
push eax
call fcn.10009390
mov esi, eax
push str.not_support_DXGI_1.1
push esi
mov byte [ebp - 4], 6
call fcn.1000a6d0
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2b0]
call fcn.1000a7f0
mov edx, dword [ebp - 0x348]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x10024db0
mov ecx, dword [ebp - 0x35c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024da6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025168
push edx
push ecx
call fcn.10046d13
add esp, 8
mov edx, dword [ebp - 0x360]
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 0xf
mov byte [ebp - 0x35c], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10024e09
mov ecx, dword [ebp - 0x374]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024dff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002516d
push edx
push ecx
call fcn.10046d13
add esp, 8
push str.CreateDXGIFactory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10024ede
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.10043d90
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1002513a
push 0x53
push str.d:jenkins.jenkinsworkspacegroup_cleangpu_optgpu_optgpu_opt_srcpopularize.cc
lea ecx, [ebp - 0x374]
mov dword [ebp - 0x364], eax
mov dword [ebp - 0x360], 0xf
mov byte [ebp - 0x374], al
call fcn.1000e070
push 3
push 0x100c7710
lea ecx, [ebp - 0x35c]
mov dword [ebp - 4], 7
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 0xf
mov byte [ebp - 0x35c], 0
call fcn.1000e070
mov byte [ebp - 4], 8
call fcn.10043d90
mov edi, eax
lea ecx, [ebp - 0x2b0]
push 0x1bc
lea eax, [ebp - 0x374]
push eax
lea eax, [ebp - 0x35c]
push eax
call fcn.10009390
mov esi, eax
push str.ERROR:_dxgi.dll_missing_entry_point
push esi
mov byte [ebp - 4], 9
call fcn.1000a6d0
add esp, 8
jmp 0x10024bf1
lea ecx, [ebp - 0x344]
mov dword [ebp - 0x344], 0
push ecx
push 0x100c96e0
call eax
test eax, eax
js 0x10024fd6
mov ecx, dword [ebp - 0x344]
test ecx, ecx
je 0x10024fd6
mov ebx, dword [ebp - 0x340]
xor esi, esi
nop dword [eax]
nop dword [eax + eax]
lea edx, [ebp - 0x340]
mov dword [ebp - 0x340], 0
mov eax, dword [ecx]
push edx
push esi
push ecx
call dword [eax + 0x1c]
cmp eax, 0x887a0002
je 0x10025140
test eax, eax
js 0x10024fc1
mov edi, dword [ebp - 0x340]
test edi, edi
je 0x10024fc1
push 0x124
lea eax, [ebp - 0x33c]
push 0
push eax
call fcn.1008cc60
mov eax, dword [edi]
lea ecx, [ebp - 0x33c]
add esp, 0xc
push ecx
push edi
call dword [eax + 0x20]
test eax, eax
js 0x10024fc1
mov eax, dword [ebp - 0x340]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x23c], 0x10de
jne 0x10024fc1
cmp word [ebp - 0x33c], 0
je 0x10024fc1
lea ecx, [ebp - 0x33c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024fa3
sub ecx, edx
lea eax, [ebp - 0x33c]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.1000e170
inc esi
cmp esi, 0x20
jge 0x10025140
mov ecx, dword [ebp - 0x344]
jmp 0x10024f20
call fcn.10043d90
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1002513a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x53
push str.d:jenkins.jenkinsworkspacegroup_cleangpu_optgpu_optgpu_opt_srcpopularize.cc
lea ecx, [ebp - 0x374]
mov dword [ebp - 0x364], 0
mov ebx, eax
mov dword [ebp - 0x360], 0xf
mov byte [ebp - 0x374], 0
call fcn.1000e070
push 3
push 0x100c7710
lea ecx, [ebp - 0x35c]
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 0xf
mov byte [ebp - 0x35c], 0
call fcn.1000e070
mov byte [ebp - 4], 0xb
call fcn.10043d90
mov edi, eax
lea ecx, [ebp - 0x2b0]
push 0x1c4
lea eax, [ebp - 0x374]
push eax
lea eax, [ebp - 0x35c]
push eax
call fcn.10009390
mov esi, eax
push str.pCreateDXGIFactory_failed._error
push esi
mov byte [ebp - 4], 0xc
call fcn.1000a6d0
add esp, 8
mov ecx, esi
push ebx
call fcn.1000a530
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2b0]
call fcn.1000a7f0
mov edx, dword [ebp - 0x348]
cmp edx, 0x10
jb 0x100250e9
mov ecx, dword [ebp - 0x35c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100250df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002515e
push edx
push ecx
call fcn.10046d13
add esp, 8
mov edx, dword [ebp - 0x360]
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 0xf
mov byte [ebp - 0x35c], 0
cmp edx, 0x10
jb 0x1002513a
mov ecx, dword [ebp - 0x374]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10025130
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002515e
push edx
push ecx
call fcn.10046d13
add esp, 8
mov ebx, dword [ebp - 0x340]
mov eax, ebx
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.100470a0
mov esp, ebp
pop ebp
ret
call fcn.100902aa
call fcn.100902aa
call fcn.100902aa
call fcn.100902aa
int3