Function at 0x404590
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x47354c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x1c], ebp
lea edi, [ebp + 8]
xor esi, esi
mov ecx, edi
mov dword [esp + 0x12c], esi
call fcn.00460ccf
lea ebx, [ebp + 0x1c]
mov byte [esp + 0x12c], 1
mov ecx, ebx
call fcn.00460ccf
lea ecx, [ebp + 0x30]
mov byte [esp + 0x12c], 2
call fcn.00460ccf
push 0xa
lea ecx, [ebp + 0x84]
mov byte [esp + 0x130], 3
call fcn.00460be2
push 0xa
lea ecx, [ebp + 0xa0]
mov byte [esp + 0x130], 4
call fcn.00460be2
push 0xa
lea ecx, [ebp + 0xbc]
mov byte [esp + 0x130], 5
call fcn.00460be2
mov eax, dword [0x48b464]
mov dword [ebp + 0xe4], eax
lea ecx, [ebp + 0xe8]
mov byte [esp + 0x12c], 7
call fcn.004683b2
lea ecx, [ebp + 0xf8]
mov byte [esp + 0x12c], 8
call fcn.004683b2
mov eax, 0x478804
mov dword [ebp + 0x10c], esi
mov dword [ebp + 0x108], eax
mov dword [ebp + 0x114], esi
mov dword [ebp + 0x110], eax
mov dword [ebp + 0x218], esi
mov dword [ebp + method.CFont.virtual_0], vtable.CFont.0
mov ecx, dword [0x48b464]
mov dword [ebp + 0x220], ecx
mov edx, dword [0x48b464]
mov dword [ebp + 0x224], edx
mov dword [ebp], 0x478c28
mov dword [ebp + 0x228], esi
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x68], esi
mov dword [ebp + 0x4c], esi
mov dword [ebp + 0xe0], esi
mov dword [ebp + 0x160], esi
mov dword [ebp + 0x70], esi
mov eax, 1
mov dword [ebp + 0x22c], esi
mov dword [ebp + 0x230], eax
mov dword [ebp + 0x44], esi
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x6c], esi
mov dword [ebp + 0x238], esi
mov dword [ebp + 0x234], 0xd
mov dword [ebp + 0x240], esi
mov dword [ebp + 0x198], eax
lea edx, [ebp + 0x130]
xor eax, eax
xor ecx, ecx
mov dword [edx], eax
mov dword [ebp + 0x120], eax
mov dword [ebp + 0x128], eax
mov dword [ebp + 0x174], eax
mov dword [edx + 4], ecx
mov dword [ebp + 0x17c], eax
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x7c], esi
mov dword [edx + 8], eax
mov dword [ebp + 0x23c], esi
mov dword [ebp + 0x50], 0xc
mov dword [ebp + 0x74], 0x1a
mov dword [edx + 0xc], eax
lea edx, [ebp + 0x140]
mov dword [ebp + 0xdc], esi
mov dword [ebp + 0xd8], esi
mov dword [edx], eax
mov dword [ebp + 0x80], esi
mov dword [ebp + 0x184], 0xd7ff
mov dword [ebp + 0x188], 0x4080ff
mov dword [edx + 4], ecx
mov dword [ebp + 0x18c], esi
mov dword [ebp + 0x190], 0xffffff
mov dword [ebp + 0x124], esi
mov dword [edx + 8], eax
mov dword [ebp + 0x12c], esi
mov dword [ebp + 0x178], esi
mov dword [ebp + 0x180], esi
mov dword [edx + 0xc], eax
lea edx, [ebp + 0x150]
mov dword [ebp + 0x21c], esi
mov dword [esp + 0x14], esi
mov dword [edx], eax
mov dword [esp + 0x10], vtable.CFont.0
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
lea edx, [ebp + 0x164]
mov dword [ebp + 0x164], eax
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
lea eax, [esp + 0x18]
mov byte [esp + 0x12c], 0xf
push eax
call fcn.00439170
add esp, 4
mov eax, dword [eax]
mov byte [esp + 0x12c], 0x10
push eax
push 0x10
push esi
push esi
push esi
push 1
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x10
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x14]
call fcn.00468f0e
lea ecx, [esp + 0x18]
mov byte [esp + 0x12c], 0xf
call fcn.0046543a
mov edx, dword [esp + 0x14]
lea ecx, [ebp + 0x19c]
push ecx
push 0x3c
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0x10]
call fcn.00468f65
lea eax, [esp + 0x18]
push eax
call fcn.00439170
add esp, 4
mov eax, dword [eax]
mov byte [esp + 0x12c], 0x11
push eax
push 0x10
push esi
push esi
push esi
push 1
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x14
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x14]
call fcn.00468f0e
lea ecx, [esp + 0x18]
mov byte [esp + 0x12c], 0xf
call fcn.0046543a
mov edx, dword [esp + 0x14]
lea ecx, [ebp + 0x1d8]
push ecx
push 0x3c
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0x10]
call fcn.00468f65
push 0xffffffffffffffff
push esi
mov ecx, edi
mov dword [ebp + 0x58], esi
call fcn.00460d62
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.00460d62
push 0xffffffffffffffff
push esi
lea ecx, [ebp + 0x30]
call fcn.00460d62
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x20]
mov dword [ebp + 4], esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
mov dword [ebp + 0x48], esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x1f], 0x5c
je 0x404934
mov edi, 0x48920c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.wcm_undo.tmp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x48f4bc
call fcn.004655c3
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], 0x12
call fcn.00468f65
mov ecx, dword [esp + 0x124]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x120
ret