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

Disassembly:
sub esp, 0x198
mov eax, dword [0x4c437c]
xor eax, esp
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0x1ac]
push ebx
mov ebx, dword [esp + 0x1a8]
push ebp
push esi
mov esi, dword [esp + 0x1ac]
cmp esi, 0x40
push edi
mov edi, dword [esp + 0x1ac]
mov dword [esp + 0x10], eax
jle 0x4527e9
lea ecx, [esp + 0xcc]
push ecx
call fcn.00468590
lea edx, [esp + 0xd0]
push edx
push esi
push edi
call fcn.004685e0
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x13c]
push ecx
call fcn.004686f0
lea edx, [esp + 0xe4]
mov ecx, 0x5c
add esp, 0x18
lea edi, [esp + 0x128]
mov esi, 0x14
mov ebp, ecx
mov eax, edx
lea ecx, [ecx]
mov byte [eax], 0
inc eax
sub ebp, 1
jne 0x4527d0
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x4527e0
lea edx, [esp + 0x14]
push edx
call fcn.00468590
add esp, 4
xor eax, eax
test esi, esi
jle 0x452824
mov ebp, edi
lea ecx, [esp + 0x164]
sub ebp, ecx
jmp 0x452810
lea ecx, [esp + eax + 0x164]
mov dl, byte [ecx + ebp]
xor dl, 0x36
inc eax
cmp eax, esi
mov byte [ecx], dl
jl 0x452810
cmp esi, 0x40
jge 0x452843
mov ecx, 0x40
sub ecx, esi
push ecx
lea eax, [esp + esi + 0x168]
push 0x36
push eax
call fcn.00469be0
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x168]
push 0x40
push eax
call fcn.004685e0
mov edx, dword [esp + 0x1c4]
lea ecx, [esp + 0x20]
push ecx
push edx
push ebx
call fcn.004685e0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x158]
push ecx
call fcn.004686f0
lea edx, [esp + 0x90]
push edx
call fcn.00468590
add esp, 0x24
xor eax, eax
test esi, esi
jle 0x4528b4
lea ecx, [esp + 0x164]
sub edi, ecx
jmp 0x4528a0
lea ecx, [esp + eax + 0x164]
mov dl, byte [edi + ecx]
xor dl, 0x5c
inc eax
cmp eax, esi
mov byte [ecx], dl
jl 0x4528a0
cmp esi, 0x40
jge 0x4528d3
mov ecx, 0x40
sub ecx, esi
push ecx
lea eax, [esp + esi + 0x168]
push 0x5c
push eax
call fcn.00469be0
add esp, 0xc
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x168]
push 0x40
push eax
call fcn.004685e0
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x14c]
push 0x14
push edx
call fcn.004685e0
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x16c]
push ecx
call fcn.004686f0
mov eax, dword [esp + 0x1e0]
add esp, 0x20
cmp eax, 0x14
jle 0x452924
mov eax, 0x14
test eax, eax
jle 0x45293e
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x154]
push edx
push eax
call fcn.00469d40
add esp, 0xc
lea edx, [esp + 0x14]
mov ecx, 0x5c
mov esi, ecx
mov eax, edx
jmp 0x452950
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x452950
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x452960
lea edx, [esp + 0x70]
mov ecx, 0x5c
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x452976
nop
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x452980
lea edx, [esp + 0x13c]
mov ecx, 0x14
mov esi, ecx
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x4529a0
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x4529b0
lea edx, [esp + 0x150]
mov ecx, 0x14
mov esi, ecx
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x4529d0
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x4529e0
lea edx, [esp + 0x164]
mov ecx, 0x40
mov esi, ecx
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x452a00
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x452a10
lea edx, [esp + 0x128]
mov ecx, 0x14
mov esi, ecx
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x452a30
pop edi
pop esi
pop ebp
pop ebx
lea ecx, [ecx]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x452a40
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0046a1be
add esp, 0x198
ret