Function at 0x41b1d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x24], ecx
xor ebx, ebx
mov word [ebp - 0x30], 0xa906
push edi
lea edx, [ebp - 0x30]
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x18]
mov word [ebp - 0x2a], 0x5f9f
mov word [ebp - 0x2d], 0x6ed3
mov byte [ebp - 0x2e], 0x47
mov byte [ebp - 0x2b], 0xfe
call fcn.0041b85a
push eax
lea ecx, [ebp - 0x14]
call fcn.0040f349
lea ecx, [ebp - 0x18]
call fcn.0040f38b
lea eax, [ebp - 8]
mov dword [ebp - 0x10], ebx
push eax
mov dword [ebp - 0x3b], 0xec4dc42e
lea edi, [ebp - 0x48]
mov dword [ebp - 0x37], 0x58b93382
mov dword [ebp - 0x42], 0x8e196d41
mov dword [ebp - 0x47], 0x3446d6e8
mov word [ebp - 0x3d], 0xb719
mov byte [ebp - 0x33], 0xa2
mov byte [ebp - 0x48], 0x77
mov byte [ebp - 0x43], 0xf6
mov byte [ebp - 0x3e], 0x70
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
mov bl, 0x4e
mov bh, 0x39
pop ecx
mov byte [ebp - 0xc], bl
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x18]
push dword [ebp - 0xc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 8]
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 - 0xc], bl
jne 0x41b263
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f349
lea ecx, [ebp - 8]
call fcn.0040f38b
lea eax, [ebp - 8]
mov word [ebp - 0x48], 0x4da1
xor ebx, ebx
mov dword [ebp - 0x45], 0xd9b04ed9
push eax
mov dword [ebp - 0xc], ebx
lea edi, [ebp - 0x4c]
mov dword [ebp - 0x3d], 0x79f342ac
mov dword [ebp - 0x41], 0xd84ee77
mov dword [ebp - 0x38], 0xea0052c2
mov word [ebp - 0x33], 0x5303
mov word [ebp - 0x4b], 0x86ef
mov byte [ebp - 0x31], 0x93
mov byte [ebp - 0x34], 0xb5
mov byte [ebp - 0x46], 0xad
mov byte [ebp - 0x4c], 0xe
mov byte [ebp - 0x39], 0x18
mov byte [ebp - 0x49], 0x34
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
pop ecx
push 0x46
pop ebx
mov byte [ebp - 1], 0x48
mov byte [ebp - 0x18], bl
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x1c]
push dword [ebp - 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 8]
call fcn.0040f349
lea ecx, [ebp - 0x1c]
call fcn.0040f38b
mov cl, byte [ebp - 1]
add cl, bl
inc edi
mov byte [ebp - 1], cl
mov al, byte [edi]
xor al, cl
mov bl, al
mov byte [ebp - 0x18], bl
jne 0x41b306
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040f349
lea ecx, [ebp - 8]
call fcn.0040f38b
push 0
pop ebx
test esi, esi
jns 0x41b421
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
push eax
call fcn.0040f539
call fcn.0041ae90
mov esi, eax
pop ecx
test esi, esi
jns 0x41b421
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x41b4ff
push dword [0x43c8c0]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x41b4ff
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 - 0x20]
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 - 8]
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 - 0x10]
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 - 0x1c]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x1c]
call fcn.0040f38b
lea ecx, [ebp - 0x18]
call fcn.0040f38b
lea ecx, [ebp - 8]
call fcn.0040f38b
lea ecx, [ebp - 0x20]
call fcn.0040f38b
lea ecx, [ebp - 0x24]
jmp 0x41b4f6
push ecx
push dword [ebp - 0x24]
mov edx, esi
call fcn.0041cfec
mov dword [ebp - 0x24], eax
pop ecx
pop ecx
test eax, eax
je 0x41b4fd
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x41b4ff
push dword [0x43c8c0]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x41b4ff
lea eax, [ebp - 0x2c]
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 - 0x28]
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 - 8]
mov ecx, esi
push eax
call dword [edi + 4]
push dword [ebp - 0x24]
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]
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.004019df
pop ecx
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 - 0x1c]
call fcn.0040f38b
lea ecx, [ebp - 0x18]
call fcn.0040f38b
lea ecx, [ebp - 8]
call fcn.0040f38b
lea ecx, [ebp - 0x28]
call fcn.0040f38b
lea ecx, [ebp - 0x2c]
call fcn.0040f38b
jmp 0x41b4ff
mov bl, 1
lea ecx, [ebp - 0xc]
call fcn.0040f38b
lea ecx, [ebp - 0x10]
call fcn.0040f38b
lea ecx, [ebp - 0x14]
call fcn.0040f38b
pop edi
pop esi
mov al, bl
pop ebx
leave
ret