Function at 0x10012de0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get file size
Read file on windows

Disassembly:
sub esp, 0x14c
push ebx
push ebp
mov dword [esp + 0x48], ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x1c]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x24], 0x6b
mov byte [esp + 0x25], bl
mov byte [esp + 0x26], 0x72
mov byte [esp + 0x27], 0x6e
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], 0x6c
mov byte [esp + 0x2a], 0x33
mov byte [esp + 0x2b], 0x32
mov byte [esp + 0x2c], 0x2e
mov byte [esp + 0x2d], 0x64
mov byte [esp + 0x2e], 0x6c
mov byte [esp + 0x2f], 0x6c
mov byte [esp + 0x30], 0
mov byte [esp + 0x18], 0x43
mov byte [esp + 0x19], 0x72
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], 0x61
mov byte [esp + 0x1c], 0x74
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], 0x46
mov byte [esp + 0x1f], 0x69
mov byte [esp + 0x20], 0x6c
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], 0x41
mov byte [esp + 0x23], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ebp, eax
mov al, 0x79
mov byte [esp + 0x40], al
mov byte [esp + 0x4d], al
lea edx, [esp + 0x3c]
lea eax, [esp + 0x2c]
push edx
push eax
mov byte [esp + 0x34], 0x6b
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x72
mov byte [esp + 0x37], 0x6e
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], 0x6c
mov byte [esp + 0x3a], 0x33
mov byte [esp + 0x3b], 0x32
mov byte [esp + 0x3c], 0x2e
mov byte [esp + 0x3d], 0x64
mov byte [esp + 0x3e], 0x6c
mov byte [esp + 0x3f], 0x6c
mov byte [esp + 0x40], 0
mov byte [esp + 0x44], 0x47
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], 0x74
mov byte [esp + 0x47], 0x53
mov byte [esp + 0x49], 0x73
mov byte [esp + 0x4a], 0x74
mov byte [esp + 0x4b], bl
mov byte [esp + 0x4c], 0x6d
mov byte [esp + 0x4d], 0x44
mov byte [esp + 0x4e], 0x69
mov byte [esp + 0x4f], 0x72
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], 0x63
mov byte [esp + 0x52], 0x74
mov byte [esp + 0x53], 0x6f
mov byte [esp + 0x54], 0x72
mov byte [esp + 0x56], 0x41
mov byte [esp + 0x57], 0
call esi
push eax
call edi
lea ecx, [esp + 0x58]
xor ebx, ebx
push 0x104
push ecx
mov dword [esp + 0x5c], ebx
call eax
lea edx, [esp + 0x58]
push str._syslog.dat
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
push 0x80
push 3
push ebx
push 1
lea eax, [esp + 0x6c]
push 0x80000000
push eax
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x10012fde
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
jne 0x10012f99
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14c
ret
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea ecx, [esp + 0x54]
mov edi, eax
push 0
push ecx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
test ebx, ebx
jbe 0x10012fc8
mov cl, byte [eax + edi]
xor cl, 0x62
mov byte [eax + edi], cl
inc eax
cmp eax, ebx
jb 0x10012fba
mov ecx, dword [esp + 0x50]
push ebx
push edi
call fcn.10012d80
push edi
mov ebx, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x14c
ret