Function at 0x420620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x160
mov dword [esp + 0x18], 0xf3b3cde9
mov dword [esp + 0x1c], 0xf766f160
mov dword [esp + 0x20], 0xfb9bf5b0
mov dword [esp + 0x24], 0xff9ff96c
mov dword [esp + 0x28], 0xe3e2fdd9
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x9c], 0
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x1f
ja 0x4206e5
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x9c]
movzx edx, byte [esp + edx + 0x18]
mov esi, 0xa1
sub esi, ecx
add ecx, 0x4651055e
xor esi, ecx
and esi, edx
xor esi, ecx
mov dword [esp + 0xc4], esi
mov ecx, dword [esp + 0xc4]
add cl, 0x6e
mov edx, dword [esp + 0x9c]
mov byte [esp + edx + 0x18], cl
inc dword [esp + 0x9c]
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x20
jb 0x420690
lea esi, [esp + 0x132]
lea edx, [esp + 0x18]
mov edi, esi
mov ecx, 5
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x146]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea edi, [esp + 0x98]
push edi
push 0
push 0
push 9
push esi
push 0
call dword [0x4412d8]
mov ebx, dword [esp + 0x98]
test ebx, ebx
jns 0x420734
mov eax, 0xffffffff
jmp 0x420737
lea eax, [ebx + ebx]
push eax
call fcn.00409030
add esp, 4
push edi
push ebx
mov dword [esp + 0x84], eax
push eax
push 9
push esi
push 0
call dword [0x4412d8]
mov dword [esp + 0x18], 0x63cb61a4
mov dword [esp + 0x1c], 0x67c565f7
mov dword [esp + 0x20], 0x6bf869c7
mov dword [esp + 0x24], 0x6f6e6dc8
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0
mov word [esp + 0x2c], 0
mov dword [esp + 0x9c], 0
mov eax, dword [esp + 0x9c]
cmp eax, 0x15
ja 0x4207f3
nop
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x9c]
movzx ecx, byte [esp + ecx + 0x18]
mov esi, 0x6f
sub esi, eax
add eax, 0xa0982a90
xor esi, eax
and esi, ecx
xor esi, eax
mov dword [esp + 0xc4], esi
mov eax, dword [esp + 0xc4]
add al, 0x10
mov ecx, dword [esp + 0x9c]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 0x9c]
mov eax, dword [esp + 0x9c]
cmp eax, 0x16
jb 0x4207a0
lea edi, [esp + 0x122]
lea esi, [esp + 0x18]
mov ecx, 4
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [esp + 0x132]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov dword [esp + 0x18], 0x5bb35994
mov dword [esp + 0x1c], 0x47a545d7
mov dword [esp + 0x20], 0x43d041d7
mov dword [esp + 0x24], 0x4f8d4da0
mov dword [esp + 0x28], 0x4bdc49a9
mov dword [esp + 0x2c], 0x77e47595
mov dword [esp + 0x30], 0x737271e9
lea esi, [esp + 0x34]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov word [esp + 0x3c], 0
mov dword [esp + 0x9c], 0
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x25
ja 0x4208e5
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x9c]
movzx edx, byte [esp + edx + 0x18]
mov edi, 0x73
sub edi, ecx
add ecx, 0x1e725d8c
xor edi, ecx
and edi, edx
xor edi, ecx
mov dword [esp + 0xc4], edi
mov ecx, dword [esp + 0xc4]
add cl, 0x2c
mov edx, dword [esp + 0x9c]
mov byte [esp + edx + 0x18], cl
inc dword [esp + 0x9c]
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x26
jb 0x420890
lea edx, [esp + 0x9c]
lea ebx, [esp + 0x18]
mov edi, edx
mov ecx, 7
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
lea edi, [esp + 0xb8]
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov dword [esp + 0x18], 0x5be35984
mov dword [esp + 0x1c], 0x57f555e7
mov dword [esp + 0x20], 0x53e051e7
mov dword [esp + 0x24], 0x2ffe2d90
mov dword [esp + 0x28], 0x2be82984
lea ebx, [esp + 0x2c]
mov word [esp + 0x2c], 0x2524
mov dword [esp + 0x2e], 0
mov dword [esp + 0x32], 0
mov byte [esp + 0x36], 0
mov dword [esp + 0xf8], 0
mov ecx, dword [esp + 0xf8]
cmp ecx, 0x1e
ja 0x4209c5
nop
nop
nop
nop
mov ecx, dword [esp + 0xf8]
mov esi, dword [esp + 0xf8]
movzx esi, byte [esp + esi + 0x18]
mov edi, 0xcb
sub edi, ecx
add ecx, 0x9c26234
xor edi, ecx
and edi, esi
xor edi, ecx
mov dword [esp + 0xc4], edi
mov ecx, dword [esp + 0xc4]
add cl, 0x94
mov esi, dword [esp + 0xf8]
mov byte [esp + esi + 0x18], cl
inc dword [esp + 0xf8]
mov ecx, dword [esp + 0xf8]
cmp ecx, 0x1f
jb 0x420970
lea esi, [esp + 0x146]
lea eax, [esp + 0x18]
mov edi, esi
mov ecx, 5
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0x15a]
mov ecx, 1
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
lea eax, [esp + 0x122]
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], edx
mov dword [esp + 0x11c], esi
mov eax, dword [esp + 0x7c]
add eax, 2
mov dword [esp + 0xb8], eax
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x90], 0
cmp ecx, 0xc
setne al
xor ebx, ebx
jmp dword [eax*4 + 0x43df8c]