Function at 0x10028da5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100638ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10028fa1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x10028f54
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x28], 0x45c
mov dword [ebp - 0x58], 0x1000953c
cmp dword [ebp - 0x28], 0x5d3
jle 0x10028ef0
and dword [ebp - 0x18], 0
jmp 0x10028e3f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x93a
jge 0x10028ee3
and dword [ebp - 0x1c], 0
jmp 0x10028e59
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x55c5
jge 0x10028ede
and dword [ebp - 0x20], 0
jmp 0x10028e6f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x15f1
jge 0x10028ed9
and dword [ebp - 0x24], 0
jmp 0x10028e85
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x74ef
jge 0x10028ed7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sar eax, cl
mov ecx, dword [ebp - 0x20]
xor ecx, dword [ebp - 0x24]
or eax, ecx
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
lea ecx, [ebp - 0x8c]
call fcn.1000d05e
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
call fcn.1001131e
push eax
call fcn.1004d84f
pop ecx
lea ecx, [ebp - 0x8c]
call fcn.10011314
jmp 0x10028e7e
jmp 0x10028e68
jmp 0x10028e52
jmp 0x10028e38
push 0x18c1
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
mov dword [eax], ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x394
jge 0x10028f2c
push dword [ebp - 0x58]
call fcn.1004d84f
pop ecx
jmp 0x10028f48
or dword [ebp - 4], 0xffffffff
jmp 0x10028f52
jmp 0x10028f9f
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10028f82
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jge 0x10028f9f
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x6c]
call fcn.10011607
mov dword [eax], 1
jmp 0x10028f77
jmp 0x10028fb8
push 0
push 0x785
push 0x119c
push 0x25dd
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret