Function at 0x100025b0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b98d6
mov eax, dword fs:[0]
push eax
sub esp, 0xa44
mov eax, dword [0x100fc03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0xa50]
mov esi, dword [ebp + 0xc]
call fcn.100061a0
lea ecx, [ebp - 0xa50]
mov dword [ebp - 4], 0
call fcn.10006ac0
test al, al
je 0x100028c8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1008bb90
add esp, 0xc
mov dword [ebp - 0xa4c], 0
lea eax, [ebp - 0xa4c]
push eax
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x10002642
xor bl, bl
jmp 0x1000269f
lea eax, [ebp - 0x218]
mov bl, 1
push eax
push dword [ebp - 0xa4c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x1000265f
xor bl, bl
jmp 0x1000268e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002670
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.10002eb0
mov eax, dword [ebp - 0xa4c]
test eax, eax
je 0x1000269f
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 0xa50]
call fcn.10006dc0
test bl, bl
je 0x100028c8
push 0xd
push 0x100db580
mov ecx, edi
call fcn.10002ff0
push 0x800
lea eax, [ebp - 0xa18]
push 0
push eax
call fcn.1008bb90
add esp, 0xc
lea ecx, [ebp - 0xa30]
push edi
call fcn.10002dc0
push 0xb
push 0x100db59c
lea ecx, [ebp - 0xa30]
mov byte [ebp - 4], 1
call fcn.10002ff0
cmp dword [ebp - 0xa1c], 8
lea eax, [ebp - 0xa30]
cmovae eax, dword [ebp - 0xa30]
push eax
push 0x3ff
lea eax, [ebp - 0xa18]
push eax
push 0x100db5b4
push 0x100db5bc
push 0x100db5cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x100db5b4
lea eax, [ebp - 0xa18]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10002766
test dx, dx
je 0x10002762
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10002766
add eax, 4
add ecx, 4
test dx, dx
jne 0x10002740
xor eax, eax
jmp 0x1000276b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10002776
xor bl, bl
jmp 0x1000286d
lea ecx, [ebp - 0xa18]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002780
sub ecx, edx
lea eax, [ebp - 0xa18]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10002eb0
push 0xd
push 0x100db5e4
mov ecx, edi
call fcn.10002ff0
cmp dword [esi + 0x14], 8
mov ecx, eax
mov eax, esi
jb 0x100027b8
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.10002ff0
push edi
lea eax, [ebp - 0xa48]
push str.Appdata_Path:
push eax
call fcn.10003140
mov edx, dword [ebp - 0xa34]
add esp, 0xc
cmp edx, 8
jb 0x10002816
mov ecx, dword [ebp - 0xa48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000280c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100028f5
push edx
push ecx
call fcn.10088fde
add esp, 8
push esi
lea eax, [ebp - 0xa48]
push str.Appdata_Version:
push eax
call fcn.10003140
mov edx, dword [ebp - 0xa34]
add esp, 0xc
cmp edx, 8
jb 0x1000286b
mov ecx, dword [ebp - 0xa48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10002861
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100028fa
push edx
push ecx
call fcn.10088fde
add esp, 8
mov bl, 1
mov edx, dword [ebp - 0xa1c]
cmp edx, 8
jb 0x100028a9
mov ecx, dword [ebp - 0xa30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000289f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100028ff
push edx
push ecx
call fcn.10088fde
add esp, 8
xor eax, eax
mov dword [ebp - 0xa20], 0
mov dword [ebp - 0xa1c], 7
mov word [ebp - 0xa30], ax
jmp 0x100028ca
xor bl, bl
lea ecx, [ebp - 0xa50]
call fcn.10006220
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10088f98
mov esp, ebp
pop ebp
ret 8
call fcn.100907c4
call fcn.100907c4
call fcn.100907c4
int3