Function at 0x420e5b
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], 0x448ebc
mov eax, dword [ecx + 4]
mov dword [ecx], vtable.License.1.0
mov dword [ebx + 4], 0x44d204
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 0x46c024
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.00401d12
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.00401d12
xor edi, edi
lea eax, [ebx + 0x30]
push edi
push eax
call dword [sym.imp.system.dll_public:_static_class_Ref_class_Sem____cdecl_Sem::create_unsigned_int_]
add esp, 4
mov dword [ebx + 0x34], edi
mov eax, esp
mov dword [ebx + 0x38], edi
lea ecx, [ebp - 0x8c]
mov dword [eax], edi
call fcn.00424a3b
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
pop ecx
test eax, eax
je 0x4216a8
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.00424089
cmp dword [ebp - 0x44], edi
je 0x4216a0
lea edx, [ebp - 0x70]
mov byte [ebx + 0x18], 1
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x6b], 0xd9cef7d
mov word [ebp - 0x70], 0xdf26
mov dword [ebp - 0x67], 0xb48c58bd
mov word [ebp - 0x6d], 0xccaf
mov word [ebp - 0x62], 0xccc
mov byte [ebp - 0x63], 0x58
mov byte [ebp - 0x6e], 0x7d
call fcn.0042286f
push eax
lea ecx, [ebp - 0x90]
call fcn.00413128
lea ecx, [ebp - 0xb4]
call fcn.00401cfa
lea eax, [ebp - 0x1c]
push eax
call fcn.0042242e
cmp dword [ebp - 0x1c], edi
je 0x420fe4
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebx + 0x20]
call fcn.00413128
push 0xffffffffffffffff
push edi
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_]
add esp, 0xc
mov dword [ebp - 0x38], edi
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.00401d12
push ecx
mov edi, esp
lea eax, [ebp - 0x24]
push ecx
mov ecx, esp
push eax
call fcn.00401d12
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0x74], esi
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x421038
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.00422a2a
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x20], edi
pop ecx
pop ecx
test edi, edi
jne 0x421063
lea ecx, [ebp - 0x28]
call fcn.00401cfa
jmp 0x42167c
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.00413128
lea ecx, [ebp - 0xb8]
call fcn.00401cfa
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x4210bb
call fcn.00401cfa
jmp 0x42166c
mov byte [ebx + 0x19], 1
call fcn.00401cfa
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.00421d35
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00401d12
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00401d12
mov ecx, ebx
call fcn.004220b6
and dword [ebp - 0x3c], 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x52], 0x2f970a70
lea edi, [ebp - 0x54]
mov word [ebp - 0x54], 0xd732
mov word [ebp - 0x4e], 0x43bb
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
mov al, 0x72
mov byte [ebp - 1], 0x40
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.00413128
lea ecx, [ebp - 0xbc]
call fcn.00401cfa
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 0x421131
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00413128
lea ecx, [ebp - 0x2c]
call fcn.00401cfa
and dword [ebp - 0x88], 0
lea eax, [ebp - 0x30]
push eax
mov word [ebp - 0x60], 0xcb5a
lea esi, [ebp - 0x60]
mov dword [ebp - 0x5d], 0xc62bb212
mov word [ebp - 0x59], 0x7d7d
mov byte [ebp - 0x5e], 0x67
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, 0x3c
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.00413128
lea ecx, [ebp - 0x98]
call fcn.00401cfa
add bh, bl
inc esi
mov bl, byte [esi]
xor bl, bh
mov byte [ebp - 8], bl
jne 0x4211b4
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x88]
call fcn.00413128
lea ecx, [ebp - 0x30]
call fcn.00401cfa
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x18]
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x42121c
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 0x42123b
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.00421c7c
and dword [ebp - 8], 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x4c], 0x379fea4b
lea esi, [ebp - 0x4c]
mov byte [ebp - 0x48], 0xc7
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
mov bl, 0x68
mov bh, 0x23
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.00413128
lea ecx, [ebp - 0x9c]
call fcn.00401cfa
add bh, bl
inc esi
mov bl, byte [esi]
xor bl, bh
mov byte [ebp - 0x20], bl
jne 0x42126e
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 8]
call fcn.00413128
lea ecx, [ebp - 0x34]
call fcn.00401cfa
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 0x4212d6
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 0x4212f2
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.00421c7c
cmp dword [ebp - 0x84], 0
je 0x42154b
cmp dword [ebp - 0x80], 0
je 0x42154b
push ecx
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.00401d12
push ecx
mov ebx, esp
lea eax, [ebp - 0x84]
push ecx
mov ecx, esp
push eax
call fcn.00401d12
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.00401d12
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 0x421538
mov eax, dword [ecx]
call dword [eax + 4]
test edx, edx
ja 0x421538
jb 0x421387
cmp eax, 0xffffffff
ja 0x421538
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
call dword [eax + 4]
push eax
mov dword [ebp - 0x20], eax
call fcn.00417c0f
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.00414cf5
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 0x42153b
and dword [ebp - 0xa0], 0
lea eax, [ebp - 0xa0]
push eax
call fcn.00413128
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.0043cffa
add esp, 0x24
cmp eax, 0x20
jne 0x421538
mov esi, dword [ebp - 0x80]
xor ebx, ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
cmp eax, 0x40
jae 0x421421
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
jmp 0x421424
push 0x40
pop eax
cmp ebx, eax
jae 0x421464
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 0x42140c
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 0x421538
push ecx
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.00401d12
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
push eax
call fcn.00401d12
lea ecx, [ebp - 0x10]
call fcn.0042368f
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.00401cfa
test ebx, ebx
je 0x421530
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.00413128
lea ecx, [ebp - 0x7c]
call fcn.00401cfa
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x421517
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.00401cfa
lea ecx, [ebp - 0xc]
call fcn.00401cfa
lea ecx, [ebp - 0x14]
call fcn.00401cfa
mov ebx, dword [ebp - 0x18]
lea ecx, [ebp - 0x80]
call fcn.00401cfa
mov eax, dword [ebp - 8]
test eax, eax
je 0x42156a
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.00401cfa
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x42158f
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 0x4215a6
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 0x4215cb
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.00421d35
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00401d12
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00401d12
mov ecx, ebx
call fcn.004220b6
cmp dword [ebp + 0x10], 0
je 0x42163e
push ecx
mov eax, esp
push ecx
mov ecx, esp
and dword [eax], 0
lea eax, [ebp + 0x10]
push eax
call fcn.00401d12
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebx + 0x48]
call fcn.00421c7c
push eax
lea ecx, [ebx + 0x34]
call fcn.00413128
lea ecx, [ebp - 0xac]
call fcn.00401cfa
cmp dword [ebx + 0x34], 0
je 0x42163e
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebx + 0x38]
call fcn.00413128
mov ecx, dword [ebp - 0x94]
call fcn.00424e78
lea ecx, [ebp - 0x7c]
call fcn.00401cfa
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x421668
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 0x42167c
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.00401cfa
lea ecx, [ebp - 0x1c]
call fcn.00401cfa
test esi, esi
je 0x4216a0
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.00401cfa
lea ecx, [ebp - 0x8c]
call fcn.00401cfa
lea ecx, [ebp + 8]
call fcn.00401cfa
lea ecx, [ebp + 0x10]
call fcn.00401cfa
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10