Function at 0xc46f70
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov dword [ebp - 0x14], 0x40
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
cmp eax, 0x20
jbe 0xc46f98
xor eax, eax
jmp 0xc471ce
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00c17a7c
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x10]
call fcn.00c5b8e0
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x14]
jbe 0xc47015
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00c3da50
push eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00c46d40
add esp, 0x14
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [ebp - 0x14]
sub ecx, eax
push ecx
push 0
lea ecx, [ebp - 0x10]
call fcn.00c3da50
mov esi, eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 4]
call edx
add esi, eax
push esi
call fcn.00c1e420
add esp, 0xc
jmp 0xc4704b
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00c3da50
push eax
call fcn.00c1c600
add esp, 0xc
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp + 0x10]
push edx
push 0
lea ecx, [ebp - 0x10]
call fcn.00c3da50
add eax, dword [ebp + 0x10]
push eax
call fcn.00c1e420
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
call fcn.00c17a7c
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 4]
call fcn.00c5b8e0
mov edx, dword [ebp - 0x14]
push edx
call fcn.00c17a7c
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 8]
call fcn.00c5b8e0
mov dword [ebp - 0x18], 0
jmp 0xc47093
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jae 0xc470dd
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.00c6ef50
movzx ebx, byte [eax]
xor ebx, 0x5c
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 4]
call fcn.00c6ef50
mov byte [eax], bl
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.00c6ef50
movzx ebx, byte [eax]
xor ebx, 0x36
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
call fcn.00c6ef50
mov byte [eax], bl
jmp 0xc4708a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
push eax
call fcn.00c17a7c
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xc]
call fcn.00c5b8e0
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 8]
call fcn.00c3da50
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
push eax
lea ecx, [ebp - 0xc]
call fcn.00c3da50
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 4]
call fcn.00c3da50
push eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
push eax
lea ecx, [ebp - 0xc]
call fcn.00c3da50
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0xc]
call fcn.00c724d0
lea ecx, [ebp - 8]
call fcn.00c724d0
lea ecx, [ebp - 4]
call fcn.00c724d0
lea ecx, [ebp - 0x10]
call fcn.00c724d0
mov eax, dword [ebp - 0x2c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret