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

Disassembly:
sub esp, 0x300
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0x2fc], eax
mov eax, dword [esp + 0x314]
push ebx
mov ebx, dword [esp + 0x310]
push ebp
push esi
mov esi, dword [esp + 0x314]
cmp esi, 0x40
push edi
mov edi, dword [esp + 0x314]
mov dword [esp + 0x10], eax
jle 0x44eb19
lea ecx, [esp + 0x164]
push ecx
call fcn.0046a810
lea edx, [esp + 0x168]
push edx
lea eax, [esi*8]
push eax
push edi
call fcn.0046a890
lea ecx, [esp + 0x29c]
push ecx
lea edx, [esp + 0x178]
push edx
call fcn.0046aa50
lea edx, [esp + 0x17c]
mov ecx, 0xa8
add esp, 0x18
lea edi, [esp + 0x28c]
mov esi, 0x40
mov ebp, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub ebp, 1
jne 0x44eb04
lea ecx, [ecx]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44eb10
lea eax, [esp + 0xbc]
push eax
call fcn.0046a810
add esp, 4
xor eax, eax
test esi, esi
jle 0x44eb54
mov ebp, edi
lea ecx, [esp + 0x20c]
sub ebp, ecx
lea ebx, [ebx]
lea ecx, [esp + eax + 0x20c]
mov dl, byte [ecx + ebp]
xor dl, 0x36
inc eax
cmp eax, esi
mov byte [ecx], dl
jl 0x44eb40
cmp esi, 0x40
jge 0x44eb73
mov ecx, 0x40
sub ecx, esi
push ecx
lea eax, [esp + esi + 0x210]
push 0x36
push eax
call fcn.0046bf90
add esp, 0xc
lea edx, [esp + 0xbc]
push edx
lea eax, [esp + 0x210]
push 0x200
push eax
call fcn.0046a890
mov edx, dword [esp + 0x32c]
lea ecx, [esp + 0xc8]
push ecx
lea eax, [edx*8]
push eax
push ebx
call fcn.0046a890
lea ecx, [esp + 0x264]
push ecx
lea edx, [esp + 0xd8]
push edx
call fcn.0046aa50
lea eax, [esp + 0x34]
push eax
call fcn.0046a810
add esp, 0x24
xor eax, eax
test esi, esi
jle 0x44ebf4
lea ecx, [esp + 0x20c]
sub edi, ecx
jmp 0x44ebe0
lea ecx, [esp + eax + 0x20c]
mov dl, byte [edi + ecx]
xor dl, 0x5c
inc eax
cmp eax, esi
mov byte [ecx], dl
jl 0x44ebe0
cmp esi, 0x40
jge 0x44ec13
mov ecx, 0x40
sub ecx, esi
push ecx
lea eax, [esp + esi + 0x210]
push 0x5c
push eax
call fcn.0046bf90
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x210]
push 0x200
push eax
call fcn.0046a890
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x25c]
push 0x200
push edx
call fcn.0046a890
lea eax, [esp + 0x2e4]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0046aa50
mov eax, dword [esp + 0x348]
add esp, 0x20
cmp eax, 0x40
jle 0x44ec67
mov eax, 0x40
test eax, eax
jle 0x44ec81
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x2d0]
push edx
push eax
call fcn.0046dd00
add esp, 0xc
lea edx, [esp + 0xbc]
mov ecx, 0xa8
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44ec91
lea ebx, [ebx]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44eca0
lea edx, [esp + 0x14]
mov ecx, 0xa8
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44ecb6
nop
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44ecc0
lea edx, [esp + 0x2cc]
mov ecx, 0x40
mov esi, ecx
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44ece0
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44ecf0
lea edx, [esp + 0x24c]
mov ecx, 0x40
mov esi, ecx
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44ed10
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44ed20
lea edx, [esp + 0x20c]
mov ecx, 0x40
mov esi, ecx
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44ed40
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44ed50
lea edx, [esp + 0x28c]
mov ecx, 0x40
mov esi, ecx
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44ed70
pop edi
pop esi
pop ebp
pop ebx
lea ecx, [ecx]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44ed80
mov ecx, dword [esp + 0x2fc]
xor ecx, esp
call fcn.0046be7b
add esp, 0x300
ret