Function at 0x4019e1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 8
call fcn.004063e6
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push ebx
push 0x24
call fcn.004063e6
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x43c30d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x808
call fcn.004063e6
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x43c315
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x200
rep stosd dword es:[edi], eax
mov dword [ebp - 0x18], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x401a97
push eax
mov ebx, eax
call fcn.0040191a
inc eax
push eax
call fcn.004063e6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401aa8
push ebx
call fcn.004063e0
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x401abf
mov eax, 0x41c2ba
push eax
push 1
mov ebx, 0x24c
call fcn.004074f0
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401af1
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.GDI32.dll_AddFontResourceA]
nop
nop
jmp 0x401b79
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.00407500
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401b26
push ebx
call fcn.004063e0
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0
push 0x14
push dword [ebp - 0xc]
push 0
xor eax, eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
nop
nop
push dword [ebp - 4]
push 0x43c30b
push dword [ebp - 0xc]
mov ecx, 3
call fcn.00401985
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401b75
push ebx
call fcn.004063e0
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 4]
push eax
call fcn.00401ed4
mov dword [ebp - 0x20], eax
push 2
mov eax, dword [ebp - 0x14]
push eax
push 0x81c
call fcn.004063e6
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 7
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x400
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x401bed
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.GDI32.dll_GetFontResourceInfoW]
nop
nop
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
push ebx
push edi
push 4
mov eax, 2
call fcn.004067b0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x401c2f
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x401c2d
imul eax, dword [edi]
jmp 0x401c22
mov ecx, eax
cmp ecx, 7
jle 0x401c39
mov ecx, 7
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x1c
push ebx
push edi
push 2
mov eax, 2
call fcn.004067b0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x401c74
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x401c72
imul eax, dword [edi]
jmp 0x401c67
mov ecx, eax
cmp ecx, 0x400
jle 0x401c81
mov ecx, 0x400
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x800
call fcn.004063e0
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401cab
push ebx
call fcn.004063e0
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 4]
push eax
call fcn.00401ed4
mov dword [ebp - 0x20], eax
push 2
mov eax, dword [ebp - 0x14]
push eax
push 0x81c
call fcn.004063e6
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 7
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x400
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x401d1f
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.GDI32.dll_GetFontResourceInfoW]
nop
nop
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
push ebx
push edi
push 4
mov eax, 2
call fcn.004067b0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x401d61
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x401d5f
imul eax, dword [edi]
jmp 0x401d54
mov ecx, eax
cmp ecx, 7
jle 0x401d6b
mov ecx, 7
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x1c
push ebx
push edi
push 2
mov eax, 2
call fcn.004067b0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x401da6
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x401da4
imul eax, dword [edi]
jmp 0x401d99
mov ecx, eax
cmp ecx, 0x400
jle 0x401db3
mov ecx, 0x400
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x800
call fcn.004063e0
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401ddd
push ebx
call fcn.004063e0
add esp, 4
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x1c], ebx
push 0xa0000201
push 0
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
push 1
mov ebx, 0x198
call fcn.00406e80
add esp, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.004023b4
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401e23
push ebx
call fcn.004063e0
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401e37
push ebx
call fcn.004063e0
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 8], 0
je 0x401e52
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.GDI32.dll_RemoveFontResourceA]
nop
nop
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x401e6e
push eax
mov ebx, eax
call fcn.0040191a
inc eax
push eax
call fcn.004063e6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x401e73
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401e84
push ebx
call fcn.004063e0
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401e94
push ebx
call fcn.004063e0
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004063e0
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004063e0
add esp, 4
pop ebx
call fcn.004063e0
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401ecd
push ebx
call fcn.004063e0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4