Function at 0x10040350
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf8
push ebx
push ebp
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov word [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x3dcccccd
call fcn.100717a0
mov edi, dword [0x101023d4]
lea eax, [esp + 0x14]
push eax
push 0
push 0
or dword [edi + 8], 0x20
push 0x100dc3c0
mov dword [edi + 0x1588], 0x41100000
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x100406db
mov edx, dword [esp + 0x14]
mov ecx, edx
lea ebx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100403e0
sub ecx, ebx
mov dword [esp + 0x88], 0
sar ecx, 1
xor eax, eax
push ecx
push edx
lea ecx, [esp + 0x80]
mov dword [esp + 0x94], 7
mov word [esp + 0x80], ax
call fcn.10013460
push dword [esp + 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [esp + 0x90]
call fcn.10075860
mov ebx, dword [edi + 0x98]
mov dword [esp + 0xa8], 3
call fcn.10039710
push 0xa
push str.tahoma.ttf
mov ebp, eax
call fcn.100980fb
mov edx, eax
lea ecx, [esp + 0x68]
call fcn.10002e00
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x34]
call fcn.100119d0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x34]
call fcn.10003010
push eax
lea ecx, [esp + 0x4c]
call fcn.100119d0
lea ecx, [esp + 0x30]
call fcn.10013400
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
call fcn.100031e0
cmp dword [eax + 0x14], 0x10
jb 0x100404a7
mov eax, dword [eax]
push ebp
lea ecx, [esp + 0x94]
push ecx
push eax
mov ecx, ebx
call fcn.10075e10
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x10], eax
cmp edx, 0x10
jb 0x100404f1
mov ecx, dword [esp + 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100404e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100406e5
push edx
push ecx
call fcn.1009a99b
add esp, 8
lea ecx, [esp + 0x48]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xf
mov byte [esp + 0x18], 0
call fcn.10013400
lea ecx, [esp + 0x60]
call fcn.10013400
mov ebx, dword [edi + 0x98]
push 0xc
push str.seguisym.ttf
mov byte [esp + 0xd4], 1
call fcn.100980fb
mov edx, eax
lea ecx, [esp + 0x38]
call fcn.10002e00
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x64]
call fcn.100119d0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x64]
call fcn.10003010
push eax
lea ecx, [esp + 0x4c]
call fcn.100119d0
lea ecx, [esp + 0x60]
call fcn.10013400
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
call fcn.100031e0
cmp dword [eax + 0x14], 0x10
jb 0x10040582
mov eax, dword [eax]
push 0x100efa98
lea ecx, [esp + 0x94]
push ecx
push eax
mov ecx, ebx
call fcn.10075e10
mov edx, dword [esp + 0x2c]
cmp edx, 0x10
jb 0x100405cd
mov ecx, dword [esp + 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100405c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100406ea
push edx
push ecx
call fcn.1009a99b
add esp, 8
lea ecx, [esp + 0x48]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xf
mov byte [esp + 0x18], 0
call fcn.10013400
lea ecx, [esp + 0x30]
call fcn.10013400
mov edi, dword [edi + 0x98]
mov byte [esp + 0xcc], 0
call fcn.10039710
push 0xb
push str.segoeui.ttf
mov ebx, eax
call fcn.100980fb
mov edx, eax
lea ecx, [esp + 0x38]
call fcn.10002e00
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x64]
call fcn.100119d0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x64]
call fcn.10003010
push eax
lea ecx, [esp + 0x4c]
call fcn.100119d0
lea ecx, [esp + 0x60]
call fcn.10013400
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
call fcn.100031e0
cmp dword [eax + 0x14], 0x10
jb 0x10040665
mov eax, dword [eax]
push ebx
lea ecx, [esp + 0x94]
push ecx
push eax
mov ecx, edi
call fcn.10075e10
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x14], eax
cmp edx, 0x10
jb 0x100406ab
mov ecx, dword [esp + 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100406a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100406ef
push edx
push ecx
call fcn.1009a99b
add esp, 8
lea ecx, [esp + 0x48]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xf
mov byte [esp + 0x18], 0
call fcn.10013400
lea ecx, [esp + 0x30]
call fcn.10013400
lea ecx, [esp + 0x78]
call fcn.10013400
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.100b8d8b
call fcn.100b8d8b
call fcn.100b8d8b
int3