Function at 0x42d791
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov dword [ebp - 0x18], edx
xor ebx, ebx
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x28]
push edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x27], 0xe568d854
mov byte [ebp - 0x28], 0xb3
mov word [ebp - 0x22], 0xd412
mov byte [ebp - 0x23], 0x6b
call fcn.0042de3e
push eax
lea ecx, [ebp - 0x10]
call fcn.00413c02
lea ecx, [ebp - 0xc]
call fcn.00401dc6
lea eax, [ebp - 4]
mov dword [ebp - 8], ebx
push eax
mov word [ebp - 0x2c], 0x4c82
lea esi, [ebp - 0x40]
mov dword [ebp - 0x31], 0x6df456a7
mov byte [ebp - 0x2d], 0x17
mov word [ebp - 0x39], 0x63d7
mov dword [ebp - 0x3e], 0x2c429080
mov dword [ebp - 0x36], 0x98ed73da
mov word [ebp - 0x40], 0x5ead
mov byte [ebp - 0x3a], 0xf7
mov byte [ebp - 0x32], 0x2e
mov byte [ebp - 0x37], 0xe4
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
mov bl, 0x4e
mov bh, 0xe3
pop ecx
mov byte [ebp - 0xc], bl
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x14]
push dword [ebp - 0xc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 4]
call fcn.00413c02
lea ecx, [ebp - 0x14]
call fcn.00401dc6
add bh, bl
inc esi
mov bl, byte [esi]
xor bl, bh
mov byte [ebp - 0xc], bl
jne 0x42d825
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
call fcn.00413c02
lea ecx, [ebp - 4]
call fcn.00401dc6
xor ebx, ebx
mov dword [ebp - 0x2c], 0x16d68632
lea edx, [ebp - 0x44]
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x42], 0xc822b71b
mov dword [ebp - 0x33], 0x4565fc74
mov dword [ebp - 0x3a], 0x763f25a
mov word [ebp - 0x3d], 0xcb44
mov byte [ebp - 0x3e], 0x30
mov word [ebp - 0x44], 0x708d
mov word [ebp - 0x2f], 0x87d5
mov word [ebp - 0x36], 0x318e
mov byte [ebp - 0x34], 0xdd
mov byte [ebp - 0x3b], 0x33
mov byte [ebp - 0x2d], 0x69
call fcn.0042187d
push eax
lea ecx, [ebp - 0xc]
call fcn.00413c02
lea ecx, [ebp - 0x14]
call fcn.00401dc6
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
test eax, eax
jns 0x42d9b6
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x42d8f4
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.0042d44f
pop ecx
test eax, eax
jns 0x42d9b6
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x42daaa
push dword [0x46d074]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x42daaa
lea eax, [ebp - 0x1c]
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 [0x46d074]
mov ebx, dword [eax]
mov eax, dword [ebx]
add eax, 4
mov dword [ebp - 0x18], eax
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [ebp - 0xc]
mov ecx, ebx
push eax
mov eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, dword [eax]
push ecx
mov eax, dword [ecx + 4]
mov ebx, dword [eax + 8]
lea eax, [ebp - 8]
add ebx, ecx
mov ecx, esp
push eax
call fcn.00401dde
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
call dword [eax + 0x1c]
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x14]
call fcn.00401dc6
lea ecx, [ebp - 0x10]
call fcn.00401dc6
lea ecx, [ebp - 0xc]
call fcn.00401dc6
lea ecx, [ebp - 4]
call fcn.00401dc6
lea ecx, [ebp - 0x1c]
jmp 0x42da9f
push ecx
push dword [ebp - 0x1c]
mov edx, eax
call fcn.0042f658
mov dword [ebp - 0x18], eax
pop ecx
pop ecx
test eax, eax
je 0x42daa8
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x42daaa
push dword [0x46d074]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x42daaa
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 [0x46d074]
mov ebx, dword [eax]
mov eax, dword [ebx]
add eax, 4
mov dword [ebp - 0x1c], eax
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::id_unsigned_int_]
pop ecx
push eax
lea eax, [ebp - 4]
mov ecx, ebx
push eax
mov eax, dword [ebp - 0x1c]
call dword [eax]
push dword [ebp - 0x18]
push ecx
mov ebx, dword [eax]
mov eax, esp
mov dword [eax], edi
test edi, edi
je 0x42da4a
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 - 0xc]
add ebx, 4
push edx
mov ecx, dword [eax + 8]
add ecx, ebx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.00403d2f
pop ecx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x14]
call fcn.00401dc6
lea ecx, [ebp - 0x10]
call fcn.00401dc6
lea ecx, [ebp - 0xc]
call fcn.00401dc6
lea ecx, [ebp - 4]
call fcn.00401dc6
lea ecx, [ebp - 0x20]
call fcn.00401dc6
lea ecx, [ebp - 0x24]
call fcn.00401dc6
xor ebx, ebx
jmp 0x42daaa
mov bl, 1
test edi, edi
je 0x42dabe
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 - 8]
test eax, eax
je 0x42dad5
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 0x42dae9
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