Function at 0x100f9c20
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012f94c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c0
mov eax, dword [0x1014a0c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x1015d8a4]
test edi, edi
je 0x100f9c71
inc dword [edi + 0xac]
push 0x5c70
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea ecx, [ebp - 0x1b1]
mov dword [ebp - 0x1b8], eax
add esp, 4
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x100f9cad
push 0
mov ecx, eax
call fcn.1004c830
jmp 0x100f9caf
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x1015d8a4], eax
call fcn.10050c10
test edi, edi
je 0x100f9ccc
mov dword [0x1015d8a4], edi
jmp 0x100f9cd2
mov edi, dword [0x1015d8a4]
or dword [edi + 8], 3
lea eax, [ebp - 0x258]
push 0x78
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [ebp - 0x250], 1
mov eax, 0xffff
mov dword [ebp - 0x220], 0x7f7fffff
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x214], 0x3f800000
push 0x104
push eax
mov dword [ebp - 0x240], 3
mov dword [ebp - 0x244], 3
mov byte [ebp - 0x23c], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xorps xmm0, xmm0
mov dword [ebp - 0x1cc], 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x1c8], 0
movups xmmword [ebp - 0x1dc], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100f9d64
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x1dc]
call fcn.1002a390
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x1c8]
mov eax, edx
mov ecx, dword [ebp - 0x1cc]
sub eax, ecx
push 0x12
push str.FontsVerdana.ttf
cmp eax, 0x12
jb 0x100f9dd3
cmp edx, 0xf
lea esi, [ebp - 0x1dc]
lea eax, [ecx + 0x12]
cmova esi, dword [ebp - 0x1dc]
add esi, ecx
mov dword [ebp - 0x1cc], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x12], 0
lea eax, [ebp - 0x1dc]
jmp 0x100f9ded
mov byte [ebp - 0x1bc], 0
lea ecx, [ebp - 0x1dc]
push dword [ebp - 0x1bc]
push 0x12
call fcn.10038c30
mov dword [ebp - 0x128], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x124], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x138], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x128], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c8]
cmp ecx, 0xf
jbe 0x100f9e73
mov edx, dword [ebp - 0x1dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100f9e69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100f9e69
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101241e7
add esp, 8
cmp dword [ebp - 0x124], 0xf
lea ecx, [ebp - 0x138]
mov eax, dword [edi + 0x2c]
cmova ecx, dword [ebp - 0x138]
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x1bc]
push ecx
push eax
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0xf
mov byte [ebp - 0x1dc], 0
mov dword [ebp - 0x1c0], ecx
mov dword [ebp - 0x1bc], 0
call fcn.1004ef60
add esp, 8
mov dword [ebp - 0x1c4], eax
test eax, eax
je 0x100f9f9a
cmp byte [ebp - 0x20e], 0
lea esi, [ebp - 0x258]
mov ecx, 0x1e
lea edi, [ebp - 0x1b0]
rep movsd dword es:[edi], dword [esi]
jne 0x100f9f4f
mov esi, dword [ebp - 0x1c0]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100f9f00
sub ecx, edx
lea eax, [ecx + esi]
cmp eax, esi
jbe 0x100f9f22
mov dl, byte [eax - 1]
cmp dl, 0x2f
je 0x100f9f22
cmp dl, 0x5c
je 0x100f9f22
dec eax
cmp eax, esi
ja 0x100f9f10
movsd xmm0, qword [0x1013d8a0]
sub esp, 8
movsd qword [esp], xmm0
push eax
push str._s___.0fpx
lea eax, [ebp - 0x166]
push 0x28
push eax
call fcn.1004ecd0
mov eax, dword [ebp - 0x1c4]
add esp, 0x18
mov ecx, 0x1e
lea esi, [ebp - 0x1b0]
lea edi, [ebp - 0x2d0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x2cc], eax
lea eax, [ebp - 0x2d0]
push eax
mov dword [ebp - 0x2c0], 0x41600000
mov dword [ebp - 0x2a0], 0x1013d528
call fcn.1006fd30
xor ecx, ecx
call fcn.1006bde0
mov eax, dword [0x1015d8a4]
mov dword [eax + 0x3788], 0x41300000
mov dword [eax + 0x378c], 0x41100000
mov ecx, dword [0x101950a8]
call fcn.10074830
mov esi, dword [0x1015d8a4]
test esi, esi
je 0x100f9fd5
inc dword [esi + 0xac]
push 0x18
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
test eax, eax
je 0x100fa00f
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0x1388
mov dword [eax + 0x14], 0x2710
jmp 0x100fa011
xor eax, eax
mov ecx, dword [ebx + 8]
or dword [esi + 0xc], 8
mov dword [esi + 0x74], eax
mov dword [esi + 0x6c], str.imgui_impl_dx9
mov dword [eax], ecx
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [0x1015d8a4]
or dword [eax + 0x4708], 2
mov dword [eax + 0x4728], 0x440e8000
mov dword [eax + 0x472c], 0x43af0000
mov dword [eax + 0x4710], 1
mov ecx, dword [ebp - 0x124]
mov dword [0x1014ba1c], 0
cmp ecx, 0xf
jbe 0x100fa09a
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100fa090
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100fa090
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101241e7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10123d6c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4