Function at 0x10081740
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
push edi
mov edi, ecx
mov ecx, 0x28
mov dword [esp + 0x3c], edi
lea eax, [edi + 2]
nop dword [eax]
mov dword [eax - 2], 0
lea eax, [eax + 0x28]
mov dword [eax - 0x26], 0x101
mov word [eax - 0x22], 0
mov dword [eax - 0x1e], 0
mov dword [eax - 0x1a], 0x3f800000
mov dword [eax - 0x16], 0
mov dword [eax - 0x12], 0x3f800000
mov dword [eax - 0xe], 0x3f800000
mov dword [eax - 0xa], 1
mov word [eax - 6], 0x100
sub ecx, 1
jne 0x10081760
mov dword [edi + 0x644], ecx
lea eax, [edi + 0x648]
mov word [edi + 0x640], 0x4200
mov ecx, 0x28
nop word [eax + eax]
mov dword [eax], 0x10000
lea eax, [eax + 0x18]
mov word [eax - 0x14], 0
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
mov dword [eax - 8], 1
mov dword [eax - 4], 0
sub ecx, 1
jne 0x100817d0
mov byte [edi + 0xa08], 0x42
mov dword [edi + 0xa0c], ecx
push 0x100
mov dword [edi + 0xa10], ecx
mov dword [edi + 0xa14], ecx
call fcn.100fe077
add esp, 4
lea ecx, [edi + 0xa18]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0xa10], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [edi + 0xa24], 7
mov dword [edi + 0xa28], 8
mov dword [edi + 0xa0c], 0x3f800000
push dword [edi + 0xa10]
push 0x10
call fcn.1008a330
lea ecx, [edi + 0xa30]
mov word [edi + 0xa2c], 0x142
mov byte [edi + 0xa2e], 0x42
call fcn.10081c50
mov dword [edi + 0xaf4], 0
lea ecx, [edi + 0xafc]
mov dword [edi + 0xaf8], 0
lea edx, [esp + 0x10]
mov eax, dword [0x1013df64]
xorps xmm0, xmm0
mov dword [esp + 0x10], eax
mov ax, word [0x1013df68]
mov word [esp + 0x14], ax
mov al, byte [0x1013df6a]
mov byte [esp + 0x16], al
lea eax, [esp + 0x28]
push ecx
push eax
push edx
movlpd qword [esp + 0x24], xmm0
mov dword [esp + 0x2c], 7
mov dword [esp + 0x30], 0xf
mov byte [esp + 0x23], 0
call fcn.10088df0
mov eax, 1
lea esi, [esp + 0x28]
nop
mov ecx, dword [esi - 4]
lea esi, [esi - 0x18]
dec eax
mov dword [esp + 0xc], eax
cmp ecx, 0x10
jb 0x1008193f
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10081931
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10081c3c
mov eax, edx
push ecx
push eax
call fcn.100fdb97
mov eax, dword [esp + 0x14]
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
test eax, eax
jne 0x10081900
mov eax, dword [0x1013df64]
lea ecx, [edi + 0xb08]
mov dword [esp + 0x10], eax
lea edx, [esp + 0x10]
mov ax, word [0x1013df68]
xorps xmm0, xmm0
mov word [esp + 0x14], ax
mov al, byte [0x1013df6a]
mov byte [esp + 0x16], al
lea eax, [esp + 0x28]
push ecx
push eax
push edx
movlpd qword [esp + 0x24], xmm0
mov dword [esp + 0x2c], 7
mov dword [esp + 0x30], 0xf
mov byte [esp + 0x23], 0
call fcn.10088df0
mov eax, 1
lea esi, [esp + 0x28]
nop
mov ecx, dword [esi - 4]
lea esi, [esi - 0x18]
dec eax
mov dword [esp + 0xc], eax
cmp ecx, 0x10
jb 0x100819ef
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x100819e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10081c3c
mov eax, edx
push ecx
push eax
call fcn.100fdb97
mov eax, dword [esp + 0x14]
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
test eax, eax
jne 0x100819b0
mov dword [edi + 0xb14], eax
push 0x2c
mov dword [edi + 0xb18], eax
mov dword [edi + 0xb1c], eax
call fcn.100fe077
add esp, 4
lea ecx, [edi + 0xb20]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0xb18], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [edi + 0xb2c], 7
mov dword [edi + 0xb30], 8
mov dword [edi + 0xb14], 0x3f800000
push dword [edi + 0xb18]
push 0x10
call fcn.1008a330
lea esi, [edi + 0xb34]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x1012b370
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x10081b5e
mov edx, dword [esp + 0xc]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x30], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10081ac0
sub ecx, dword [esp + 0x30]
lea eax, [esp + 0x30]
sar ecx, 1
push ecx
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x14]
push eax
mov dword [esp + 0x38], edx
call fcn.1009c350
lea eax, [esp + 0x10]
cmp esi, eax
je 0x10081b18
mov ecx, esi
call fcn.1009d100
movups xmm0, xmmword [esp + 0x10]
xor eax, eax
mov ecx, 7
mov word [esp + 0x10], ax
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [esi + 0x10], xmm0
jmp 0x10081b1c
mov ecx, dword [esp + 0x24]
cmp ecx, 8
jb 0x10081b54
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10081b4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10081c3c
push ecx
push edx
call fcn.100fdb97
add esp, 8
push dword [esp + 0xc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 6
push str.Osiris
call fcn.100fee04
mov edx, eax
lea ecx, [esp + 0x18]
call fcn.10099600
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.1009cf10
lea ecx, [esp + 0x10]
call fcn.1009d100
mov ecx, edi
mov dword [edi + 0xb4c], 0
mov dword [edi + 0xb50], 0
mov dword [edi + 0xb54], 0
call fcn.10087330
push 0
push str.default.json
sub esp, 8
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
mov ecx, edi
call fcn.10083230
xor eax, eax
mov byte [esp + 0x57], 0
push eax
lea esi, [edi + 0xb08]
mov word [esp + 0x60], ax
push esi
push 0x10081660
lea eax, [esp + 0x4c]
mov byte [esp + 0x67], 0
push eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_EnumFontFamiliesExW]
mov ecx, dword [esi]
mov eax, 0x2aaaaaab
mov edi, dword [edi + 0xb0c]
add ecx, 0x18
mov esi, edi
mov byte [esp + 0x30], 0
push dword [esp + 0x30]
sub esi, ecx
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, edi
push eax
call fcn.10094fa0
mov eax, dword [esp + 0x3c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
call fcn.1010e5c5
int3