Function at 0x42c7be
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov dword [ebp - 0x20], edx
xor ebx, ebx
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x2c]
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x27], 0x29b4
mov dword [ebp - 0x2c], 0x850d7fcc
mov byte [ebp - 0x28], 0x10
mov byte [ebp - 0x25], 0xa9
call fcn.00420805
push eax
lea ecx, [ebp - 0x18]
call fcn.00413128
lea ecx, [ebp - 0x14]
call fcn.00401cfa
mov edi, dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
lea eax, [ebp - 8]
push 0x46
mov dword [ebp - 0xc], ebx
lea esi, [ebp - 0x44]
pop ebx
push eax
mov dword [ebp - 0x35], 0xb51c6ecf
mov dword [ebp - 0x3d], 0xf20c9bef
mov dword [ebp - 0x42], 0x74bac858
mov word [ebp - 0x44], 0x66f5
mov word [ebp - 0x38], 0xa035
mov word [ebp - 0x30], 0x24da
mov byte [ebp - 0x3e], 0xcf
mov byte [ebp - 0x36], bl
mov byte [ebp - 0x39], 0x9b
mov byte [ebp - 0x31], 0x3f
call edi
mov bl, 0x4e
mov bh, 0xbb
pop ecx
mov byte [ebp - 0x10], bl
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x14]
push dword [ebp - 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 8]
call fcn.00413128
lea ecx, [ebp - 0x14]
call fcn.00401cfa
add bh, bl
inc esi
mov bl, byte [esi]
xor bl, bh
mov byte [ebp - 0x10], bl
jne 0x42c856
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.00413128
lea ecx, [ebp - 8]
call fcn.00401cfa
and dword [ebp - 0x14], 0
lea eax, [ebp - 8]
push 0x46
pop ebx
push eax
mov word [ebp - 0x47], 0x278c
lea esi, [ebp - 0x48]
mov dword [ebp - 0x37], 0x61b91890
mov dword [ebp - 0x30], 0xf2f2a216
mov dword [ebp - 0x43], 0xef78ccec
mov dword [ebp - 0x3f], 0x8f1666cf
mov dword [ebp - 0x3b], 0xe14daa3b
mov word [ebp - 0x32], 0x4de3
mov byte [ebp - 0x44], bl
mov byte [ebp - 0x48], 0xe1
mov byte [ebp - 0x33], 0x31
mov byte [ebp - 0x45], 0xdb
call edi
pop ecx
mov byte [ebp - 1], 0xa7
mov byte [ebp - 0x10], bl
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x1c]
push dword [ebp - 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 8]
call fcn.00413128
lea ecx, [ebp - 0x1c]
call fcn.00401cfa
mov cl, byte [ebp - 1]
add cl, bl
inc esi
mov byte [ebp - 1], cl
mov al, byte [esi]
xor al, cl
mov bl, al
mov byte [ebp - 0x10], bl
jne 0x42c8ec
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00413128
lea ecx, [ebp - 8]
call fcn.00401cfa
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
test eax, eax
jns 0x42ca20
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x42c95e
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0042c4a5
pop ecx
test eax, eax
jns 0x42ca20
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x42cb0e
push dword [0x46c034]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x42cb0e
lea eax, [ebp - 8]
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 - 0x10]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x46c034]
mov ebx, dword [eax]
mov eax, dword [ebx]
add eax, 4
mov dword [ebp - 0x20], eax
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, ebx
push eax
mov eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, dword [eax]
push ecx
mov eax, dword [ecx + 4]
mov ebx, dword [eax + 8]
lea eax, [ebp - 0xc]
add ebx, ecx
mov ecx, esp
push eax
call fcn.00401d12
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 4]
lea ecx, [ebx + 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.00401cfa
lea ecx, [ebp - 0x18]
call fcn.00401cfa
lea ecx, [ebp - 0x14]
call fcn.00401cfa
lea ecx, [ebp - 0x10]
call fcn.00401cfa
lea ecx, [ebp - 8]
jmp 0x42cb09
push ecx
push dword [ebp - 0x24]
mov edx, eax
call fcn.0042e6b9
mov dword [ebp - 0x20], eax
pop ecx
pop ecx
test eax, eax
je 0x42cb12
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x42cb0e
push dword [0x46c034]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x42cb0e
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 - 8]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x46c034]
mov ebx, dword [eax]
mov eax, dword [ebx]
add eax, 4
mov dword [ebp - 0x24], eax
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
mov eax, dword [ebp - 0x24]
call dword [eax]
push dword [ebp - 0x20]
push ecx
mov ebx, dword [eax]
mov eax, esp
mov dword [eax], edi
test edi, edi
je 0x42cab4
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [eax + 8]
add ecx, 4
add ecx, ebx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00403c1f
pop ecx
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x1c]
call fcn.00401cfa
lea ecx, [ebp - 0x18]
call fcn.00401cfa
lea ecx, [ebp - 0x14]
call fcn.00401cfa
lea ecx, [ebp - 0x10]
call fcn.00401cfa
lea ecx, [ebp - 8]
call fcn.00401cfa
lea ecx, [ebp - 0x28]
call fcn.00401cfa
xor ebx, ebx
jmp 0x42cb14
mov bl, 1
test edi, edi
je 0x42cb28
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, edi
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x42cb3f
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 8]
test esi, esi
je 0x42cb53
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 4]
add ecx, 4
add ecx, esi
mov edx, dword [ecx]
call dword [edx + 8]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret