Function at 0x452190
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x3b8
mov eax, dword [0x4c437c]
xor eax, esp
mov dword [esp + 0x3b4], eax
mov eax, dword [esp + 0x3cc]
push ebx
mov ebx, dword [esp + 0x3c8]
push ebp
push esi
mov esi, dword [esp + 0x3cc]
cmp esi, 0x80
push edi
mov edi, dword [esp + 0x3cc]
mov dword [esp + 0x10], eax
jle 0x452239
lea ecx, [esp + 0x1b4]
push ecx
call fcn.00464e50
lea edx, [esp + 0x1b8]
push edx
push esi
push edi
call fcn.004648f0
lea eax, [esp + 0x1c4]
push eax
lea ecx, [esp + 0x318]
push ecx
call fcn.00464e90
lea edx, [esp + 0x1cc]
mov ecx, 0xd0
add esp, 0x18
lea edi, [esp + 0x304]
mov esi, 0x40
mov ebp, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub ebp, 1
jne 0x452220
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x452230
lea edx, [esp + 0x14]
push edx
call fcn.00464e50
add esp, 4
xor eax, eax
test esi, esi
jle 0x452274
mov ebp, edi
lea ecx, [esp + 0x284]
sub ebp, ecx
jmp 0x452260
lea ecx, [esp + eax + 0x284]
mov dl, byte [ecx + ebp]
xor dl, 0x36
inc eax
cmp eax, esi
mov byte [ecx], dl
jl 0x452260
cmp esi, 0x80
jge 0x452296
mov ecx, 0x80
sub ecx, esi
push ecx
lea eax, [esp + esi + 0x288]
push 0x36
push eax
call fcn.00469be0
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x288]
push 0x80
push eax
call fcn.004648f0
mov edx, dword [esp + 0x3e4]
lea ecx, [esp + 0x20]
push ecx
push edx
push ebx
call fcn.004648f0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3a0]
push ecx
call fcn.00464e90
lea edx, [esp + 0x104]
push edx
call fcn.00464e50
add esp, 0x24
xor eax, eax
test esi, esi
jle 0x452305
lea ecx, [esp + 0x284]
sub edi, ecx
lea ecx, [esp + eax + 0x284]
mov dl, byte [edi + ecx]
xor dl, 0x5c
inc eax
cmp eax, esi
mov byte [ecx], dl
jl 0x4522f1
cmp esi, 0x80
jge 0x452327
mov ecx, 0x80
sub ecx, esi
push ecx
lea eax, [esp + esi + 0x288]
push 0x5c
push eax
call fcn.00469be0
add esp, 0xc
lea edx, [esp + 0xe4]
push edx
lea eax, [esp + 0x288]
push 0x80
push eax
call fcn.004648f0
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0x394]
push 0x40
push edx
call fcn.004648f0
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x360]
push ecx
call fcn.00464e90
mov eax, dword [esp + 0x400]
add esp, 0x20
cmp eax, 0x40
jle 0x452381
mov eax, 0x40
test eax, eax
jle 0x45239b
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x348]
push edx
push eax
call fcn.00469d40
add esp, 0xc
lea edx, [esp + 0x14]
mov ecx, 0xd0
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x4523a8
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x4523b1
lea edx, [esp + 0xe4]
mov ecx, 0xd0
mov esi, ecx
mov eax, edx
lea ebx, [ebx]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x4523d0
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x4523e0
lea edx, [esp + 0x384]
mov ecx, 0x40
mov esi, ecx
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x452400
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x452410
lea edx, [esp + 0x344]
mov ecx, 0x40
mov esi, ecx
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x452430
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x452440
lea edx, [esp + 0x284]
mov ecx, 0x80
mov esi, ecx
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x452460
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x452470
lea edx, [esp + 0x304]
mov ecx, 0x40
mov esi, ecx
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x452490
pop edi
pop esi
pop ebp
pop ebx
lea ecx, [ecx]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x4524a0
mov ecx, dword [esp + 0x3b4]
xor ecx, esp
call fcn.0046a1be
add esp, 0x3b8
ret