Function at 0x405c30
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x41e568]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x405c55
cmp dword [ebp + 0x14], 0
je 0x405c55
cmp dword [ebp + 0x18], 0
jne 0x405c5c
xor al, al
jmp 0x405f61
cmp dword [ebp + 8], 0x40
jne 0x405c9d
mov dword [ebp - 0xc8], 0
jmp 0x405c7d
mov eax, dword [ebp - 0xc8]
add eax, 1
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0x40
jae 0x405c9d
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xc8]
mov al, byte [ecx]
mov byte [ebp + edx - 0x44], al
jmp 0x405c6e
cmp dword [ebp + 8], 0x40
jbe 0x405d04
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00405840
add esp, 0xc
mov dword [ebp - 0xc8], 0x20
jmp 0x405cd2
mov ecx, dword [ebp - 0xc8]
add ecx, 1
mov dword [ebp - 0xc8], ecx
cmp dword [ebp - 0xc8], 0x40
jae 0x405d04
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xd4], edx
cmp dword [ebp - 0xd4], 0x40
jae 0x405cf2
jmp 0x405cf7
call fcn.00406b20
mov eax, dword [ebp - 0xd4]
mov byte [ebp + eax - 0x44], 0
jmp 0x405cc3
cmp dword [ebp + 8], 0x40
jae 0x405d97
mov dword [ebp - 0xc8], 0
jmp 0x405d29
mov ecx, dword [ebp - 0xc8]
add ecx, 1
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xc8]
cmp edx, dword [ebp + 8]
jae 0x405d4b
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc8]
mov dl, byte [eax]
mov byte [ebp + ecx - 0x44], dl
jmp 0x405d1a
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc8], eax
jmp 0x405d65
mov ecx, dword [ebp - 0xc8]
add ecx, 1
mov dword [ebp - 0xc8], ecx
cmp dword [ebp - 0xc8], 0x40
jae 0x405d97
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xd8], edx
cmp dword [ebp - 0xd8], 0x40
jae 0x405d85
jmp 0x405d8a
call fcn.00406b20
mov eax, dword [ebp - 0xd8]
mov byte [ebp + eax - 0x44], 0
jmp 0x405d56
mov dword [ebp - 0xc8], 0
jmp 0x405db2
mov ecx, dword [ebp - 0xc8]
add ecx, 1
mov dword [ebp - 0xc8], ecx
cmp dword [ebp - 0xc8], 0x40
jae 0x405df3
mov edx, dword [ebp - 0xc8]
movzx eax, byte [ebp + edx - 0x44]
xor eax, 0x36
mov ecx, dword [ebp - 0xc8]
mov byte [ebp + ecx - 0x84], al
mov edx, dword [ebp - 0xc8]
movzx eax, byte [ebp + edx - 0x44]
xor eax, 0x5c
mov ecx, dword [ebp - 0xc8]
mov byte [ebp + ecx - 0xc4], al
jmp 0x405da3
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
call fcn.00405f95
add esp, 4
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xd0], eax
push 0x60
call fcn.00405f95
add esp, 4
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xc8], 0
jmp 0x405e4b
mov edx, dword [ebp - 0xc8]
add edx, 1
mov dword [ebp - 0xc8], edx
cmp dword [ebp - 0xc8], 0x40
jae 0x405e71
mov eax, dword [ebp - 0xd0]
add eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc8]
mov dl, byte [ebp + ecx - 0x84]
mov byte [eax], dl
jmp 0x405e3c
mov dword [ebp - 0xc8], 0
jmp 0x405e8c
mov eax, dword [ebp - 0xc8]
add eax, 1
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
cmp ecx, dword [ebp + 0x10]
jae 0x405eb3
mov edx, dword [ebp - 0xd0]
add edx, dword [ebp - 0xc8]
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0xc8]
mov cl, byte [eax]
mov byte [edx + 0x40], cl
jmp 0x405e7d
mov dword [ebp - 0xc8], 0
jmp 0x405ece
mov edx, dword [ebp - 0xc8]
add edx, 1
mov dword [ebp - 0xc8], edx
cmp dword [ebp - 0xc8], 0x40
jae 0x405ef4
mov eax, dword [ebp - 0xcc]
add eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc8]
mov dl, byte [ebp + ecx - 0xc4]
mov byte [eax], dl
jmp 0x405ebf
mov eax, dword [ebp - 0xcc]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
call fcn.00405840
add esp, 0xc
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0xcc]
push ecx
push 0x60
call fcn.00405840
add esp, 0xc
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xe0]
push eax
call fcn.0040600b
add esp, 4
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebp - 0xe8]
push edx
call fcn.0040600b
add esp, 4
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406010
mov esp, ebp
pop ebp
ret