Function at 0x4023d0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov eax, edx
mov ebx, 4
push esi
mov esi, ecx
mov dword [ebp - 8], eax
push edi
mov dword [ebp - 0x14], esi
lea edi, [eax + 0xe0]
nop
mov edx, 4
mov al, byte [edi]
inc edi
xor byte [ecx], al
inc ecx
sub edx, 1
jne 0x4023f5
sub ebx, 1
jne 0x4023f0
mov eax, dword [ebp - 8]
lea edx, [esi + 2]
add eax, 0xd0
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
jmp 0x402423
lea edx, [esi + 2]
mov al, byte [esi + 9]
mov edi, esi
mov cl, byte [esi + 0xd]
mov ebx, 4
mov byte [esi + 0xd], al
mov al, byte [esi + 5]
mov byte [esi + 9], al
mov al, byte [esi + 1]
mov byte [esi + 5], al
mov al, byte [esi + 0xa]
mov byte [esi + 1], cl
mov cl, byte [edx]
mov byte [edx], al
mov al, byte [esi + 0xe]
mov byte [esi + 0xa], cl
mov cl, byte [esi + 6]
mov byte [esi + 6], al
mov al, byte [esi + 7]
mov byte [esi + 0xe], cl
mov cl, byte [esi + 3]
mov byte [esi + 3], al
mov al, byte [esi + 0xb]
mov byte [esi + 7], al
mov al, byte [esi + 0xf]
mov byte [esi + 0xb], al
mov byte [esi + 0xf], cl
mov ecx, edi
mov edx, 4
nop word [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
mov al, byte [eax + 0x4581d8]
mov byte [ecx - 4], al
sub edx, 1
jne 0x402480
inc edi
sub ebx, 1
jne 0x402470
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ebx, 4
mov edi, 4
nop dword [eax]
mov cl, byte [edx]
inc edx
xor byte [eax], cl
inc eax
sub edi, 1
jne 0x4024b0
sub ebx, 1
jne 0x4024a4
mov edi, dword [ebp - 0x10]
lea esi, [ebx + 4]
mov al, byte [edi - 2]
mov dl, 9
mov bh, byte [edi + 1]
mov byte [ebp - 3], al
mov cl, bh
mov al, byte [edi - 1]
mov byte [ebp - 2], al
mov al, byte [edi]
mov byte [ebp - 1], al
call fcn.00402300
mov cl, byte [ebp - 1]
mov dl, 0xd
mov bl, al
call fcn.00402300
mov cl, byte [ebp - 2]
mov dl, 0xb
xor bl, al
call fcn.00402300
mov cl, byte [ebp - 3]
mov dl, 0xe
xor bl, al
call fcn.00402300
xor bl, al
mov dl, 0xd
mov cl, bh
mov byte [edi - 2], bl
call fcn.00402300
mov cl, byte [ebp - 1]
mov dl, 0xb
mov bl, al
call fcn.00402300
mov cl, byte [ebp - 2]
mov dl, 0xe
xor bl, al
call fcn.00402300
mov cl, byte [ebp - 3]
mov dl, 9
xor bl, al
call fcn.00402300
xor bl, al
mov dl, 0xb
mov cl, bh
mov byte [edi - 1], bl
call fcn.00402300
mov cl, byte [ebp - 1]
mov dl, 0xe
mov bl, al
call fcn.00402300
mov cl, byte [ebp - 2]
mov dl, 9
xor bl, al
call fcn.00402300
mov cl, byte [ebp - 3]
mov dl, 0xd
xor bl, al
call fcn.00402300
xor bl, al
mov dl, 0xe
mov cl, bh
mov byte [edi], bl
call fcn.00402300
mov cl, byte [ebp - 1]
mov dl, 9
mov bl, al
call fcn.00402300
mov cl, byte [ebp - 2]
mov dl, 0xd
xor bl, al
call fcn.00402300
mov cl, byte [ebp - 3]
mov dl, 0xb
xor bl, al
call fcn.00402300
xor bl, al
lea edi, [edi + 4]
mov byte [edi - 3], bl
sub esi, 1
jne 0x4024c6
mov ch, byte [ebp - 4]
sub dword [ebp - 0xc], 0x10
dec ch
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], ch
test ch, ch
jne 0x402420
mov al, byte [esi + 9]
mov edi, esi
mov cl, byte [esi + 0xd]
mov ebx, 4
mov byte [esi + 0xd], al
mov al, byte [esi + 5]
mov byte [esi + 9], al
mov al, byte [esi + 1]
mov byte [esi + 5], al
mov al, byte [esi + 0xa]
mov byte [esi + 1], cl
mov cl, byte [esi + 2]
mov byte [esi + 2], al
mov al, byte [esi + 0xe]
mov byte [esi + 0xa], cl
mov cl, byte [esi + 6]
mov byte [esi + 6], al
mov al, byte [esi + 7]
mov byte [esi + 0xe], cl
mov cl, byte [esi + 3]
mov byte [esi + 3], al
mov al, byte [esi + 0xb]
mov byte [esi + 7], al
mov al, byte [esi + 0xf]
mov byte [esi + 0xb], al
mov byte [esi + 0xf], cl
mov ecx, edi
mov edx, 4
nop word [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
mov al, byte [eax + 0x4581d8]
mov byte [ecx - 4], al
sub edx, 1
jne 0x402620
inc edi
sub ebx, 1
jne 0x402613
sub dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
mov edx, dword [ebp - 8]
mov ecx, 4
nop dword [eax]
mov al, byte [edx + esi]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x402650
sub dword [ebp - 0xc], 1
jne 0x402644
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret