Function at 0x421e23
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
mov eax, ecx
mov esi, edx
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], eax
push edi
test eax, eax
je 0x422730
test esi, esi
je 0x422730
push 0x68
pop eax
xor ebx, ebx
mov dword [ebp - 0x2d], 0xf75ea83d
lea edx, [ebp - 0x38]
mov dword [ebp - 0x84], ebx
lea ecx, [ebp - 8]
mov dword [ebp - 0x25], 0xed5f3cd2
mov dword [ebp - 0x38], 0xfe40a9c4
mov dword [ebp - 0x29], 0x47bd0466
mov word [ebp - 0x15], 0x3f9d
mov dword [ebp - 0x19], 0xe44896ef
mov dword [ebp - 0x20], 0xba018efa
mov dword [ebp - 0x31], 0x83ea3493
mov dword [ebp - 0x12], 0x7d7de050
mov byte [ebp - 0x13], 0xcd
mov word [ebp - 0x34], 0x79b
mov word [ebp - 0x1c], 0xd736
mov byte [ebp - 0x1a], 0x67
mov byte [ebp - 0x32], 0xe7
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x21], al
call fcn.00421d89
push eax
lea ecx, [ebp - 0x84]
call fcn.004052fc
lea ecx, [ebp - 8]
call fcn.00405291
lea eax, [ebp - 0xc]
mov dword [ebp - 0x80], ebx
push eax
mov dword [ebp - 0x18], 0x2189eb23
lea edi, [ebp - 0x28]
mov dword [ebp - 0x28], 0x1466cf2e
mov dword [ebp - 0x12], 0x5010cce0
mov dword [ebp - 0x24], 0xb98d2d81
mov word [ebp - 0x1d], 0xfa51
mov word [ebp - 0x1a], 0x9717
mov byte [ebp - 0x1b], 0x8e
mov word [ebp - 0x14], 0x4bd6
mov word [ebp - 0x20], 0x902e
mov byte [ebp - 0x1e], 0xb4
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
pop ecx
push 0x46
pop eax
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x40], al
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 8]
push dword [ebp - 0x40]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 0xc]
call fcn.004052fc
lea ecx, [ebp - 8]
call fcn.00405291
mov ecx, dword [ebp - 0x68]
add cl, byte [ebp - 0x40]
inc edi
mov dword [ebp - 0x68], ecx
mov al, byte [edi]
xor al, cl
mov byte [ebp - 0x40], al
jne 0x421f25
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x80]
call fcn.004052fc
lea ecx, [ebp - 0xc]
call fcn.00405291
lea eax, [ebp - 0xc]
mov dword [ebp - 0x68], ebx
push eax
mov dword [ebp - 0x1b], 0x7189ed6c
lea edi, [ebp - 0x28]
mov word [ebp - 0x1d], 0xc2ef
mov word [ebp - 0x12], 0x9646
mov dword [ebp - 0x26], 0xfb5fa20c
mov dword [ebp - 0x17], 0xcd50bf13
mov word [ebp - 0x28], 0x65f8
mov dword [ebp - 0x22], 0x26f85723
mov byte [ebp - 0x1e], 0x42
mov byte [ebp - 0x13], 0x7a
mov byte [ebp - 0x10], 0xd6
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
pop ecx
mov byte [ebp - 1], 0xbe
mov byte [ebp - 0x60], 0x46
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 8]
push dword [ebp - 0x60]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 0xc]
call fcn.004052fc
lea ecx, [ebp - 8]
call fcn.00405291
mov cl, byte [ebp - 1]
add cl, byte [ebp - 0x64]
inc edi
mov byte [ebp - 1], cl
mov al, byte [edi]
xor al, cl
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], al
jne 0x421fbf
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x68]
call fcn.004052fc
lea ecx, [ebp - 0xc]
call fcn.00405291
lea edx, [ebp - 0x28]
mov dword [ebp - 0x64], ebx
lea ecx, [ebp - 8]
mov word [ebp - 0xf], 0x8f4f
mov dword [ebp - 0x18], 0xc1a866c5
mov dword [ebp - 0x1e], 0xdd208fe3
mov dword [ebp - 0x14], 0x3a94097f
mov word [ebp - 0x25], 0xe8f
mov word [ebp - 0x28], 0x86d
mov byte [ebp - 0x26], 0xff
mov dword [ebp - 0x23], 0x99fd50b4
mov word [ebp - 0x1a], 0xac4a
mov byte [ebp - 0x1f], 0x41
mov byte [ebp - 0x10], 0xab
call fcn.0041771e
push eax
lea ecx, [ebp - 0x64]
call fcn.004052fc
lea ecx, [ebp - 8]
call fcn.00405291
lea eax, [ebp - 0xc]
mov dword [ebp - 0x60], ebx
push eax
mov dword [ebp - 0x25], 0x3815b594
lea edi, [ebp - 0x38]
mov dword [ebp - 0x32], 0x63f854a9
mov dword [ebp - 0x29], 0x34be0d63
mov dword [ebp - 0x11], 0x52c73d92
mov word [ebp - 0x1e], 0xf07e
mov word [ebp - 0x1b], 0xe139
mov word [ebp - 0x35], 0x45c9
mov dword [ebp - 0x18], 0x54b49636
mov dword [ebp - 0x2d], 0xa30e67b7
mov word [ebp - 0x21], 0x5bb7
mov word [ebp - 0x38], 0xb0dc
mov word [ebp - 0x13], 0x1d70
mov byte [ebp - 0x1f], 0xd7
mov byte [ebp - 0xd], 0x9c
mov byte [ebp - 0x14], 0xcb
mov byte [ebp - 0x1c], 0x9c
mov byte [ebp - 0x2e], 0x1f
mov byte [ebp - 0x36], 0x3c
mov byte [ebp - 0x33], 0x85
mov byte [ebp - 0x19], 0x8e
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
mov al, 0x49
mov byte [ebp - 1], 0x95
pop ecx
mov byte [ebp - 0x40], al
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 8]
push dword [ebp - 0x40]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 0xc]
call fcn.004052fc
lea ecx, [ebp - 8]
call fcn.00405291
mov cl, byte [ebp - 1]
add cl, byte [ebp - 0x40]
inc edi
mov byte [ebp - 1], cl
mov al, byte [edi]
xor al, cl
mov byte [ebp - 0x40], al
jne 0x4220f0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x60]
call fcn.004052fc
lea ecx, [ebp - 0xc]
call fcn.00405291
call fcn.004230bc
test al, al
jne 0x4221fd
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x4221f3
push dword [0x43ecf4]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x4221f3
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 - 0x50]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43ecf4]
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 - 0x48]
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 - 0x84]
add esi, ecx
mov ecx, esp
push eax
call fcn.0040533a
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 0x1c]
lea edx, [ebp - 8]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 8]
call fcn.00405291
lea ecx, [ebp - 0x3c]
call fcn.00405291
lea ecx, [ebp - 0x48]
call fcn.00405291
lea ecx, [ebp - 0x50]
call fcn.00405291
lea ecx, [ebp - 0x4c]
call fcn.00405291
push 0x8445
jmp 0x422335
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], ebx
call fcn.00423557
mov dword [ebp - 0x54], eax
test eax, eax
js 0x422216
mov edi, dword [ebp - 0x5c]
test edi, edi
jne 0x422220
push 0x7d3
jmp 0x422335
mov eax, dword [ebp + 0x10]
push dword [eax + 0xc]
call dword [0x43ed54]
mov ecx, dword [edi + 8]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea ecx, [ecx*2 + 2]
sub eax, ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
push dword [eax + 0xc]
call dword [0x43ed54]
mov dword [ebp - 0x58], eax
cdq
and edx, 7
pop ecx
pop ecx
lea edi, [edx + eax]
xor edx, edx
sar edi, 3
mov eax, esi
div edi
mov ecx, eax
mov dword [ebp - 8], eax
imul ecx, edi
cmp ecx, esi
jae 0x422341
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x422330
push dword [0x43ecf4]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x422330
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 - 0x50]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43ecf4]
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 - 0x48]
mov ecx, esi
push eax
call dword [edi + 4]
push ecx
mov ecx, esp
mov esi, dword [eax]
mov eax, dword [ebp - 0x60]
mov dword [ecx], eax
test eax, eax
je 0x4222e9
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 - 0x3c]
push edx
mov ecx, dword [eax + 8]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea edx, [ebp - 8]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 8]
call fcn.00405291
lea ecx, [ebp - 0x3c]
call fcn.00405291
lea ecx, [ebp - 0x48]
call fcn.00405291
lea ecx, [ebp - 0x50]
call fcn.00405291
lea ecx, [ebp - 0x4c]
call fcn.00405291
push 0x7d5
call dword [sym.imp.system.dll_public:_static_void___cdecl_Error::set_unsigned_int_]
pop ecx
jmp 0x422701
imul eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 0xc]
push eax
mov dword [ecx], eax
call fcn.0042f941
mov esi, dword [ebp + 8]
push edi
mov dword [esi], eax
call fcn.0042f941
and dword [ebp - 0x5c], ebx
lea edx, [ebp - 0x48]
pop ecx
pop ecx
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x3c]
mov eax, dword [esi]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x78], ebx
mov word [ebp - 0x45], 0xd92b
mov word [ebp - 0x48], 0x770
mov byte [ebp - 0x46], 0x86
mov word [ebp - 0x43], 0x9664
call fcn.00422743
push eax
lea ecx, [ebp - 0x5c]
call fcn.004052fc
lea ecx, [ebp - 0x3c]
call fcn.00405291
mov esi, dword [ebp - 0x5c]
mov ecx, esi
push 0
mov eax, dword [esi]
call dword [eax + 0xd4]
and dword [ebp - 0x3c], ebx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], ebx
jle 0x4226c3
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], edi
cmp eax, edi
jb 0x4223c7
mov eax, edi
mov ecx, dword [ebp + 0x10]
push ecx
push dword [ecx]
lea ecx, [ebp - 0x4c]
push ecx
push dword [ebp - 0x7c]
push eax
push dword [ebp - 0x70]
call fcn.00423fe2
add esp, 0x18
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x4225ed
mov eax, dword [ebp - 0x40]
mov ecx, esi
and dword [ebp - 0x50], ebx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x6c]
mov eax, dword [esi]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call dword [eax + 0x60]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x7c]
push eax
push dword [ebp - 0xc]
call fcn.0042436f
add esp, 0x1c
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x42251c
cmp dword [ebp - 0x50], 1
jne 0x422461
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x3c]
add dword [ebp - 0x70], edi
inc ecx
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x74]
sub eax, edi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x74], eax
cmp ecx, dword [ebp - 8]
jl 0x4223be
jmp 0x4226c0
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x4226be
push dword [0x43ecf4]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x4226be
lea eax, [ebp - 0x48]
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 - 0x3c]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43ecf4]
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 ecx
mov ecx, esp
mov esi, dword [eax]
mov eax, dword [ebp - 0x64]
mov dword [ecx], eax
test eax, eax
je 0x4224d5
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 - 0x54]
push edx
mov ecx, dword [eax + 8]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x58]
call fcn.00405291
lea ecx, [ebp - 0x54]
call fcn.00405291
lea ecx, [ebp - 8]
call fcn.00405291
lea ecx, [ebp - 0x3c]
call fcn.00405291
lea ecx, [ebp - 0x48]
jmp 0x4226b9
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x4226be
push dword [0x43ecf4]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x4226be
lea eax, [ebp - 0x50]
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 - 0x48]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43ecf4]
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 - 0x4c]
push ecx
mov esi, dword [eax]
mov ecx, esp
mov eax, dword [ebp - 0x68]
mov dword [ecx], eax
test eax, eax
je 0x422593
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 - 8]
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 - 0x54]
call fcn.00421754
pop ecx
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x58]
call fcn.00405291
lea ecx, [ebp - 0x54]
call fcn.00405291
lea ecx, [ebp - 8]
call fcn.00405291
lea ecx, [ebp - 0x3c]
call fcn.00405291
lea ecx, [ebp - 0x48]
call fcn.00405291
lea ecx, [ebp - 0x50]
jmp 0x4226b9
call dword [sym.imp.lib.syslog.dll_public:_static_unsigned_int___cdecl_SysLogFilter::level_void_]
cmp eax, 4
ja 0x4226be
push dword [0x43ecf4]
call dword [sym.imp.lib.syslog.dll_public:_static_bool___cdecl_SysLogFilter::state_unsigned_int_]
pop ecx
test al, al
je 0x4226be
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 - 0x50]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [0x43ecf4]
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 - 0x48]
push ecx
mov esi, dword [eax]
mov ecx, esp
mov eax, dword [ebp - 0x80]
mov dword [ecx], eax
test eax, eax
je 0x422664
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 - 8]
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 - 0x54]
call fcn.00421754
pop ecx
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x58]
call fcn.00405291
lea ecx, [ebp - 0x54]
call fcn.00405291
lea ecx, [ebp - 8]
call fcn.00405291
lea ecx, [ebp - 0x3c]
call fcn.00405291
lea ecx, [ebp - 0x50]
call fcn.00405291
lea ecx, [ebp - 0x4c]
call fcn.00405291
mov bl, 1
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042f978
pop ecx
test bl, bl
je 0x4226e1
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.0042f978
mov eax, dword [ebp + 0xc]
pop ecx
and dword [eax], 0
jmp 0x4226ed
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x78]
cmp eax, dword [ecx]
jae 0x4226ed
mov dword [ecx], eax
push dword [ebp - 0x7c]
call fcn.0042f978
pop ecx
lea ecx, [ebp - 0x5c]
xor bl, 1
call fcn.00405291
lea ecx, [ebp - 0x60]
call fcn.00405291
lea ecx, [ebp - 0x64]
call fcn.00405291
lea ecx, [ebp - 0x68]
call fcn.00405291
lea ecx, [ebp - 0x80]
call fcn.00405291
lea ecx, [ebp - 0x84]
call fcn.00405291
mov al, bl
jmp 0x42273e
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