Function at 0x58f1b0
Capabilities:
Authenticate hmac

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58f452
sub esp, 0x28
lea eax, [0x7b88c0]
mov dword [esp], eax
call fcn.0040b570
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx]
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov edx, dword [esp + 0x24]
mov dword [edx + 0x18], ecx
mov ecx, dword [0xa8c6b0]
test ecx, ecx
jne 0x58f43a
mov dword [edx + 0x1c], eax
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
call eax
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0x24]
mov dword [ebx + 0x20], eax
mov ebp, dword [0xa8c6b0]
test ebp, ebp
jne 0x58f427
mov dword [ebx + 0x24], ecx
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
lea ecx, [0x787b20]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004430a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov ebx, dword [0xa8c6b0]
test ebx, ebx
jne 0x58f41a
mov dword [edx + 0xc], eax
lea eax, [0x787b20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004430a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov edx, dword [0xa8c6b0]
test edx, edx
jne 0x58f410
mov dword [edi], eax
mov edx, dword [esp + 0x34]
cmp ecx, edx
jl 0x58f3b3
mov eax, dword [esp + 0x30]
mov ebx, dword [edi + 0xc]
mov ebp, dword [edi + 0x10]
cmp ebp, edx
jle 0x58f3aa
mov ecx, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
cmp ebx, eax
je 0x58f2e6
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0045ccd0
mov edx, dword [esp + 0x24]
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov esi, dword [esp + 0x20]
cmp esi, ebp
jge 0x58f3a3
mov ebp, dword [esp + 0x30]
cmp ebx, ebp
je 0x58f313
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.0045ccd0
mov edx, dword [esp + 0x24]
mov ebx, dword [edx + 0x10]
xor eax, eax
jmp 0x58f32e
movzx esi, byte [eax + ebp]
xor esi, 0x36
xchg esi, ebx
mov byte [ebp + eax], bl
xchg esi, ebx
inc eax
cmp ebx, eax
jle 0x58f341
mov ebp, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
cmp ecx, eax
ja 0x58f31e
jmp 0x58f44c
mov ebx, dword [edx + 4]
xor eax, eax
jmp 0x58f358
movzx esi, byte [eax + ebp]
xor esi, 0x5c
xchg esi, ebx
mov byte [ebp + eax], bl
xchg esi, ebx
inc eax
cmp ebx, eax
jle 0x58f36a
mov ebp, dword [edx]
mov ecx, dword [edx + 4]
cmp ecx, eax
ja 0x58f348
jmp 0x58f447
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
mov eax, dword [eax + 0x20]
mov ebx, dword [edx + 0x10]
mov ebp, dword [edx + 0x14]
mov esi, dword [edx + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call eax
lea eax, [0x870f40]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
add esp, 0x28
ret
mov esi, ebp
jmp 0x58f2fb
mov ecx, edx
mov edx, ebp
jmp 0x58f2ca
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
call eax
mov eax, dword [esp + 0x24]
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 edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
jmp 0x58f2ba
call fcn.0045c330
jmp 0x58f2aa
lea edi, [edx + 0xc]
call fcn.0045c330
jmp 0x58f272
lea edi, [ebx + 0x24]
mov edx, eax
mov eax, ecx
call fcn.0045c330
mov eax, edx
jmp 0x58f22d
lea edi, [edx + 0x1c]
call fcn.0045c330
jmp 0x58f206
call fcn.0045c3b0
call fcn.0045c3b0
nop
call fcn.0045ade0
jmp fcn.0058f1b0