Function at 0x405568
Capabilities:
Encode data using xor

Disassembly:
push 0xc4
mov eax, 0x42e5cd
call fcn.0041a90a
and dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
push 0x1a
pop edx
call fcn.00405dad
push 1
push 0x438f4c
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.004044c7
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040428a
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040444b
push eax
lea ecx, [ebp - 0x34]
call fcn.0040428a
mov esi, str.ejIS_WS_2B
mov byte [ebp - 4], 3
cmp byte [0x4395d1], 0
lea edi, [ebp - 0x1c]
push 0x38
pop ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
je 0x4055ec
xor ecx, ecx
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x39
xor byte [ebp + ecx - 0x1c], dl
inc ecx
cmp ecx, 0xa
jl 0x4055d9
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00404870
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040428a
lea ecx, [ebp - 0x34]
call fcn.00402616
lea ecx, [ebp - 0x4c]
call fcn.00402616
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.00402616
lea edx, [ebp + 8]
lea ecx, [ebp - 0x94]
call fcn.00407b41
lea edx, [ebp - 0x7c]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.0040853a
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x9c], eax
cmp ebx, eax
je 0x4056ff
push ebx
lea ecx, [ebp - 0x64]
call fcn.004042fc
mov byte [ebp - 4], 0xa
lea edi, [ebp - 0x44]
cmp byte [0x43956f], 0
mov esi, str.eYTSVWZ3o12__2_HtUTRVV__b
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x40568c
push 0x38
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x44], dl
inc ecx
cmp ecx, 0x10
jl 0x405679
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x34]
call fcn.0040452b
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
cmova eax, dword [ebp - 0x34]
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0xa0], esp
push eax
call fcn.004042c3
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x94]
mov ecx, esp
push eax
call fcn.004042fc
mov byte [ebp - 4], 0xb
call fcn.004050e5
add esp, 0x30
lea ecx, [ebp - 0x34]
call fcn.00402616
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
call fcn.00402616
add ebx, 0x18
cmp ebx, dword [ebp - 0x9c]
jne 0x405652
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.004043bd
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x40]
call fcn.0040853a
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
cmp eax, ecx
mov dword [ebp - 0xa0], ecx
jmp 0x405a92
push eax
lea ecx, [ebp - 0x34]
call fcn.004042fc
push 0x4394d8
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xe
call fcn.004042c3
lea edx, [ebp - 0xd0]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x34]
call fcn.00408039
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xe
mov bl, al
call fcn.00402616
test bl, bl
je 0x405a77
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa4], esp
push 0x438f3b
call fcn.004042c3
mov esi, 0x439590
mov byte [ebp - 4], 0x10
lea edi, [ebp - 0x1c]
xor ebx, ebx
push 0x38
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x1c], dl
inc ecx
cmp ecx, 9
jl 0x4057a0
sub esp, 0x18
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0xa8], esp
push eax
call fcn.004042c3
mov byte [ebp - 4], 0x11
cmp byte [0x439537], 0
mov eax, dword [str.XVW_mRNRY_M__0]
mov dword [ebp - 0x98], eax
je 0x4057f7
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x98], dl
inc ecx
cmp ecx, 4
jl 0x4057e1
sub esp, 0x18
lea eax, [ebp - 0x98]
mov ecx, esp
mov dword [ebp - 0xac], esp
push eax
call fcn.004042c3
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x98], esp
mov edi, 0x441ce8
push edi
call fcn.00405ac7
sub esp, 0x18
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.004042fc
push ebx
xor dl, dl
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd0]
call fcn.00408948
add esp, 0x7c
mov ecx, edi
push eax
call fcn.00405b13
lea ecx, [ebp - 0xc4]
call fcn.00404333
lea ecx, [ebp - 0xd0]
call fcn.004043bd
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb0], esp
push 0x438f3b
call fcn.004042c3
mov byte [ebp - 4], 0x14
cmp byte [0x4394e7], 0
mov eax, dword [str.R_B_b]
mov ecx, dword [0x4394e4]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], ecx
je 0x4058be
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0xb8], dl
inc ecx
cmp ecx, 8
jl 0x4058a8
sub esp, 0x18
lea eax, [ebp - 0xb8]
mov ecx, esp
mov dword [ebp - 0xac], esp
push eax
call fcn.004042c3
mov byte [ebp - 4], 0x15
cmp byte [0x439537], 0
mov eax, dword [str.XVW_mRNRY_M__0]
mov dword [ebp - 0x98], eax
je 0x405905
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x98], dl
inc ecx
cmp ecx, 4
jl 0x4058ef
sub esp, 0x18
lea eax, [ebp - 0x98]
mov ecx, esp
mov dword [ebp - 0xa8], esp
push eax
call fcn.004042c3
sub esp, 0x18
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0xa4], esp
push edi
call fcn.00405ac7
sub esp, 0x18
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.004042fc
push ebx
xor dl, dl
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd0]
call fcn.00408948
add esp, 0x7c
mov ecx, edi
push eax
call fcn.00405b13
lea ecx, [ebp - 0xc4]
call fcn.00404333
lea ecx, [ebp - 0xd0]
call fcn.004043bd
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb0], esp
push 0x438f3b
call fcn.004042c3
mov esi, str.UUUSM
mov byte [ebp - 4], 0x18
cmp byte [0x439553], 0
lea edi, [ebp - 0x58]
push 0x38
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
je 0x4059bb
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x58], dl
inc ecx
cmp ecx, 0xc
jl 0x4059a8
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
mov dword [ebp - 0xac], esp
push eax
call fcn.004042c3
mov byte [ebp - 4], 0x19
cmp byte [0x439537], 0
mov eax, dword [str.XVW_mRNRY_M__0]
mov dword [ebp - 0x98], eax
je 0x4059ff
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x98], dl
inc ecx
cmp ecx, 4
jl 0x4059e9
sub esp, 0x18
lea eax, [ebp - 0x98]
mov ecx, esp
mov dword [ebp - 0xa8], esp
push eax
call fcn.004042c3
sub esp, 0x18
mov byte [ebp - 4], 0x1a
mov ecx, esp
mov dword [ebp - 0xa4], esp
push 0x441ce8
call fcn.00405ac7
sub esp, 0x18
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.004042fc
push ebx
xor dl, dl
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd0]
call fcn.00408948
add esp, 0x7c
mov ecx, 0x441ce8
push eax
call fcn.00405b13
lea ecx, [ebp - 0xc4]
call fcn.00404333
lea ecx, [ebp - 0xd0]
call fcn.004043bd
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.00402616
mov eax, dword [ebp - 0x9c]
add eax, 0x18
cmp eax, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], eax
jne 0x40572d
lea ecx, [ebp - 0x40]
call fcn.004043bd
lea ecx, [ebp - 0x94]
call fcn.00402616
lea ecx, [ebp - 0x7c]
call fcn.00402616
lea ecx, [ebp + 8]
call fcn.00402616
call fcn.0041a8b9
ret