Function at 0x100278e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004cd68
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x130], al
push 0x30
lea esi, [ebp - 0x130]
mov dword [ebp - 4], 1
call fcn.10027b70
push 0x104
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [ebp - 0x114]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10027960
cmp dword [ebp - 0x11c], 0x10
mov cx, word [0x1005343c]
mov eax, dword [ebp - 0x130]
mov word [edi], cx
jae 0x10027987
lea eax, [ebp - 0x130]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10027990
lea edi, [ebp - 0x114]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100279a0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x114]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100279c1
sub eax, edx
push eax
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x130]
call fcn.100028f0
push 0
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
push 0x10053510
mov ecx, ebx
mov byte [ebx], 0
call fcn.100028f0
lea eax, [ebp - 0x1e8]
push eax
mov dword [ebp - 0x134], 1
call fcn.10029b00
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x130]
mov edi, 0x10
cmp dword [ebp - 0x11c], edi
jae 0x10027a2f
lea ecx, [ebp - 0x130]
push 1
lea esi, [ebp - 0x1d8]
call fcn.10005d30
test eax, eax
jne 0x10027a65
mov ecx, dword [ebp - 0x1e8]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0x1dc]
lea ecx, [ebp + ecx - 0x1e8]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x10027a86
or eax, 4
jmp 0x10027a86
mov edx, dword [ebp - 0x1e8]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0x1b0]
lea ecx, [ebp + ecx - 0x1e8]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push 0
push eax
call fcn.10007a70
cmp dword [ebp - 0x184], 0
je 0x10027ac3
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [eax + 4]
push 0xa
lea ecx, [ebp + ecx - 0x1e8]
call fcn.10006470
movzx ecx, al
push ecx
lea edx, [ebp - 0x1e8]
push edx
mov ecx, ebx
call fcn.1000c6c0
add esp, 8
lea ecx, [ebp - 0x1d8]
call fcn.10005dd0
test eax, eax
jne 0x10027afd
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x1dc]
lea ecx, [ebp + ecx - 0x1e8]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x10027af5
or eax, 4
push 0
push eax
call fcn.10007a70
cmp dword [ebx + 0x10], 0
jne 0x10027b11
push 2
push 0x100536a8
mov ecx, ebx
call fcn.100028f0
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 1
call fcn.10004ed0
lea ecx, [ebp - 0x180]
push ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.100342ad
add esp, 4
cmp dword [ebp - 0x11c], edi
jb 0x10027b50
mov edx, dword [ebp - 0x130]
push edx
call fcn.10032d10
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10034caa
mov esp, ebp
pop ebp
ret