Function at 0x10037810
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c550
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101f9224]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, 0x20
cmp ecx, 4
ja case.default.0x1003784c
jmp dword [ecx*4 + 0x10037a6c]
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x48]
mov eax, dword [ebp - 0x2e]
or word [ebp - 0x30], 4
shl ecx, 0xb
xor ecx, eax
and ecx, 0x3ff800
xor eax, ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x2e], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov eax, 0x70
jmp case.default.0x1003784c
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x50]
mov eax, dword [ebp - 0x2e]
or word [ebp - 0x30], 4
shl ecx, 0xb
xor ecx, eax
and ecx, 0x3ff800
xor eax, ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x2e], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov eax, 0xfd
jmp case.default.0x1003784c
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x54]
mov eax, dword [ebp - 0x2e]
or word [ebp - 0x30], 4
shl ecx, 0xb
xor ecx, eax
and ecx, 0x3ff800
xor eax, ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x2e], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov eax, 0xfe
jmp case.default.0x1003784c
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x48]
mov eax, dword [ebp - 0x2e]
or word [ebp - 0x30], 4
shl ecx, 0xb
xor ecx, eax
and ecx, 0x3ff800
xor eax, ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x2e], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov eax, 0x36
jmp case.default.0x1003784c
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x54]
mov eax, dword [ebp - 0x2e]
or word [ebp - 0x30], 4
shl ecx, 0xb
xor ecx, eax
and ecx, 0x3ff800
xor eax, ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x2e], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov eax, 0xa4
push eax
push 0x101a3c50
lea eax, [ebp - 0x38]
push 2
push eax
call fcn.1002de40
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], 0
add esp, 0x10
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ecx + 1]
jmp 0x100379a0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100379a0
sub ecx, edx
lea eax, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.1000cb10
push dword [esi + 0x58]
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
push esi
push 0
call fcn.10119f40
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x100379eb
cmp dword [ebp - 0x14], 0x10
jb 0x100379e2
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
push eax
call fcn.1000cb10
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
mov dword [esi + 0x58], eax
call fcn.10119fe0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10037a36
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10037a2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10037a2c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10175e59
add esp, 8
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call dword [eax + 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10175e83
mov esp, ebp
pop ebp
ret 4