Function at 0x10050170
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e928
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x10084014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xa8], esi
mov bh, 0x21
mov byte [ebp - 0x21], 0x26
mov byte [ebp - 0x22], bh
mov al, 0x30
mov bh, byte [ebp - 0x21]
mov dl, 0x2a
mov byte [ebp - 0x30], 0x44
mov bl, 0x1b
xor bh, byte [ebp - 0x30]
mov cl, 0x27
xor al, byte [ebp - 0x30]
mov ah, 0x28
mov byte [ebp - 0x21], bh
mov ch, 0x2b
mov byte [ebp - 0x2f], bh
mov dh, 0x37
mov bh, byte [ebp - 0x22]
mov byte [ebp - 0x2e], al
mov al, byte [ebp - 0x30]
xor dl, al
mov byte [ebp - 0x26], 0
xor bl, al
mov byte [ebp - 0x2d], dl
xor cl, al
mov byte [ebp - 0x2c], bl
xor ah, al
mov byte [ebp - 0x2b], cl
xor ch, al
mov byte [ebp - 0x2a], ah
xor dh, al
mov byte [ebp - 0x29], ch
xor bh, al
mov byte [ebp - 0x28], dh
cmp byte [ebp - 0x21], 0
mov byte [ebp - 0x27], bh
mov byte [ebp - 0x26], 0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jne 0x10050220
xor ecx, ecx
jmp 0x1005022f
lea ecx, [ebp - 0x2f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050226
sub ecx, edx
push ecx
lea eax, [ebp - 0x2f]
push eax
lea ecx, [ebp - 0x5c]
call fcn.100027b0
mov ecx, dword [esi]
lea edx, [ebp - 0x5c]
call fcn.10018040
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x1005025b
inc eax
push eax
push dword [ebp - 0x5c]
call fcn.100026b0
mov bh, 0x5c
mov byte [ebp - 0x21], 0x4e
mov byte [ebp - 0x22], bh
mov al, 0x4d
mov bh, byte [ebp - 0x21]
mov cl, 0x5f
mov byte [ebp - 0x30], 0x2c
mov dl, 0x49
xor bh, byte [ebp - 0x30]
mov bl, 0x73
xor al, byte [ebp - 0x30]
mov ah, 0x48
mov byte [ebp - 0x21], bh
mov ch, 0x5e
mov byte [ebp - 0x2f], bh
mov dh, 0x43
mov bh, byte [ebp - 0x22]
mov byte [ebp - 0x2e], al
mov al, byte [ebp - 0x30]
xor cl, al
mov byte [ebp - 0x26], 0
xor dl, al
mov byte [ebp - 0x2d], cl
xor bl, al
mov byte [ebp - 0x2c], dl
xor ah, al
mov byte [ebp - 0x2b], bl
xor ch, al
mov byte [ebp - 0x2a], ah
xor dh, al
mov byte [ebp - 0x29], ch
xor bh, al
mov byte [ebp - 0x28], dh
cmp byte [ebp - 0x21], 0
mov byte [ebp - 0x27], bh
mov byte [ebp - 0x26], 0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jne 0x100502d5
xor ecx, ecx
jmp 0x100502e9
lea ecx, [ebp - 0x2f]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100502e0
sub ecx, edx
push ecx
lea eax, [ebp - 0x2f]
push eax
lea ecx, [ebp - 0x5c]
call fcn.100027b0
mov ecx, dword [esi]
lea edx, [ebp - 0x5c]
call fcn.10018040
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x10050315
inc eax
push eax
push dword [ebp - 0x5c]
call fcn.100026b0
mov bh, 0x49
mov byte [ebp - 0x28], 0
mov dh, 0x3d
mov byte [ebp - 0x30], bh
mov cl, dh
mov byte [ebp - 0x28], 0
mov al, 0x31
mov dword [ebp - 0x48], 0xf
mov dl, 0x16
mov dword [ebp - 0x4c], 0
mov bl, 0x24
mov byte [ebp - 0x5c], 0
mov ah, 0x26
mov ch, 0x2b
xor dh, bh
xor al, bh
xor cl, bh
mov byte [ebp - 0x2f], dh
xor dl, bh
mov byte [ebp - 0x2e], al
xor bl, bh
mov byte [ebp - 0x2d], cl
xor ah, bh
mov byte [ebp - 0x2c], dl
xor ch, bh
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], ah
mov byte [ebp - 0x29], ch
test dh, dh
jne 0x1005036d
xor ecx, ecx
jmp 0x1005037c
lea ecx, [ebp - 0x2f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050373
sub ecx, edx
push ecx
lea eax, [ebp - 0x2f]
push eax
lea ecx, [ebp - 0x5c]
call fcn.100027b0
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x5c]
call fcn.10018040
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x100503a9
inc eax
push eax
push dword [ebp - 0x5c]
call fcn.100026b0
push 0
lea eax, [ebp - 0x33]
mov word [ebp - 0x34], 0x50
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 0x33], 0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
call fcn.100027b0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x5c]
mov ecx, dword [esi + 0x24]
call fcn.10018ac0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x100503fe
inc eax
push eax
push dword [ebp - 0x5c]
call fcn.100026b0
xor ecx, ecx
mov dword [ebp - 0xb0], 6
lea edi, [esi + 0x3c]
mov dword [ebp - 0xac], ecx
add esi, 0xc
mov dword [ebp - 0x38], esi
nop dword [eax]
push ecx
mov cl, 0x42
mov dword [ebp - 0x6c], 0x32302542
mov dword [ebp - 0x68], 0x2d30261d
xor eax, eax
mov dword [ebp - 0x64], 0x26671d32
mov byte [ebp - 0x60], 0
nop
xor byte [ebp + eax - 0x6b], cl
inc eax
cmp eax, 0xb
jae 0x1005044f
mov cl, byte [ebp - 0x6c]
jmp 0x10050440
sub esp, 0x18
mov byte [ebp - 0x60], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x6b], 0
jne 0x10050473
xor ecx, ecx
jmp 0x1005048c
lea ecx, [ebp - 0x6b]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050480
sub ecx, esi
mov esi, dword [ebp - 0x38]
push ecx
lea eax, [ebp - 0x6b]
mov ecx, edx
push eax
call fcn.100027b0
lea eax, [ebp - 0xa4]
push eax
call fcn.10005cc0
mov edx, eax
add esp, 0x20
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 8]
call fcn.10018040
mov dword [esi], eax
mov eax, dword [ebp - 0x90]
cmp eax, 0x10
jb 0x100504d1
inc eax
push eax
push dword [ebp - 0xa4]
call fcn.100026b0
mov bh, 0x6b
mov byte [ebp - 0x21], 0x64
mov byte [ebp - 0x22], bh
mov al, 0x77
mov bh, byte [ebp - 0x21]
mov cl, 0x60
mov byte [ebp - 0x30], 5
mov dl, 0x64
xor bh, byte [ebp - 0x30]
mov bl, 0x5a
xor al, byte [ebp - 0x30]
mov ah, 0x6c
mov byte [ebp - 0x21], bh
mov ch, 0x66
mov byte [ebp - 0x2f], bh
mov dh, 0x6a
mov bh, byte [ebp - 0x22]
mov byte [ebp - 0x2e], al
mov al, byte [ebp - 0x30]
xor cl, al
mov byte [ebp - 0x26], 0
xor dl, al
mov byte [ebp - 0x2d], cl
xor bl, al
mov byte [ebp - 0x2c], dl
xor ah, al
mov byte [ebp - 0x2b], bl
xor ch, al
mov byte [ebp - 0x2a], ah
xor dh, al
mov byte [ebp - 0x29], ch
xor bh, al
mov byte [ebp - 0x28], dh
cmp byte [ebp - 0x21], 0
mov byte [ebp - 0x27], bh
mov byte [ebp - 0x26], 0
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], 0
mov byte [ebp - 0xa4], 0
jne 0x10050554
xor ecx, ecx
jmp 0x10050569
lea ecx, [ebp - 0x2f]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050560
sub ecx, edx
push ecx
lea eax, [ebp - 0x2f]
push eax
lea ecx, [ebp - 0xa4]
call fcn.100027b0
mov ecx, dword [esi]
lea edx, [ebp - 0xa4]
call fcn.10018040
mov dword [edi - 0x10], eax
mov eax, dword [ebp - 0x90]
cmp eax, 0x10
jb 0x100505a1
inc eax
push eax
push dword [ebp - 0xa4]
call fcn.100026b0
mov cl, 0x12
mov dword [ebp - 0x7c], 0x666a6612
mov dword [ebp - 0x78], 0x6077624d
xor eax, eax
mov dword [ebp - 0x74], 0x667c7771
mov byte [ebp - 0x70], 0
nop
xor byte [ebp + eax - 0x7b], cl
inc eax
cmp eax, 0xb
jae 0x100505cf
mov cl, byte [ebp - 0x7c]
jmp 0x100505c0
cmp byte [ebp - 0x7b], 0
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], 0
mov byte [ebp - 0xa4], 0
jne 0x100505f8
xor ecx, ecx
jmp 0x10050609
lea ecx, [ebp - 0x7b]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050600
sub ecx, edx
push ecx
lea eax, [ebp - 0x7b]
push eax
lea ecx, [ebp - 0xa4]
call fcn.100027b0
mov ecx, dword [esi]
lea edx, [ebp - 0xa4]
call fcn.10018040
mov dword [edi - 0xc], eax
mov eax, dword [ebp - 0x90]
cmp eax, 0x10
jb 0x10050641
inc eax
push eax
push dword [ebp - 0xa4]
call fcn.100026b0
mov cl, 0x66
mov dword [ebp - 0x8c], 0x1141666
mov dword [ebp - 0x88], 0x14031639
xor eax, eax
mov dword [ebp - 0x84], 0x12080305
mov byte [ebp - 0x80], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x8b], cl
inc eax
cmp eax, 0xb
jae 0x10050685
mov cl, byte [ebp - 0x8c]
jmp 0x10050670
cmp byte [ebp - 0x8b], 0
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], 0
mov byte [ebp - 0xa4], 0
jne 0x100506b1
xor ecx, ecx
jmp 0x100506c9
lea ecx, [ebp - 0x8b]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100506c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x8b]
push eax
lea ecx, [ebp - 0xa4]
call fcn.100027b0
mov ecx, dword [esi]
lea edx, [ebp - 0xa4]
call fcn.10018040
mov dword [edi - 8], eax
mov eax, dword [ebp - 0x90]
cmp eax, 0x10
jb 0x10050704
inc eax
push eax
push dword [ebp - 0xa4]
call fcn.100026b0
mov esi, dword [edi - 8]
test esi, esi
je 0x10050752
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10050752
push 4
lea ebx, [esi + 0x140]
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10050752
lea eax, [esi + 0x13c]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10050752
mov ecx, esi
mov dword [ebx], eax
mov dword [esi + 0x13c], 0x64
call dword [0x10078618]
mov bh, 0x2b
mov byte [ebp - 0x44], 0x42
mov byte [ebp - 0x22], bh
mov al, 0x36
mov ch, al
mov byte [ebp - 0x21], 0x20
xor al, byte [ebp - 0x44]
mov cl, 0x2c
mov bh, byte [ebp - 0x21]
mov dl, 0x1d
xor bh, byte [ebp - 0x44]
mov bl, 0x26
mov byte [ebp - 0x21], bh
mov ah, 0x27
mov byte [ebp - 0x42], al
mov dh, 0x23
mov al, byte [ebp - 0x44]
mov byte [ebp - 0x43], bh
xor cl, al
mov bh, byte [ebp - 0x22]
xor dl, al
xor bl, al
mov byte [ebp - 0x31], 0x2e
xor ah, al
mov byte [ebp - 0x39], 0
xor ch, al
mov byte [ebp - 0x41], cl
xor dh, al
mov byte [ebp - 0x40], dl
xor bh, al
mov byte [ebp - 0x3f], bl
mov al, byte [ebp - 0x31]
xor al, byte [ebp - 0x44]
cmp byte [ebp - 0x21], 0
mov byte [ebp - 0x3e], ah
mov byte [ebp - 0x3d], ch
mov byte [ebp - 0x3c], dh
mov byte [ebp - 0x3b], bh
mov byte [ebp - 0x3a], al
mov byte [ebp - 0x39], 0
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], 0
mov byte [ebp - 0xa4], 0
jne 0x100507e2
xor ecx, ecx
jmp 0x100507f1
lea ecx, [ebp - 0x43]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100507e8
sub ecx, edx
push ecx
lea eax, [ebp - 0x43]
push eax
lea ecx, [ebp - 0xa4]
call fcn.100027b0
mov esi, dword [ebp - 0x38]
lea edx, [ebp - 0xa4]
mov ecx, dword [esi]
call fcn.10018040
mov dword [edi - 4], eax
mov eax, dword [ebp - 0x90]
cmp eax, 0x10
jb 0x1005082c
inc eax
push eax
push dword [ebp - 0xa4]
call fcn.100026b0
call fcn.100151e0
test eax, eax
je 0x100509c8
mov dword [edi], eax
call fcn.100186f0
mov ecx, eax
call dword [0x10078604]
test eax, eax
je 0x100509c8
mov ecx, dword [edi]
mov dword [ecx], eax
mov eax, dword [ebp - 0xa8]
mov ebx, dword [eax]
mov eax, dword [edi]
mov esi, dword [eax]
test esi, esi
je 0x1005088c
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005088c
test ebx, ebx
je 0x1005088c
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005088c
mov eax, dword [esi]
mov ecx, esi
push ebx
mov eax, dword [eax + 0x74]
call eax
mov eax, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov esi, dword [eax]
test esi, esi
je 0x100508d5
push 4
push esi
call ebx
test eax, eax
jne 0x100508d5
sub esp, 0x20
mov ecx, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f340000
mov dword [esp + 8], 0x3f340000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x10078614]
mov eax, dword [edi]
mov esi, dword [eax]
test esi, esi
je 0x100508fb
push 4
push esi
call ebx
test eax, eax
jne 0x100508fb
push 4
add esi, 0xcc
push esi
call ebx
test eax, eax
jne 0x100508fb
mov dword [esi], 0xb
mov eax, dword [edi]
mov esi, dword [eax]
test esi, esi
je 0x10050919
push 4
push esi
call ebx
test eax, eax
jne 0x10050919
push 0x110
mov ecx, esi
call dword [0x100785e0]
mov esi, dword [edi - 0x10]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
test esi, esi
je 0x10050969
push 4
push esi
call ebx
test eax, eax
jne 0x10050969
mov eax, dword [esi + 0xdc]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0xe0]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0xe4]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0xe8]
mov dword [ebp - 0x48], eax
movups xmm0, xmmword [ebp - 0x54]
mov eax, dword [edi]
movups xmmword [ebp - 0x20], xmm0
mov esi, dword [eax]
test esi, esi
je 0x1005098e
push 4
push esi
call ebx
test eax, eax
jne 0x1005098e
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call dword [0x10078610]
mov eax, dword [edi]
mov esi, dword [eax]
test esi, esi
je 0x100509ab
push 4
push esi
call ebx
test eax, eax
jne 0x100509ab
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call dword [0x100785bc]
mov eax, dword [edi]
mov esi, dword [eax]
test esi, esi
je 0x100509c5
push 4
push esi
call ebx
test eax, eax
jne 0x100509c5
push eax
mov ecx, esi
call dword [0x100785d0]
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xac]
add esi, 4
inc ecx
mov dword [ebp - 0x38], esi
add edi, 0x18
mov dword [ebp - 0xac], ecx
sub dword [ebp - 0xb0], 1
jne 0x10050420
mov edi, dword [ebp - 0xa8]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov esi, dword [edi]
test esi, esi
je 0x10050a15
push 4
push esi
call ebx
test eax, eax
jne 0x10050a15
lea ecx, [esi + 0xd4]
call fcn.10018d90
mov esi, eax
jmp 0x10050a17
xor esi, esi
mov edi, dword [edi]
test edi, edi
je 0x10050a32
push 4
push edi
call ebx
test eax, eax
jne 0x10050a32
or esi, 0x30
mov ecx, edi
push esi
call dword [0x100785e0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret