Function at 0x1005d330
Capabilities:
Authenticate hmac

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100abcf5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x60], esi
cmp byte [esi + 0x34], 0
je 0x1005d91d
mov eax, dword [esi + 0x30]
test eax, eax
jle 0x1005d38a
dec eax
mov dword [esi + 0x30], eax
test eax, eax
js 0x1005d914
xorps xmm0, xmm0
mov word [ebp - 0x38], 0x7b
lea ecx, [ebp - 0x37]
mov byte [ebp - 0x37], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x18], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005d3b5
sub ecx, edx
lea eax, [ebp - 0x37]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002620
mov dword [ebp - 4], 0
mov eax, 0xc22e4507
mov edi, dword [esi + 0x30]
imul edi
add edx, edi
sar edx, 0x10
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
call fcn.1004da20
call fcn.100a7d80
mov esi, eax
mov edx, edi
imul ecx, esi, 0x15180
mov eax, 0x91a2b3c5
mov dword [ebp - 0x38], esi
sub edx, ecx
mov ecx, 0x18
mul edx
shr edx, 0xb
mov eax, edx
xor edx, edx
div ecx
mov ecx, edx
call fcn.1004da60
call fcn.100a7d80
lea ecx, [esi + esi*2]
mov dword [ebp - 0x40], eax
mov edx, edi
lea esi, [eax + ecx*8]
mov eax, 0x88888889
imul ecx, esi, 0xe10
sub edx, ecx
mov ecx, 0x3c
mul edx
shr edx, 5
mov eax, edx
xor edx, edx
div ecx
mov ecx, edx
call fcn.1004da60
call fcn.100a7d80
mov ecx, esi
mov dword [ebp - 0x44], eax
shl ecx, 4
sub ecx, esi
lea ecx, [eax + ecx*4]
mov edx, ecx
shl edx, 4
sub edx, ecx
mov ecx, 0x3c
shl edx, 2
sub edi, edx
xor edx, edx
mov eax, edi
div ecx
mov ecx, edx
call fcn.1004da60
call fcn.100a7d80
mov edi, eax
mov esi, 0x100beb9c
mov eax, dword [ebp - 0x38]
mov edx, 0x100b68a3
test eax, eax
je 0x1005d578
cmp eax, 0xa
mov byte [ebp - 0x2e], 0
push eax
mov ecx, esi
mov byte [ebp - 0x2e], 0
cmovae ecx, edx
mov al, 0xc
push ecx
mov dh, 0x29
mov dl, al
mov cl, 0x5a
mov byte [ebp - 0x34], dh
mov ah, 0x5c
mov ch, 0x13
xor al, dh
xor cl, dh
xor ah, dh
mov byte [ebp - 0x32], cl
xor ch, dh
mov byte [ebp - 0x33], al
xor dl, dh
mov byte [ebp - 0x2f], ch
sub esp, 0x18
mov byte [ebp - 0x31], dl
mov edx, esp
mov byte [ebp - 0x30], ah
lea ecx, [ebp - 0x33]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x38], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005d500
sub ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x33]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x5c]
push eax
call fcn.10005dd0
add esp, 0x24
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1005d531
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000b210
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1005d573
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d569
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d93b
push ecx
push edx
call fcn.100859f6
add esp, 8
mov edx, 0x100b68a3
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x1005d655
cmp ecx, 0xa
mov byte [ebp - 0x2e], 0
push ecx
mov eax, esi
mov byte [ebp - 0x2e], 0
cmovae eax, edx
mov cl, 0x79
push eax
mov dh, 0xa
mov al, 0x2f
mov dl, al
mov byte [ebp - 0x34], dh
mov ah, 0x7f
mov ch, 0x30
xor al, dh
xor cl, dh
xor ah, dh
mov byte [ebp - 0x32], cl
xor ch, dh
mov byte [ebp - 0x33], al
xor dl, dh
mov byte [ebp - 0x2f], ch
sub esp, 0x18
mov byte [ebp - 0x31], dl
mov edx, esp
mov byte [ebp - 0x30], ah
lea ecx, [ebp - 0x33]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x40], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005d5e0
sub ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x33]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x5c]
push eax
call fcn.10005dd0
add esp, 0x24
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1005d611
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000b210
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1005d664
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d649
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d940
push ecx
push edx
call fcn.100859f6
add esp, 8
jmp 0x1005d664
push 3
push 0x100beba0
lea ecx, [ebp - 0x2c]
call fcn.1000b210
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x1005d745
push ecx
cmp ecx, 0xa
mov byte [ebp - 0x2e], 0
mov ecx, 0x100b68a3
mov byte [ebp - 0x2e], 0
mov eax, esi
mov dh, 0xe
cmovae eax, ecx
mov byte [ebp - 0x34], dh
push eax
mov al, 0x2b
mov cl, 0x7d
mov dl, al
mov ah, 0x7b
mov ch, 0x34
xor al, dh
xor cl, dh
mov byte [ebp - 0x33], al
xor ah, dh
mov byte [ebp - 0x32], cl
xor ch, dh
mov byte [ebp - 0x30], ah
xor dl, dh
mov byte [ebp - 0x2f], ch
sub esp, 0x18
mov byte [ebp - 0x31], dl
mov edx, esp
lea ecx, [ebp - 0x33]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x44], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005d6d0
sub ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x33]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x5c]
push eax
call fcn.10005dd0
add esp, 0x24
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1005d701
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000b210
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1005d754
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d739
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d945
push ecx
push edx
call fcn.100859f6
add esp, 8
jmp 0x1005d754
push 3
push 0x100beba0
lea ecx, [ebp - 0x2c]
call fcn.1000b210
test edi, edi
je 0x1005d825
cmp edi, 0xa
mov byte [ebp - 0x3b], 0
mov eax, 0x100b68a3
mov byte [ebp - 0x3b], 0
cmovae esi, eax
mov ch, 0x45
mov al, 0x60
mov byte [ebp - 0x40], ch
push edi
mov dl, al
mov cl, 0x36
xor dl, ch
mov ah, 0x30
push esi
xor al, ch
mov byte [ebp - 0x3d], dl
xor cl, ch
mov byte [ebp - 0x3f], al
xor ah, ch
mov byte [ebp - 0x3e], cl
sub esp, 0x18
mov byte [ebp - 0x3c], ah
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005d7b1
sub ecx, esi
lea eax, [ebp - 0x3f]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x5c]
push eax
call fcn.10005dd0
add esp, 0x24
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1005d7e1
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000b210
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1005d834
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d819
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d94a
push ecx
push edx
call fcn.100859f6
add esp, 8
jmp 0x1005d834
push 2
push 0x100beba4
lea ecx, [ebp - 0x2c]
call fcn.1000b210
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
mov dl, 0x7c
mov byte [ebp - 0x35], 0
cmova eax, dword [ebp - 0x2c]
mov cl, 0xf
push eax
xor cl, dl
mov byte [ebp - 0x38], dl
mov al, 0x59
mov byte [ebp - 0x36], cl
xor al, dl
mov byte [ebp - 0x35], 0
sub esp, 0x18
mov byte [ebp - 0x37], al
mov edx, esp
lea ecx, [ebp - 0x37]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005d880
sub ecx, esi
lea eax, [ebp - 0x37]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x5c]
push eax
call fcn.10005dd0
add esp, 0x20
mov ecx, dword [ebp - 0x60]
mov edx, eax
mov byte [ebp - 4], 5
mov ecx, dword [ecx + 0x18]
call fcn.1001c9d0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1005d8e2
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d8d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d94f
push ecx
push edx
call fcn.100859f6
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1005d91d
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d908
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d954
push ecx
push edx
call fcn.100859f6
add esp, 8
jmp 0x1005d91d
mov byte [esi + 0x34], 0
call fcn.1005d2b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10085995
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1008ac0f
call fcn.1008ac0f
call fcn.1008ac0f
call fcn.1008ac0f
call fcn.1008ac0f
call fcn.1008ac0f
int3