Function at 0x422790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dword [ebp - 0x54], ecx
mov eax, edx
mov dword [ebp - 0x60], eax
push ebx
push esi
push edi
test ecx, ecx
je 0x422e2b
test eax, eax
je 0x422e2b
xor ebx, ebx
mov dword [ebp - 0x39], 0xf75ea83d
lea edx, [ebp - 0x44]
mov dword [ebp - 0x80], ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x31], 0xed5f3cd2
mov dword [ebp - 0x44], 0xfe40a9c4
mov dword [ebp - 0x35], 0x47bd0466
mov word [ebp - 0x21], 0x3f9d
mov dword [ebp - 0x25], 0xe44896ef
mov dword [ebp - 0x2c], 0xba018efa
mov dword [ebp - 0x3d], 0x83ea3493
mov dword [ebp - 0x1e], 0x7d7de050
mov byte [ebp - 0x1f], 0xcd
mov word [ebp - 0x40], 0x79b
mov word [ebp - 0x28], 0xd736
mov byte [ebp - 0x26], 0x67
mov byte [ebp - 0x3e], 0xe7
mov byte [ebp - 0x2d], 0x68
call fcn.00421d89
push eax
lea ecx, [ebp - 0x80]
call fcn.004052fc
lea ecx, [ebp - 0x10]
call fcn.00405291
mov edi, dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x7c], ebx
lea esi, [ebp - 0x34]
mov dword [ebp - 0x22], 0x57aa3595
mov dword [ebp - 0x30], 0xbb8f2f83
mov dword [ebp - 0x34], 0x1678d12c
mov dword [ebp - 0x2a], 0x7ac659b7
mov dword [ebp - 0x26], 0xf7178303
mov dword [ebp - 0x1e], 0x5c1c38fc
mov word [ebp - 0x2c], 0x922c
call edi
mov bl, 0x46
mov bh, 0x6a
pop ecx
mov byte [ebp - 0x5c], bl
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x10]
push dword [ebp - 0x5c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 8]
call fcn.004052fc
lea ecx, [ebp - 0x10]
call fcn.00405291
add bh, bl
inc esi
mov bl, byte [esi]
xor bl, bh
mov byte [ebp - 0x5c], bl
jne 0x422879
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004052fc
lea ecx, [ebp - 8]
call fcn.00405291
lea eax, [ebp - 8]
mov dword [ebp - 0x34], 0x5d29c125
xor ebx, ebx
mov dword [ebp - 0x21], 0xa0a07cb0
push eax
mov dword [ebp - 0x5c], ebx
lea esi, [ebp - 0x38]
mov word [ebp - 0x37], 0x26b
mov dword [ebp - 0x2a], 0xdb3284e5
mov dword [ebp - 0x25], 0x1b66f159
mov byte [ebp - 0x26], 0x3b
mov dword [ebp - 0x2f], 0x99fd5c2c
mov byte [ebp - 0x38], 0x82
mov byte [ebp - 0x35], 0xb8
mov byte [ebp - 0x30], 0xf2
mov byte [ebp - 0x2b], 0x41
call edi
pop ecx
push 0x46
pop ebx
mov byte [ebp - 1], 0xc4
mov byte [ebp - 0x58], bl
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x10]
push dword [ebp - 0x58]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 8]
call fcn.004052fc
lea ecx, [ebp - 0x10]
call fcn.00405291
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 - 0x58], bl
jne 0x42290f
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004052fc
lea ecx, [ebp - 8]
call fcn.00405291
call fcn.004230bc
push 0
pop ebx
test al, al
jne 0x422a1a
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x422a13
push dword [0x43ecf8]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x422a13
lea eax, [ebp - 0x4c]
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 - 0x18]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43ecf8]
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 - 0xc]
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 - 0x80]
add esi, ecx
mov ecx, esp
push eax
call fcn.0040533a
lea eax, [ebp - 0x50]
push eax
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 0x1c]
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x10]
call fcn.00405291
lea ecx, [ebp - 0x50]
call fcn.00405291
lea ecx, [ebp - 0xc]
call fcn.00405291
lea ecx, [ebp - 0x18]
call fcn.00405291
lea ecx, [ebp - 0x4c]
call fcn.00405291
push 0x8445
jmp 0x422a47
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], ebx
call fcn.00423557
mov dword [ebp - 0x64], eax
test eax, eax
js 0x422a42
cmp dword [ebp - 0x48], 0
je 0x422a42
xor ecx, ecx
call fcn.00423557
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
jns 0x422a53
push 0x7d3
call dword [sym.imp.system.dll_public:_static_void___cdecl_Error::set_unsigned_int_]
pop ecx
jmp 0x422e0f
push 0x44f0
call fcn.0042f8f4
mov edi, eax
mov dword [ebp - 0x74], edi
pop ecx
test edi, edi
je 0x422a78
push 0x44f0
push ebx
push edi
call fcn.0042ff56
add esp, 0xc
jmp 0x422a7d
mov edi, ebx
mov dword [ebp - 0x74], ebx
mov edx, esi
mov ecx, edi
call fcn.00423798
test al, al
jne 0x422aa8
push 0x44f0
push edi
call fcn.0042f92b
push 0x7d4
call dword [sym.imp.system.dll_public:_static_void___cdecl_Error::set_unsigned_int_]
add esp, 0xc
jmp 0x422e0f
mov eax, dword [ebp + 0x10]
push dword [eax + 0xc]
call dword [0x43ed54]
cdq
and edx, 7
pop ecx
lea esi, [edx + eax]
mov eax, dword [ebp - 0x48]
sar esi, 3
xor edx, edx
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
sub esi, ecx
div esi
mov dword [ebp - 0x50], esi
mov ecx, eax
mov dword [ebp - 8], eax
imul ecx, esi
cmp ecx, dword [ebp - 0x60]
jae 0x422ae9
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push dword [eax + 0xc]
call dword [0x43ed54]
mov dword [ebp - 0x68], eax
cdq
and edx, 7
lea esi, [edx + eax]
mov eax, dword [ebp + 0xc]
sar esi, 3
mov ecx, esi
mov dword [ebp - 0x6c], esi
imul ecx, dword [ebp - 8]
push ecx
mov dword [eax], ecx
call fcn.0042f941
mov ecx, dword [ebp + 8]
push esi
mov dword [ecx], eax
call fcn.0042f941
mov dword [ebp - 0x78], eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc]
add esp, 0xc
mov byte [ebp - 1], bl
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x15], 0xd92b
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov word [ebp - 0x18], 0x770
mov byte [ebp - 0x16], 0x86
mov word [ebp - 0x13], 0x9664
call fcn.00422743
push eax
lea ecx, [ebp - 0x58]
call fcn.004052fc
lea ecx, [ebp - 0xc]
call fcn.00405291
mov esi, dword [ebp - 0x58]
mov ecx, esi
push ebx
mov eax, dword [esi]
call dword [eax + 0xd4]
cmp dword [ebp - 8], 0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0xc], ebx
jle 0x422dc2
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x4c], ecx
cmp ecx, eax
jb 0x422b9b
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
push dword [ebp - 0x78]
mov eax, dword [esi]
push dword [ebp - 0x64]
push dword [ebp - 0x10]
push edi
push dword [ebp - 0x68]
call dword [eax + 0x60]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
push eax
push dword [ebp - 0x48]
call fcn.00424626
add esp, 0x20
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x422ce7
mov eax, dword [ebp + 0x10]
push eax
push dword [eax]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
push dword [ebp - 0x78]
call fcn.00423fe2
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x422c1e
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x60]
inc edx
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
sub ecx, eax
add dword [ebp - 0x54], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x60], ecx
cmp edx, dword [ebp - 8]
jl 0x422b8b
jmp 0x422dbf
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x422dbb
push dword [0x43ecf8]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x422dbb
lea eax, [ebp - 0x54]
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 - 0x4c]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43ecf8]
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 - 0xc]
mov ecx, esi
push eax
call dword [edi + 4]
push dword [ebp - 0x18]
push ecx
mov esi, dword [eax]
mov ecx, esp
mov eax, dword [ebp - 0x7c]
mov dword [ecx], eax
test eax, eax
je 0x422c95
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 - 0x50]
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 - 0x64]
call fcn.00421754
pop ecx
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x68]
call fcn.00405291
lea ecx, [ebp - 0x64]
call fcn.00405291
lea ecx, [ebp - 0x50]
call fcn.00405291
lea ecx, [ebp - 0xc]
call fcn.00405291
lea ecx, [ebp - 0x4c]
jmp 0x422dab
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x422dbb
push dword [0x43ecf8]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x422dbb
lea eax, [ebp - 0x54]
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 - 0x18]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43ecf8]
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 - 0xc]
mov ecx, esi
push eax
call dword [edi + 4]
push dword [ebp - 0x4c]
push ecx
mov esi, dword [eax]
mov ecx, esp
mov eax, dword [ebp - 0x5c]
mov dword [ecx], eax
test eax, eax
je 0x422d5e
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 - 0x50]
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 - 0x64]
call fcn.00421754
pop ecx
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x68]
call fcn.00405291
lea ecx, [ebp - 0x64]
call fcn.00405291
lea ecx, [ebp - 0x50]
call fcn.00405291
lea ecx, [ebp - 0xc]
call fcn.00405291
lea ecx, [ebp - 0x18]
call fcn.00405291
lea ecx, [ebp - 0x54]
call fcn.00405291
mov edi, dword [ebp - 0x74]
mov byte [ebp - 1], 1
mov eax, dword [ebp - 0x48]
push eax
call fcn.0042f978
cmp byte [ebp - 1], 0
pop ecx
je 0x422ddf
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.0042f978
mov eax, dword [ebp + 0xc]
pop ecx
mov dword [eax], ebx
push dword [ebp - 0x78]
call fcn.0042f978
mov edx, dword [ebp - 0x10]
mov ecx, edi
call fcn.00423afe
mov dword [esp], 0x44f0
push edi
call fcn.0042f92b
mov al, byte [ebp - 1]
pop ecx
pop ecx
xor al, 1
lea ecx, [ebp - 0x58]
mov bl, al
call fcn.00405291
lea ecx, [ebp - 0x5c]
call fcn.00405291
lea ecx, [ebp - 0x7c]
call fcn.00405291
lea ecx, [ebp - 0x80]
call fcn.00405291
mov al, bl
jmp 0x422e39
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