Function at 0x4215c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x468
mov ecx, dword [esp + 0x474]
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__itoa]
push ebp
push esi
push edi
lea eax, [esp + 0x50]
push 0x10
push eax
push ecx
call ebx
or ecx, 0xffffffff
lea edi, [esp + 0x48]
xor eax, eax
mov byte [esp + 0x48], 0x53
mov byte [esp + 0x49], 0
lea edx, [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea edi, [esp + 0x5c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x48], 0x57
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov byte [esp + 0x49], al
and ecx, 3
lea edx, [esp + 0x70]
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x48]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x70]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x5c]
mov ebp, ecx
push 0x10
push eax
push ebp
call ebx
add esp, 0x18
xor eax, eax
test ebp, ebp
jle 0x4216df
mov dl, byte [esp + 0x480]
mov cl, dl
shl cl, 3
shl dl, 4
mov bl, byte [esp + eax + 0x28]
xor bl, cl
mov byte [esp + eax + 0x28], bl
mov bl, byte [esp + eax + 0x64]
xor bl, dl
mov byte [esp + eax + 0x64], bl
inc eax
cmp eax, ebp
jl 0x4216c6
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x1c], 0xa
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1a]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x12]
and ecx, 3
mov dword [esp + 0x14], 1
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x78]
push ecx
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x494]
push ecx
push edx
push 6
call fcn.00427660
add esp, 0x24
test ax, ax
je 0x42175b
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x468
ret
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x1c], 0xb
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1a]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x12]
and ecx, 3
mov dword [esp + 0x14], ebp
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x78]
push ecx
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x494]
push ecx
push edx
push 6
call fcn.00427660
add esp, 0x24
test ax, ax
je 0x4217d3
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x468
ret
lea eax, [ebp + 0xb]
lea edi, [esp + 0x64]
mov dword [esp + 0x1c], eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], ebp
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1a]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x12]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x78]
push ecx
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x494]
push ecx
push edx
push 6
call fcn.00427660
add esp, 0x24
test ax, ax
pop edi
pop esi
pop ebp
pop ebx
sete al
add esp, 0x468
ret