Function at 0x58aad0
Capabilities:
Authenticate hmac

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58ad77
sub esp, 0x30
lea eax, [0x627c00]
mov dword [esp], eax
call fcn.0040b460
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov edx, dword [esp + 0x28]
mov dword [edx + 0x18], ecx
mov ecx, dword [0x7e0970]
test ecx, ecx
jne 0x58ab24
mov dword [edx + 0x1c], eax
jmp 0x58ab2c
lea edi, [edx + 0x1c]
call fcn.0045e4b0
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov ebx, dword [esp + 0x28]
mov dword [ebx + 0x20], ecx
mov ecx, dword [0x7e0970]
test ecx, ecx
jne 0x58ab51
mov dword [ebx + 0x24], eax
jmp 0x58ab59
lea edi, [ebx + 0x24]
call fcn.0045e4b0
mov byte [esp + 0x1f], 1
mov dword [esp], ebx
lea eax, [esp + 0x1f]
mov dword [esp + 4], eax
call fcn.0058ad90
movzx eax, byte [esp + 0x1f]
test al, al
je 0x58ad5e
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
lea ecx, [0x612b40]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004476a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov ebx, dword [0x7e0970]
test ebx, ebx
jne 0x58abc8
mov dword [edx + 0xc], eax
jmp 0x58abd0
lea edi, [edx + 0xc]
call fcn.0045e4b0
lea eax, [0x612b40]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004476a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov edx, dword [0x7e0970]
test edx, edx
jne 0x58ac06
mov dword [edi], eax
jmp 0x58ac0b
call fcn.0045e4b0
mov edx, dword [esp + 0x3c]
cmp edx, ecx
jg 0x58ac19
mov eax, dword [esp + 0x38]
jmp 0x58ac73
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], ecx
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov edx, ecx
mov ebx, dword [edi + 0xc]
mov ebp, dword [edi + 0x10]
cmp edx, ebp
jge 0x58ac81
mov ecx, edx
jmp 0x58ac85
mov ecx, edx
mov edx, ebp
cmp eax, ebx
je 0x58acad
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0045ee00
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov edx, dword [edi]
mov ebx, dword [edi + 4]
cmp ecx, ebx
jl 0x58acb8
mov ecx, ebx
cmp eax, edx
je 0x58acd0
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0045ee00
mov edi, dword [esp + 0x28]
mov edx, dword [edi + 0x10]
xor eax, eax
jmp 0x58ace6
movzx ebp, byte [eax + ebx]
xor ebp, 0x36
xchg ebp, ecx
mov byte [ebx + eax], cl
xchg ebp, ecx
inc eax
cmp eax, edx
jge 0x58acf6
mov ebx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
cmp eax, ecx
jb 0x58acd7
jmp 0x58ad59
mov edx, dword [edi + 4]
xor eax, eax
jmp 0x58ad0c
movzx ebp, byte [eax + ebx]
xor ebp, 0x5c
xchg ebp, ecx
mov byte [ebx + eax], cl
xchg ebp, ecx
inc eax
cmp eax, edx
jge 0x58ad1b
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
cmp eax, ecx
jb 0x58acfd
jmp 0x58ad54
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov eax, dword [eax + 0x20]
mov edx, dword [edi + 0xc]
mov ebx, dword [edi + 0x10]
mov ebp, dword [edi + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call eax
lea eax, [0x6915cc]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], eax
add esp, 0x30
ret
call fcn.0045e530
call fcn.0045e530
lea eax, [0x612980]
mov dword [esp], eax
lea eax, [0x6903ec]
mov dword [esp + 4], eax
call fcn.00433710
nop
call fcn.0045d0a0
jmp fcn.0058aad0