Function at 0x42b810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
mov eax, ecx
mov esi, edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
push edi
test eax, eax
je 0x42be81
test esi, esi
je 0x42be81
xor ebx, ebx
mov dword [ebp - 0x67], 0xe1399810
lea edx, [ebp - 0x78]
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x44]
mov word [ebp - 0x60], 0xeb5f
mov word [ebp - 0x74], 0x6cc6
mov dword [ebp - 0x58], 0xf0412ded
mov word [ebp - 0x77], 0xa70c
mov dword [ebp - 0x52], 0x22d045b7
mov byte [ebp - 0x78], 0x61
mov dword [ebp - 0x6b], 0x61cd2abb
mov word [ebp - 0x5d], 0x9be5
mov dword [ebp - 0x72], 0x4f6ff84c
mov word [ebp - 0x6e], 0x96e6
mov byte [ebp - 0x5e], 0x7c
mov word [ebp - 0x5a], 0x44cc
mov byte [ebp - 0x5b], 0x3a
mov word [ebp - 0x62], 0xcf36
mov byte [ebp - 0x63], 0x82
mov word [ebp - 0x54], 0x1660
mov byte [ebp - 0x75], 0x5b
mov byte [ebp - 0x6c], 0xf
call fcn.0042ad64
push eax
lea ecx, [ebp - 0x30]
call fcn.00413128
lea ecx, [ebp - 0x44]
call fcn.00401cfa
lea edx, [ebp - 0x68]
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x44]
mov word [ebp - 0x60], 0x409e
mov word [ebp - 0x63], 0x7d9d
mov dword [ebp - 0x55], 0x2e811c6b
mov dword [ebp - 0x5a], 0xa565d151
mov word [ebp - 0x50], 0xaca
mov dword [ebp - 0x68], 0x44d63f5e
mov dword [ebp - 0x5e], 0xc4308be5
mov byte [ebp - 0x56], 0xc7
mov byte [ebp - 0x64], 0xf1
mov byte [ebp - 0x51], 0x8a
mov byte [ebp - 0x61], 9
call fcn.0041e633
push eax
lea ecx, [ebp - 0x2c]
call fcn.00413128
lea ecx, [ebp - 0x44]
call fcn.00401cfa
push 0x46
pop eax
mov dword [ebp - 0x24], eax
lea edi, [ebp - 0x6c]
mov byte [ebp - 0x62], al
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x6a], 0xcb2fb21c
mov word [ebp - 0x54], 0xaa6a
mov dword [ebp - 0x5b], 0xcb2705a5
mov word [ebp - 0x65], 0xc847
mov dword [ebp - 0x5f], 0x248eef4b
mov word [ebp - 0x6c], 0x7588
mov word [ebp - 0x61], 0x63c7
mov word [ebp - 0x57], 0xe17c
mov byte [ebp - 0x55], 0x8e
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x63], 0x36
mov byte [ebp - 0x52], 0xaa
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
pop ecx
mov byte [ebp - 1], 0xce
mov byte [ebp - 0x20], 0x46
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x44]
push dword [ebp - 0x20]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 8]
call fcn.00413128
lea ecx, [ebp - 0x44]
call fcn.00401cfa
mov cl, byte [ebp - 1]
add cl, byte [ebp - 0x24]
inc edi
mov byte [ebp - 1], cl
mov al, byte [edi]
xor al, cl
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], al
jne 0x42b981
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00413128
lea ecx, [ebp - 8]
call fcn.00401cfa
call fcn.0042c112
test al, al
jne 0x42ba8b
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x42ba84
push dword [0x46c030]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x42ba84
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 - 0x34]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x46c030]
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 - 0x3c]
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 - 0x30]
add esi, ecx
mov ecx, esp
push eax
call fcn.00401d12
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 0x1c]
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x44]
call fcn.00401cfa
lea ecx, [ebp - 0x40]
call fcn.00401cfa
lea ecx, [ebp - 0x3c]
call fcn.00401cfa
lea ecx, [ebp - 0x34]
call fcn.00401cfa
lea ecx, [ebp - 0x24]
call fcn.00401cfa
push 0x8445
jmp 0x42bab7
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
call fcn.0042c5ab
mov dword [ebp - 0x48], eax
test eax, eax
js 0x42bab2
cmp dword [ebp - 0xc], ebx
je 0x42bab2
xor ecx, ecx
call fcn.0042c5ab
mov edi, eax
mov dword [ebp - 0x44], edi
test edi, edi
jns 0x42bac3
push 0x7d3
call dword [sym.imp.system.dll_public:_static_void___cdecl_Error::set_unsigned_int_]
pop ecx
jmp 0x42be65
push 0x44f0
call fcn.00417bc2
mov ebx, eax
pop ecx
test ebx, ebx
je 0x42bae6
push 0x44f0
push 0
push ebx
call fcn.0043ded6
add esp, 0xc
jmp 0x42bae8
xor ebx, ebx
mov edx, edi
mov ecx, ebx
call fcn.0042c7be
test al, al
jne 0x42bb15
push 0x44f0
push ebx
call fcn.00417bf9
push 0x7d4
call dword [sym.imp.system.dll_public:_static_void___cdecl_Error::set_unsigned_int_]
add esp, 0xc
xor ebx, ebx
jmp 0x42be65
mov eax, dword [ebp + 0x10]
push dword [eax + 0xc]
call dword [0x46c094]
cdq
and edx, 7
pop ecx
lea edi, [edx + eax]
mov eax, dword [ebp - 0xc]
sar edi, 3
xor edx, edx
mov ecx, dword [eax + 8]
mov eax, esi
lea ecx, [ecx*2 + 2]
sub edi, ecx
div edi
mov ecx, eax
mov dword [ebp - 8], eax
imul ecx, edi
cmp ecx, esi
jae 0x42bb51
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push dword [eax + 0xc]
call dword [0x46c094]
mov dword [ebp - 0x4c], eax
cdq
and edx, 7
lea esi, [edx + eax]
mov eax, dword [ebp + 0xc]
sar esi, 3
mov ecx, esi
mov dword [ebp - 0x10], esi
imul ecx, dword [ebp - 8]
push ecx
mov dword [eax], ecx
call fcn.00417c0f
mov ecx, dword [ebp + 8]
push esi
mov dword [ecx], eax
call fcn.00417c0f
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x3a], 0x3ca1136e
mov word [ebp - 0x3c], 0xef58
mov byte [ebp - 0x36], 0xbe
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor eax, eax
mov byte [ebp - 1], al
mov dword [ebp - 0x24], eax
call fcn.0042b7c3
push eax
lea ecx, [ebp - 0x24]
call fcn.00413128
lea ecx, [ebp - 0x40]
call fcn.00401cfa
mov esi, dword [ebp - 0x24]
mov ecx, esi
push 0
mov eax, dword [esi]
call dword [eax + 0xd4]
and dword [ebp - 0x40], 0
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
jle 0x42be18
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], eax
cmp eax, edi
jb 0x42bbff
mov dword [ebp - 0x34], edi
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
push dword [ebp - 0x20]
mov eax, dword [esi]
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push ebx
push dword [ebp - 0x4c]
call dword [eax + 0x60]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
push eax
push dword [ebp - 0xc]
call fcn.0042d62e
add esp, 0x20
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x42bd40
mov eax, dword [ebp + 0x10]
push eax
push dword [eax]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0x20]
call fcn.0042cfea
add esp, 0x18
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x42bc7f
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x40]
add dword [ebp - 0x18], edi
inc edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
sub eax, edi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x1c], eax
cmp edx, dword [ebp - 8]
jl 0x42bbef
jmp 0x42be15
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x42be11
push dword [0x46c030]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x42be11
lea eax, [ebp - 0x18]
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 - 0x1c]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x46c030]
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 - 0x34]
mov ecx, esi
push eax
call dword [edi + 4]
push dword [ebp - 0x3c]
push ecx
mov esi, dword [eax]
mov ecx, esp
mov eax, dword [ebp - 0x2c]
mov dword [ecx], eax
test eax, eax
je 0x42bcf6
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 4]
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [eax + 8]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00403c1f
pop ecx
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x4c]
call fcn.00401cfa
lea ecx, [ebp - 0x48]
call fcn.00401cfa
lea ecx, [ebp - 0x40]
call fcn.00401cfa
lea ecx, [ebp - 0x34]
jmp 0x42bdfc
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x42be11
push dword [0x46c030]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x42be11
lea eax, [ebp - 0x18]
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 - 0x1c]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x46c030]
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 - 0x3c]
mov ecx, esi
push eax
call dword [edi + 4]
push dword [ebp - 0x34]
push ecx
mov esi, dword [eax]
mov ecx, esp
mov eax, dword [ebp - 0x28]
mov dword [ecx], eax
test eax, eax
je 0x42bdb7
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 4]
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [eax + 8]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00403c1f
pop ecx
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x4c]
call fcn.00401cfa
lea ecx, [ebp - 0x48]
call fcn.00401cfa
lea ecx, [ebp - 0x40]
call fcn.00401cfa
lea ecx, [ebp - 0x3c]
call fcn.00401cfa
lea ecx, [ebp - 0x1c]
call fcn.00401cfa
lea ecx, [ebp - 0x18]
call fcn.00401cfa
mov byte [ebp - 1], 1
mov eax, dword [ebp - 0xc]
push eax
call fcn.00417c46
cmp byte [ebp - 1], 0
pop ecx
je 0x42be36
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.00417c46
mov eax, dword [ebp + 0xc]
pop ecx
and dword [eax], 0
push dword [ebp - 0x20]
call fcn.00417c46
mov edx, dword [ebp - 0x44]
mov ecx, ebx
call fcn.0042cb5a
mov dword [esp], 0x44f0
push ebx
call fcn.00417bf9
mov bl, byte [ebp - 1]
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
xor bl, 1
call fcn.00401cfa
lea ecx, [ebp - 0x28]
call fcn.00401cfa
lea ecx, [ebp - 0x2c]
call fcn.00401cfa
lea ecx, [ebp - 0x30]
call fcn.00401cfa
mov al, bl
jmp 0x42be8f
push 0x8445
call dword [sym.imp.system.dll_public:_static_void___cdecl_Error::set_unsigned_int_]
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret