Function at 0xe852d0
Capabilities:
Check for peb beingdebugged flag
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0xf131f0
mov eax, dword fs:[0]
push eax
sub esp, 0x728
mov eax, dword [0xf387a0]
xor eax, esp
mov dword [esp + 0x720], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0x73c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x74c]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ebx
mov ebp, 1
push eax
mov dword [esp + 0x748], ebp
call fcn.00e83a60
push 0x206
lea ecx, [esp + 0x132]
xor eax, eax
push ebx
push ecx
mov dword [esp + 0x30], ebp
mov word [esp + 0x138], ax
call fcn.00ec1460
add esp, 0xc
push ebp
push 0x23
lea edx, [esp + 0x134]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.LocalAppData
lea eax, [esp + 0x130]
push 0x104
push eax
call fcn.00eb9664
add esp, 0xc
mov edi, 7
xor ecx, ecx
lea eax, [esp + 0x12c]
mov dword [esp + 0x10c], edi
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xe853a5
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x130]
push edx
lea ecx, [esp + 0xfc]
call fcn.00e51cc0
push ebp
push 0xf24acc
lea esi, [esp + 0xfc]
mov byte [esp + 0x74c], 2
call fcn.00e5b3b0
call fcn.00e76970
lea esi, [esp + 0xd8]
call fcn.00e7da70
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x100]
mov byte [esp + 0x750], 3
call fcn.00e5b6f0
mov byte [esp + 0x744], 2
cmp dword [esp + 0xf0], 8
jb 0xe8542e
mov eax, dword [esp + 0xdc]
push eax
call fcn.00eb98f8
add esp, 4
push edi
push str.ck.txt
lea esi, [esp + 0xfc]
call fcn.00e5b3b0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
mov eax, esi
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00e51940
lea edi, [esp + 0x12c]
call fcn.00e532e0
add esp, 0x1c
push 0x3ff
lea ecx, [esp + 0x339]
push ebx
mov byte [esp + 0x74c], 4
push ecx
mov byte [esp + 0x340], 0
call fcn.00ec1460
add esp, 0xc
lea edx, [esp + 0x44]
push edx
call fcn.00e7c170
mov byte [esp + 0x744], 5
mov ecx, dword [esp + 0x114]
mov edi, 0x10
cmp dword [esp + 0x128], edi
jae 0xe854c3
lea ecx, [esp + 0x114]
push ebp
lea esi, [esp + 0x50]
call fcn.00e7d190
test eax, eax
jne 0xe854f2
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0x4c]
lea ecx, [esp + ecx + 0x44]
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0xe854eb
or eax, 4
push ebx
push eax
call fcn.00e5c710
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + 4]
push 0xa
lea ecx, [esp + ecx + 0x48]
call fcn.00e64210
movzx edx, al
push edx
lea eax, [esp + 0x338]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.00e7cfe0
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, dword [ecx + 8]
and al, 6
movsx edx, al
neg edx
sbb edx, edx
not edx
test ecx, edx
je 0xe857ae
lea eax, [esp + 0x334]
mov dword [esp + 0xf0], 0xf
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], 0
lea edx, [eax + 1]
jmp 0xe85560
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xe85560
sub eax, edx
push eax
lea eax, [esp + 0x338]
push eax
lea ecx, [esp + 0xe0]
call fcn.00e511b0
mov byte [esp + 0x744], 6
mov ecx, dword [esp + 0x760]
sub ecx, dword [esp + 0x75c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor ebp, ebp
add eax, edx
je 0xe85746
mov dword [esp + 0x14], ebx
cmp ebp, eax
jb 0xe855bc
call fcn.00ebb554
mov ecx, dword [esp + 0x75c]
mov edx, dword [esp + 0x14]
sub esp, 0x1c
lea eax, [edx + ecx]
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00e51940
lea edi, [esp + 0x44]
call fcn.00e532e0
mov ecx, dword [eax + 0x14]
add esp, 0x1c
cmp dword [eax + 0x18], 0x10
jb 0xe85606
mov eax, dword [eax + 4]
jmp 0xe85609
add eax, 4
push ecx
push eax
lea eax, [esp + 0xe0]
push eax
xor eax, eax
call fcn.00e52e00
cmp eax, 0xffffffff
mov edi, 0x10
setne bl
cmp dword [esp + 0x40], edi
jb 0xe85638
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00eb98f8
add esp, 4
test bl, bl
je 0xe85710
push 1
push 0xf2a624
lea edx, [esp + 0xe0]
push edx
xor eax, eax
call fcn.00e52e00
cmp eax, 0xffffffff
je 0xe85710
push eax
xor ecx, ecx
lea esi, [esp + 0x2c]
lea edx, [esp + 0xdc]
call fcn.00e7bf20
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x750], 7
call fcn.00e51680
mov byte [esp + 0x744], 6
cmp dword [esp + 0x40], edi
jb 0xe856a6
mov eax, dword [esp + 0x2c]
push eax
call fcn.00eb98f8
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push 0
lea edx, [esp + 0xfc]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.00e51680
sub esp, 0x18
mov byte [esp + 0x778], 8
mov ebx, dword [esp + 0x50]
mov eax, esp
mov dword [esp + 0x54], esp
push eax
mov ecx, ebx
call fcn.00e682f0
mov byte [esp + 0x778], 6
call fcn.00e7ba10
add esp, 0x34
test al, al
jne 0xe85710
lea ecx, [esp + 0xd8]
push ecx
call fcn.00e68560
mov ecx, dword [esp + 0x760]
sub ecx, dword [esp + 0x75c]
add dword [esp + 0x14], 0x1c
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
xor ebx, ebx
cmp ebp, eax
jb 0xe855bc
mov edi, 0x10
mov byte [esp + 0x744], 5
cmp dword [esp + 0xf0], edi
jb 0xe85767
mov edx, dword [esp + 0xdc]
push edx
call fcn.00eb98f8
add esp, 4
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 4]
push 0xa
lea ecx, [esp + ecx + 0x48]
call fcn.00e64210
movzx ecx, al
push ecx
lea edx, [esp + 0x338]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00e7cfe0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 8]
add ecx, eax
and dl, 6
movsx eax, dl
neg eax
sbb eax, eax
not eax
test ecx, eax
jne 0xe85537
lea esi, [esp + 0x4c]
call fcn.00e7d270
test eax, eax
jne 0xe857dc
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0x4c]
lea ecx, [esp + ecx + 0x44]
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0xe857d5
or eax, 4
push ebx
push eax
call fcn.00e5c710
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x9c]
mov dword [esp + 0x20], edx
mov dword [esp + ecx + 0x44], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
lea edx, [esp + 0x4c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x4c], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esp + 0x744], 0xa
cmp byte [esp + 0x94], 0
je 0xe8581f
mov esi, edx
call fcn.00e7d270
lea ecx, [esp + 0x4c]
mov byte [esp + 0x744], 9
call fcn.00e5efe0
mov byte [esp + 0x744], 4
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x9c]
mov dword [esp + ecx + 0x44], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
push edx
mov dword [esp + 0xa0], vtable.std::ios_base.0
call fcn.00eb5997
add esp, 4
cmp dword [esp + 0x128], edi
jb 0xe8587b
mov eax, dword [esp + 0x114]
push eax
call fcn.00eb98f8
add esp, 4
cmp dword [esp + 0x10c], 8
mov dword [esp + 0x128], 0xf
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], 0
jb 0xe858af
mov ecx, dword [esp + 0xf8]
push ecx
call fcn.00eb98f8
add esp, 4
mov esi, dword [esp + 0x75c]
xor edx, edx
mov dword [esp + 0x10c], 7
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], dx
cmp esi, ebx
je 0xe8591e
mov edi, dword [esp + 0x760]
cmp esi, edi
je 0xe85915
add esi, 0x18
cmp dword [esi], 8
jb 0xe858f5
mov eax, dword [esi - 0x14]
push eax
call fcn.00eb98f8
add esp, 4
xor ecx, ecx
mov dword [esi], 7
mov dword [esi - 4], ebx
mov word [esi - 0x14], cx
add esi, 0x1c
lea edx, [esi - 0x18]
cmp edx, edi
jne 0xe858e4
mov esi, dword [esp + 0x75c]
push esi
call fcn.00eb98f8
add esp, 4
mov eax, dword [esp + 0x750]
push eax
mov dword [esp + 0x760], ebx
mov dword [esp + 0x764], ebx
mov dword [esp + 0x768], ebx
call fcn.00eb98f8
mov eax, dword [esp + 0x20]
add esp, 4
mov ecx, dword [esp + 0x73c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x720]
xor ecx, esp
call fcn.00eb9637
add esp, 0x734
ret