Function at 0x4207c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x54
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov edi, dword [eax + 4]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, edx
cmp word [edi + edx + 2], 0
lea edx, [edx + 2]
jne 0x4207e0
mov esi, dword [ecx + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x420800
sar edx, 1
sar eax, 1
lea ecx, [edx + eax]
mov dword [esp + 0x4c], eax
add eax, edx
add eax, 0x1b
test eax, eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x48], ecx
jns 0x42082e
mov eax, 0xffffffff
jmp 0x420835
lea eax, [ecx*2 + 0x36]
push eax
call fcn.0040c900
add esp, 4
mov dword [esp + 0xc], 0x17e219fc
mov dword [esp + 0x10], 0x138d1587
mov dword [esp + 0x14], 0xf9a11f1
mov dword [esp + 0x18], 0xbf70d2c
mov dword [esp + 0x1c], 0x78a0980
mov dword [esp + 0x20], 0x3900599
mov dword [esp + 0x24], 0x3fa7018f
mov dword [esp + 0x28], 0x3ba83daf
mov dword [esp + 0x2c], 0x37d93918
mov dword [esp + 0x30], 0x33be35a9
mov dword [esp + 0x34], 0x2fb731bc
mov dword [esp + 0x38], 0x2bb12dbe
mov dword [esp + 0x3c], 0x27c229a7
mov word [esp + 0x40], 0x2524
mov dword [esp + 0x42], 0
mov word [esp + 0x46], 0
mov ebp, 0x46
mov ecx, 0xb9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ebp - 0x3a]
mov ebx, ecx
or ebx, edx
not edx
or edx, ebp
add edx, ebx
mov bl, 0xa0
sub bl, dl
mov byte [esp + ebp - 0x3a], bl
inc ebp
dec ecx
cmp ebp, 0x82
jne 0x4208d0
movzx ecx, word [edi]
mov ebx, eax
test cx, cx
je 0x420911
add edi, 2
mov ebx, eax
mov word [ebx], cx
add ebx, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x420900
mov word [ebx], 0
movzx ecx, word [esp + 0xc]
test cx, cx
je 0x420941
lea edx, [esp + 0xe]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x420930
mov word [ebx], 0
movzx ecx, word [esi]
test cx, cx
mov dword [esp + 4], eax
je 0x420971
add esi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x420960
mov word [ebx], 0
mov eax, dword [esp + 0x6c]
mov ebp, dword [eax]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebp + eax + 2], 0
lea eax, [eax + 2]
jne 0x420990
mov ecx, dword [esp + 0x6c]
mov ebx, dword [ecx + 8]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x4209b0
mov edx, dword [esp + 0x70]
mov edi, dword [edx]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + edx + 2], 0
lea edx, [edx + 2]
jne 0x4209d0
sar eax, 1
sar ecx, 1
sar edx, 1
add ecx, eax
lea eax, [edx + ecx]
add eax, 0x13
test eax, eax
jns 0x4209f4
mov eax, 0xffffffff
jmp 0x4209fd
add ecx, edx
lea eax, [ecx*2 + 0x26]
push eax
call fcn.0040c900
add esp, 4
mov esi, eax
movzx eax, word [ebp]
mov dword [esp + 8], esi
test ax, ax
je 0x420a32
add ebp, 2
mov esi, dword [esp + 8]
nop
nop
nop
nop
mov word [esi], ax
add esi, 2
movzx eax, word [ebp]
add ebp, 2
test ax, ax
jne 0x420a20
mov word [esi], 0x2f
mov dword [esp + 0xc], 0xc971cb1d
mov dword [esp + 0x10], 0xc54ac740
mov dword [esp + 0x14], 0xc150c35f
mov dword [esp + 0x18], 0xbd29bf4d
mov dword [esp + 0x1c], 0xb928bb2d
mov dword [esp + 0x20], 0xb567b735
mov word [esp + 0x24], 0xb3b4
mov dword [esp + 0x26], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0xc]
lea edx, [eax - 0x8b8d14d]
and edx, ecx
add edx, edx
neg edx
add edx, eax
add edx, 0xf7472eb3
add dl, cl
add dl, 0x81
mov byte [esp + eax + 0xc], dl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x1e
jb 0x420a80
add esi, 2
movzx eax, word [ebx]
test ax, ax
mov ebp, dword [esp + 4]
je 0x420ae1
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [esi], ax
add esi, 2
movzx eax, word [ebx]
add ebx, 2
test ax, ax
jne 0x420ad0
mov word [esi], 0
movzx eax, word [esp + 0xc]
test ax, ax
je 0x420b11
lea ecx, [esp + 0xe]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [esi], ax
add esi, 2
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420b00
mov word [esi], 0
movzx eax, word [edi]
test ax, ax
je 0x420b41
add edi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [esi], ax
add esi, 2
movzx eax, word [edi]
add edi, 2
test ax, ax
jne 0x420b30
mov word [esi], 0
mov dword [esp + 0xc], 0x292a2bca
mov dword [esp + 0x10], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + ecx + 0xc]
mov edx, ecx
xor edx, 0x89d0c8c7
add edx, eax
mov ebx, edx
and ebx, edi
or edx, edi
xor edx, ebx
add dl, 0x1d
mov byte [esp + ecx + 0xc], dl
inc ecx
add eax, 2
cmp ecx, 8
jne 0x420b60
lea eax, [esp + 0xc]
push 0
push 0
push 0xc00000
push eax
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x80]
call fcn.00423d60
add esp, 0x1c
mov ebx, eax
jmp dword [0x44b78c]