Function at 0x1002eba0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088a40
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100ac06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x82a
push 0x100ae020
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, dword [0x100aca04]
movzx ecx, word [0x100ac9bc]
add edi, 3
add edi, eax
mov dword [0x100ac9b8], eax
mov dword [0x100ac9b0], edi
call fcn.1002f000
mov esi, dword [0x100ac9b4]
mov edx, eax
mov eax, dword [0x100aca00]
mov dword [0x100ac9b8], edx
cmp eax, esi
jb 0x1002ec3e
mov ecx, 0x40
sub ecx, esi
sub ecx, edx
add eax, ecx
mov dword [0x100aca00], eax
mov eax, dword [0x100aca14]
imul eax, edx
mov dword [0x100aca14], eax
imul eax, esi, 0xb284
sub edx, eax
mov dword [0x100ac9b4], edx
movzx ecx, word [0x100ac9bc]
call fcn.1002f000
mov dword [0x100ac9b8], eax
lea ecx, [ebp - 0x28]
add eax, edi
add dword [0x100aca04], eax
push str.Wide_sug
call fcn.100059a0
mov dword [ebp - 4], 0
mov ecx, dword [0x100aca04]
mov eax, dword [0x100ac9b4]
add ecx, 0x3d
add eax, ecx
mov ecx, dword [0x100aca00]
mov dword [0x100ac9b8], eax
call fcn.1002f000
mov edi, 0x100ae020
mov dword [0x100ac9b4], eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1002ec98
mov edx, dword [ebp - 0x14]
sub edi, ecx
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub eax, ecx
push edi
push 0x100ae020
cmp edi, eax
ja 0x1002ecd6
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + edi]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.10012630
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x1002ece6
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push edi
call fcn.1000c400
movzx edi, byte [0x100ac9be]
mov ecx, 2
mov edx, dword [0x100aca04]
mov dword [0x100ba510], ecx
nop
cmp edi, dword [0x100ac9e0]
je 0x1002ed27
mov eax, dword [ecx*4 + 0x100ac9c0]
imul eax, edx
mov edx, eax
lea esi, [edi + eax*4]
mov dword [0x100aca00], esi
cmp eax, dword [0x100ac9dc]
je 0x1002ed33
jmp 0x1002ed2d
mov esi, dword [0x100aca00]
inc ecx
cmp ecx, 0xc
jl 0x1002ed00
mov edi, dword [0x100ac9b4]
mov dword [0x100ba510], ecx
mov ecx, dword [0x100ac9b0]
mov dword [0x100aca04], edx
cmp edx, ecx
jb 0x1002ed7d
mov eax, 0x40
sub eax, edi
sub eax, ecx
add edx, eax
mov eax, dword [0x100ac9c4]
imul eax, edi
mov dword [0x100aca04], edx
mov dword [0x100ac9c4], eax
imul eax, ecx, 0xb284
mov ecx, edi
sub ecx, eax
mov dword [0x100ac9b0], ecx
cmp dword [0x100aca5c], 0x2ab
jne 0x1002ed9c
mov eax, dword [0x100aca44]
sub eax, edi
imul edi, eax, 0xb283
mov dword [0x100ac9b4], edi
cmp dword [0x100aca0c], 0x2ab
jne 0x1002edba
mov eax, dword [0x100ac9f4]
sub eax, edx
imul eax, eax, 0xb283
mov dword [0x100aca04], eax
cmp esi, edi
jb 0x1002edf0
mov ecx, dword [0x100ac9b8]
mov eax, 0x40
sub eax, edi
sub eax, ecx
add esi, eax
mov eax, dword [0x100aca14]
imul eax, ecx
mov dword [0x100aca00], esi
mov dword [0x100aca14], eax
imul eax, edi, 0xb284
sub ecx, eax
mov dword [0x100ac9b4], ecx
call fcn.100025b0
movzx edi, byte [0x100ac9be]
mov edx, eax
mov esi, dword [0x100aca04]
mov ecx, 2
mov dword [0x100ac9b8], edx
mov dword [0x100ba510], ecx
cmp edi, dword [0x100ac9e0]
je 0x1002ee34
mov eax, dword [ecx*4 + 0x100ac9c0]
imul eax, edx
mov edx, eax
lea esi, [edi + eax*4]
cmp eax, dword [0x100ac9dc]
je 0x1002ee3a
inc ecx
cmp ecx, 0xc
jl 0x1002ee15
cmp dword [0x100aca0c], 0x2ab
mov dword [0x100ba510], ecx
mov dword [0x100ac9b8], edx
mov dword [0x100aca04], esi
jne 0x1002ee70
mov eax, dword [0x100ac9f4]
sub eax, dword [0x100ac9b0]
imul eax, eax, 0xb283
mov dword [0x100ac9b0], eax
jmp 0x1002ee75
mov eax, dword [0x100ac9b0]
mov edx, dword [0x100ac9b4]
cmp dword [0x100aca04], edx
ja 0x1002eeaa
mov dword [0x100ac9c0], eax
mov ecx, edx
imul eax, eax, 0xb284
sub ecx, eax
lea eax, [edx + edx]
mov dword [0x100ac9b0], ecx
mov ecx, 0xfffffff3
sub ecx, eax
add esi, ecx
mov dword [0x100aca04], esi
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1002eeda
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002eed0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002eefc
push edx
push ecx
call fcn.100108fc
add esp, 8
mov eax, 1
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.100108b6
mov esp, ebp
pop ebp
ret 0xc
call fcn.1001adea
int3