Function at 0x41b51e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 6
pop eax
mov esi, edx
mov dword [ebp - 0x24], ecx
xor ebx, ebx
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x2b], 0x6ed347a9
mov word [ebp - 0x26], 0x5f9f
mov byte [ebp - 0x27], 0xfe
call fcn.0041b85a
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f349
lea ecx, [ebp - 0x18]
call fcn.0040f38b
lea eax, [ebp - 4]
mov dword [ebp - 0xc], ebx
push eax
mov dword [ebp - 0x3f], 0x413589ce
lea edi, [ebp - 0x44]
mov dword [ebp - 0x43], 0x7c8e9e20
mov dword [ebp - 0x35], 0x40d12bba
mov dword [ebp - 0x3a], 0x69f75e38
mov byte [ebp - 0x31], 0x8a
mov byte [ebp - 0x44], 0x4f
mov byte [ebp - 0x36], 0x14
mov byte [ebp - 0x3b], 0xc6
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
mov bl, 0x4e
mov bh, 1
pop ecx
mov byte [ebp - 8], bl
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x18]
push dword [ebp - 8]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 4]
call fcn.0040f349
lea ecx, [ebp - 0x18]
call fcn.0040f38b
add bh, bl
inc edi
mov bl, byte [edi]
xor bl, bh
mov byte [ebp - 8], bl
jne 0x41b5ae
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040f349
lea ecx, [ebp - 4]
call fcn.0040f38b
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x31], 0xda9aba7e
lea edi, [ebp - 0x48]
mov word [ebp - 0x37], 0xa130
mov dword [ebp - 0x41], 0x86eb01f
mov dword [ebp - 0x3c], 0x1975c253
mov word [ebp - 0x34], 0xcb19
mov byte [ebp - 0x35], 9
mov dword [ebp - 0x46], 0x83e77ac4
mov byte [ebp - 0x32], 0xa5
mov byte [ebp - 0x42], 0x6b
mov byte [ebp - 0x3d], 0xbd
mov word [ebp - 0x48], 0x2d40
mov byte [ebp - 0x38], 0x88
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
mov bl, 0x46
pop ecx
mov byte [ebp - 0x18], bl
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x20]
push dword [ebp - 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 4]
call fcn.0040f349
lea ecx, [ebp - 0x20]
call fcn.0040f38b
mov eax, dword [ebp - 0x14]
add al, bl
inc edi
mov dword [ebp - 0x14], eax
mov bl, byte [edi]
xor bl, al
mov byte [ebp - 0x18], bl
jne 0x41b647
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
call fcn.0040f349
lea ecx, [ebp - 4]
call fcn.0040f38b
test esi, esi
jns 0x41b75d
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.0040f539
call fcn.0041ae90
mov esi, eax
pop ecx
test esi, esi
jns 0x41b75d
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x41b83a
push dword [0x43c8c0]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x41b83a
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 4
lea edx, [ebp - 4]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43c8c0]
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call dword [edi + 4]
mov ecx, dword [eax]
push ecx
mov eax, dword [ecx + 4]
mov esi, dword [eax + 8]
lea eax, [ebp - 0xc]
add esi, ecx
mov ecx, esp
push eax
call fcn.0040f539
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 0x1c]
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x20]
call fcn.0040f38b
lea ecx, [ebp - 0x18]
call fcn.0040f38b
lea ecx, [ebp - 0x14]
call fcn.0040f38b
lea ecx, [ebp - 4]
call fcn.0040f38b
lea ecx, [ebp - 0x24]
jmp 0x41b82f
push dword [ebp - 0x24]
imul eax, esi, 0x28
call dword [eax + 0x43b6c8]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x41b836
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x41b83a
push dword [0x43c8c0]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x41b83a
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.lib.syslog.dll_public:_static_class_Ref_class_SysLogStream____cdecl_SysLogStream::stdOutPrinter_void_]
pop ecx
push 4
lea edx, [ebp - 4]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43c8c0]
mov esi, dword [eax]
mov edi, dword [esi]
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call dword [edi + 4]
push ebx
mov ecx, dword [eax]
push ecx
mov eax, dword [ecx + 4]
mov esi, dword [eax + 8]
lea eax, [ebp - 8]
add esi, ecx
mov ecx, esp
push eax
call fcn.0040f539
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 0x1c]
mov edx, eax
lea ecx, [ebp - 0x20]
call fcn.004019df
pop ecx
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x24]
call fcn.0040f38b
lea ecx, [ebp - 0x20]
call fcn.0040f38b
lea ecx, [ebp - 0x18]
call fcn.0040f38b
lea ecx, [ebp - 0x14]
call fcn.0040f38b
lea ecx, [ebp - 4]
call fcn.0040f38b
lea ecx, [ebp - 0x28]
call fcn.0040f38b
jmp 0x41b83a
mov byte [ebp - 0x1c], 1
lea ecx, [ebp - 8]
call fcn.0040f38b
lea ecx, [ebp - 0xc]
call fcn.0040f38b
lea ecx, [ebp - 0x10]
call fcn.0040f38b
mov al, byte [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret