Function at 0x421f20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
mov ebx, ecx
push esi
push edi
push 0
lea ecx, [ebx + 0x48]
mov dword [ebx + 0x4c], 0x44a16c
mov eax, dword [ecx + 4]
mov dword [ecx], vtable.License.1.0
mov dword [ebx + 4], 0x44e6e4
mov dword [ebx + 0x40], vtable.RefCount.0
mov eax, dword [eax + 4]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x18], ebx
mov dword [eax + ecx + 4], vtable.License.0
mov ecx, ebx
call dword [sym.imp.system.dll_public:_void___thiscall_Object::constructor_void_]
mov eax, dword [ebx + 4]
mov dword [ebx], vtable.LicenseObj.0
push 0x46d064
mov eax, dword [eax + 4]
mov dword [eax + ebx + 4], vtable.LicenseObj.2.0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
mov dword [eax + ebx + 4], vtable.LicenseObj.1.0
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x3c]
mov dword [ecx + ebx], eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 8]
lea eax, [ecx - 0x44]
mov dword [ecx + ebx], eax
xor eax, eax
mov dword [ebx + 0xc], eax
lea ecx, [ebx + 0x20]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov word [ebx + 0x18], ax
mov byte [ebx + 0x1a], al
mov dword [ebx + 0x1c], eax
call fcn.00401dde
xor eax, eax
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x24], eax
mov byte [ebx + 0x28], al
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00401dde
lea eax, [ebx + 0x30]
push 0
push eax
call dword [sym.imp.system.dll_public:_static_class_Ref_class_Sem____cdecl_Sem::create_unsigned_int_]
xor ecx, ecx
add esp, 4
mov eax, esp
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x38], ecx
mov dword [eax], ecx
lea ecx, [ebp - 0x8c]
call fcn.00425a8c
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
pop ecx
test eax, eax
je 0x422770
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.004250da
cmp dword [ebp - 0x44], 0
je 0x422768
and dword [ebp - 0x90], 0
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0xb4]
mov byte [ebx + 0x18], 1
mov dword [ebp - 0x6a], 0x9feb62cd
mov dword [ebp - 0x65], 0xae3a96ea
mov dword [ebp - 0x70], 0x8d23b100
mov byte [ebp - 0x61], 0x2e
mov word [ebp - 0x6c], 0x5bb2
mov byte [ebp - 0x66], 0x3a
call fcn.004238e3
push eax
lea ecx, [ebp - 0x90]
call fcn.00413c02
lea ecx, [ebp - 0xb4]
call fcn.00401dc6
lea eax, [ebp - 0x1c]
push eax
call fcn.004234a2
cmp dword [ebp - 0x1c], 0
je 0x4220a8
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebx + 0x20]
call fcn.00413c02
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x24]
push str.SYSTEMADDON:__SYSTEMBASE:_
push eax
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_char_const___unsigned_int__unsigned_int_]
and dword [ebp - 0x38], 0
lea eax, [ebp - 0x44]
add esp, 0xc
mov ecx, esp
push eax
call fcn.00401dde
push ecx
mov edi, esp
lea eax, [ebp - 0x24]
push ecx
mov ecx, esp
push eax
call fcn.00401dde
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0x74], esi
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x4220fe
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
push edi
call dword [sym.imp.svc.filesys.dll_public:_static_class_Ref_class_String____cdecl_Services::Filesystem::Client::Service::search_class_Ref_class_String___class_Ref_class_String__]
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00423a9e
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x20], edi
pop ecx
pop ecx
test edi, edi
jne 0x422129
lea ecx, [ebp - 0x28]
call fcn.00401dc6
jmp 0x422744
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 [edi]
mov ecx, edi
call dword [eax]
mov eax, dword [edi]
mov ecx, edi
push 0xffffffffffffffff
call dword [eax + 4]
mov eax, dword [edi]
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, edi
call dword [eax + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.00413c02
lea ecx, [ebp - 0xb8]
call fcn.00401dc6
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x422181
call fcn.00401dc6
jmp 0x422734
mov byte [ebx + 0x19], 1
call fcn.00401dc6
mov eax, dword [ebp - 0x40]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
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 ecx, ebx
call fcn.00422dfd
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00401dde
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00401dde
mov ecx, ebx
call fcn.00423131
and dword [ebp - 0x3c], 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x50], 0xa545c131
lea edi, [ebp - 0x54]
mov word [ebp - 0x53], 0x1e71
mov byte [ebp - 0x51], 0x94
mov byte [ebp - 0x54], pe_nt_image_headers32
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
mov al, 0x72
mov byte [ebp - 1], 0xa2
pop ecx
mov byte [ebp - 8], al
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0xbc]
push dword [ebp - 8]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00413c02
lea ecx, [ebp - 0xbc]
call fcn.00401dc6
mov cl, byte [ebp - 1]
add cl, byte [ebp - 8]
inc edi
mov byte [ebp - 1], cl
mov al, byte [edi]
xor al, cl
mov byte [ebp - 8], al
jne 0x4221f9
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00413c02
lea ecx, [ebp - 0x2c]
call fcn.00401dc6
and dword [ebp - 0x88], 0
lea eax, [ebp - 0x30]
push eax
mov word [ebp - 0x59], 0x12c8
lea esi, [ebp - 0x60]
mov dword [ebp - 0x60], 0x69cc5eb7
mov word [ebp - 0x5c], 0xbe1f
mov byte [ebp - 0x5a], 0x2d
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
mov edi, dword [ebp - 0x20]
mov bl, 0x66
pop ecx
mov bh, 0xd1
mov byte [ebp - 8], bl
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x98]
push dword [ebp - 8]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00413c02
lea ecx, [ebp - 0x98]
call fcn.00401dc6
add bh, bl
inc esi
mov bl, byte [esi]
xor bl, bh
mov byte [ebp - 8], bl
jne 0x42227c
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x88]
call fcn.00413c02
lea ecx, [ebp - 0x30]
call fcn.00401dc6
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x18]
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x4222e4
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 [ebp - 0x88]
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x422303
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 ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x84]
push eax
call fcn.00422d44
and dword [ebp - 8], 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x4c], 0x1175c455
lea esi, [ebp - 0x4c]
mov byte [ebp - 0x48], 0xe1
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
mov bl, 0x68
mov bh, 0x3d
pop ecx
mov byte [ebp - 0x20], bl
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x9c]
push dword [ebp - 0x20]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00413c02
lea ecx, [ebp - 0x9c]
call fcn.00401dc6
add bh, bl
inc esi
mov bl, byte [esi]
xor bl, bh
mov byte [ebp - 0x20], bl
jne 0x422336
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 8]
call fcn.00413c02
lea ecx, [ebp - 0x34]
call fcn.00401dc6
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x18]
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x42239e
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 [ebp - 8]
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x4223ba
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebx + 0x48]
call fcn.00422d44
cmp dword [ebp - 0x84], 0
je 0x422613
cmp dword [ebp - 0x80], 0
je 0x422613
push ecx
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.00401dde
push ecx
mov ebx, esp
lea eax, [ebp - 0x84]
push ecx
mov ecx, esp
push eax
call fcn.00401dde
push ebx
call dword [sym.imp.svc.filesys.dll_public:_static_class_Ref_class_String____cdecl_Services::Filesystem::Client::Service::name_class_Ref_class_String__]
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.svc.filesys.dll_public:_static_class_Ref_class_String____cdecl_Services::Filesystem::Client::Service::search_class_Ref_class_String___class_Ref_class_String__]
add esp, 0xc
lea eax, [ebp - 0x14]
push 3
push ecx
mov ecx, esp
push eax
call fcn.00401dde
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.svc.filesys.dll_public:_static_class_Ref_class_Services::Filesystem::Client::File____cdecl_Services::Filesystem::Client::File::open_class_Ref_class_String___unsigned_int_]
mov ecx, dword [ebp - 0xc]
add esp, 0xc
test ecx, ecx
je 0x422600
mov eax, dword [ecx]
call dword [eax + 4]
test edx, edx
ja 0x422600
jb 0x42244f
cmp eax, 0xffffffff
ja 0x422600
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
call dword [eax + 4]
push eax
mov dword [ebp - 0x20], eax
call fcn.00418df8
mov edx, dword [ebp - 0xc]
pop ecx
push 0xffffffffffffffff
push dword [ebp - 0x20]
mov ecx, dword [edx + 4]
sub esp, 0x24
mov dword [ebp - 0x78], eax
mov ebx, dword [ecx + 0x10]
mov ecx, esp
push eax
add ebx, edx
call fcn.00415b5f
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
call dword [eax]
mov ebx, dword [ebp - 0x20]
lea ecx, [ebp - 0xc]
cmp eax, ebx
jne 0x422603
and dword [ebp - 0xa0], 0
lea eax, [ebp - 0xa0]
push eax
call fcn.00413c02
push 1
xor eax, eax
push eax
push eax
push 1
push eax
push 0x20
lea eax, [ebp - 0xfc]
push eax
push ebx
push dword [ebp - 0x78]
call fcn.0043df3a
add esp, 0x24
cmp eax, 0x20
jne 0x422600
mov esi, dword [ebp - 0x80]
xor ebx, ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
cmp eax, 0x40
jae 0x4224e9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
jmp 0x4224ec
push 0x40
pop eax
cmp ebx, eax
jae 0x42252c
push ecx
mov eax, esp
push 0x10
and dword [eax], 0
lea eax, [ebp - 0xb0]
push eax
push ecx
mov eax, esp
mov ecx, esi
push 2
push ebx
push eax
mov eax, dword [esi]
call dword [eax + 8]
call dword [sym.imp.lib.io.char.dll_public:_static_bool___cdecl_StrConv::num_class_Ref_class_String___unsigned_int___unsigned_int__class_Ref_class_String__]
mov al, byte [ebp - 0xb0]
mov ecx, ebx
shr ecx, 1
add esp, 0x10
add ebx, 2
mov byte [ebp + ecx - 0xdc], al
jmp 0x4224d4
push 0x20
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xfc]
push eax
call dword [sym.imp.system.dll_public:_static_bool___cdecl_Mem::equal_void_const___void_const___unsigned_int_]
mov esi, dword [ebp - 0x74]
add esp, 0xc
test al, al
je 0x422600
push ecx
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.00401dde
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
push eax
call fcn.00401dde
lea ecx, [ebp - 0x10]
call fcn.004246ab
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov eax, dword [ebp - 0x10]
mov ecx, eax
push 0xffffffffffffffff
mov edx, dword [eax]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
lea ecx, [ebp - 0xa4]
mov ebx, dword [eax]
call fcn.00401dc6
test ebx, ebx
je 0x4225f8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.00413c02
lea ecx, [ebp - 0x7c]
call fcn.00401dc6
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4225df
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 [edi + 4]
add edi, 4
mov ecx, dword [eax + 4]
add ecx, edi
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x10]
call fcn.00401dc6
lea ecx, [ebp - 0xc]
call fcn.00401dc6
lea ecx, [ebp - 0x14]
call fcn.00401dc6
mov ebx, dword [ebp - 0x18]
lea ecx, [ebp - 0x80]
call fcn.00401dc6
mov eax, dword [ebp - 8]
test eax, eax
je 0x422632
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x84]
call fcn.00401dc6
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x422657
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42266e
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 8]
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x40]
mov byte [ebx + 0x28], 1
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x422693
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 ecx, ebx
call fcn.00422dfd
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00401dde
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00401dde
mov ecx, ebx
call fcn.00423131
cmp dword [ebp + 0x10], 0
je 0x422706
push ecx
mov eax, esp
push ecx
mov ecx, esp
and dword [eax], 0
lea eax, [ebp + 0x10]
push eax
call fcn.00401dde
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebx + 0x48]
call fcn.00422d44
push eax
lea ecx, [ebx + 0x34]
call fcn.00413c02
lea ecx, [ebp - 0xac]
call fcn.00401dc6
cmp dword [ebx + 0x34], 0
je 0x422706
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebx + 0x38]
call fcn.00413c02
mov ecx, dword [ebp - 0x94]
call fcn.00425e85
lea ecx, [ebp - 0x7c]
call fcn.00401dc6
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x422730
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 edi, edi
je 0x422744
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, edi
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x24]
call fcn.00401dc6
lea ecx, [ebp - 0x1c]
call fcn.00401dc6
test esi, esi
je 0x422768
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x44]
call fcn.00401dc6
lea ecx, [ebp - 0x8c]
call fcn.00401dc6
lea ecx, [ebp + 8]
call fcn.00401dc6
lea ecx, [ebp + 0x10]
call fcn.00401dc6
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10