Function at 0x7c376791
Capabilities:
Authenticate hmac

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7c387838
push sym.MSVCR71.dll__except_handler3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
push ebx
sub esp, 0x1b8
mov eax, dword [0x7c38b118]
mov dword [ebp - 0x24], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
or dword [ebp - 0x1a0], 0xffffffff
xor edx, edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x1a8], edx
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
cmp eax, edx
je 0x7c376802
push eax
call dword [ebx + 0x10]
pop ecx
jmp 0x7c376fe4
mov eax, dword [ecx + 4]
mov dword [ebp - 0x190], eax
mov esi, dword [eax]
mov ecx, 0x10020
and esi, ecx
cmp esi, ecx
jne 0x7c376fe2
mov ecx, dword [eax + 0xdc]
mov dword [ebp - 0x1d0], ecx
mov dword [ebp - 0x188], edx
mov byte [ebp - 0x171], 0
mov dword [ebp - 4], edx
xor esi, esi
inc esi
mov byte [ebp - 0x17e], 1
mov byte [ebp - 0x182], 0
mov eax, dword [eax + 0xb8]
mov dword [ebp - 0x17c], eax
cmp byte [ebp - 0x17e], 0
je 0x7c3768d9
mov cl, byte [eax]
mov byte [ebp - 0x17d], cl
inc eax
mov dword [ebp - 0x17c], eax
movzx ecx, cl
cmp ecx, 0x66
jg 0x7c37689e
je 0x7c3768d1
cmp ecx, 0x26
je 0x7c376895
cmp ecx, 0x2e
je 0x7c376895
cmp ecx, 0x36
je 0x7c376895
cmp ecx, 0x3e
je 0x7c376895
cmp ecx, 0x63
jle 0x7c3768b2
cmp ecx, 0x65
jg 0x7c3768b2
mov byte [ebp - 0x171], 1
jmp 0x7c376855
sub ecx, 0x67
je 0x7c376895
sub ecx, 0x89
je 0x7c376895
dec ecx
dec ecx
je 0x7c3768ca
dec ecx
je 0x7c3768bb
mov byte [ebp - 0x17e], 0
jmp 0x7c376855
mov byte [ebp - 0x182], 1
inc dword [ebp - 0x178]
jmp 0x7c376855
mov byte [ebp - 0x182], 1
mov dword [ebp - 0x188], esi
jmp 0x7c3768c2
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x171], 0
jne 0x7c376fe2
mov dword [ebp - 4], esi
mov dword [ebp - 0x19c], eax
cmp byte [ebp - 0x17d], 0xf
jne 0x7c376b6b
mov ecx, dword [eax]
mov eax, ecx
shr eax, 4
and eax, 0xf
cmp eax, 5
jne 0x7c37691b
mov dword [ebp - 0x198], 0x7c390380
jmp 0x7c376950
cmp eax, 0xc
jne 0x7c37692c
mov dword [ebp - 0x198], 0x7c390480
jmp 0x7c376950
cmp eax, 2
jne 0x7c37693d
mov dword [ebp - 0x198], 0x7c390580
jmp 0x7c376950
cmp eax, 0xe
jne 0x7c376b6b
mov dword [ebp - 0x198], 0x7c390680
mov edx, ecx
mov esi, 0xc000
and edx, esi
xor eax, eax
cmp edx, esi
setne al
mov byte [ebp - 0x189], al
movzx eax, al
shl eax, 4
and ecx, 0xf
or eax, ecx
mov dword [ebp - 0x1d4], eax
cmp eax, 0x20
ja 0x7c376b6b
mov ecx, dword [ebp - 0x188]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x198]
lea esi, [ecx + eax*4]
mov dword [ebp - 0x194], esi
mov eax, dword [esi]
mov ecx, 0xfff
test ecx, eax
jne 0x7c3769af
mov byte [ebp - 0x171], 1
jmp 0x7c376b78
mov edx, eax
mov edi, 0x1f000
and edx, edi
cmp edx, 0x1e000
jne 0x7c3769f4
shr eax, 0x11
and eax, 0x1f
cmp byte [ebp - 0x182], 0
lea esi, [eax*4 + 0x7c390784]
jne 0x7c3769dd
lea esi, [eax*4 + 0x7c390780]
mov dword [ebp - 0x194], esi
mov byte [ebp - 0x182], 0
mov dword [ebp - 0x188], 2
mov eax, dword [esi]
and eax, ecx
movzx ecx, byte [ebp - 0x182]
add eax, ecx
mov dword [ebp - 0x148], eax
add dword [ebp - 0x178], 3
cmp byte [ebp - 0x189], 0
je 0x7c376a63
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x17c], eax
inc dword [ebp - 0x17c]
mov eax, dword [ebp - 0x17c]
mov al, byte [eax]
mov byte [ebp - 0x17d], al
inc dword [ebp - 0x17c]
movzx ecx, al
push dword [ebp - 0x17c]
mov eax, dword [ebp - 0x190]
push eax
add eax, 0xdc
push eax
call dword [ecx*4 + 0x7c3907c0]
add esp, 0xc
mov dword [ebp - 0x1a8], eax
push dword [ebp - 0x190]
lea eax, [ebp - 0x130]
push eax
mov eax, dword [ebp - 0x19c]
mov eax, dword [eax]
shr eax, 0xb
and eax, 7
push eax
mov eax, dword [esi]
shr eax, 0xc
and eax, 0x1f
push eax
push dword [ebp - 0x182]
call fcn.7c34a598
add esp, 0x14
mov eax, dword [esi]
mov ecx, eax
and ecx, edi
shr eax, 0x11
push dword [ebp - 0x190]
and eax, 0x1f
cmp ecx, edi
jne 0x7c376ada
lea ecx, [ebp - 0x130]
push ecx
mov ecx, dword [ebp - 0x19c]
mov ecx, dword [ecx]
shr ecx, 8
and ecx, 7
push ecx
push eax
push dword [ebp - 0x182]
call fcn.7c34a598
add esp, 0x14
and dword [ebp - 0xe0], 0xfffffffe
jmp 0x7c376aff
lea ecx, [ebp - 0x100]
push ecx
mov ecx, dword [ebp - 0x19c]
mov ecx, dword [ecx]
shr ecx, 8
and ecx, 7
push ecx
push eax
push dword [ebp - 0x182]
call fcn.7c34a598
add esp, 0x14
push dword [ebp - 0x190]
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0x19c]
mov eax, dword [eax]
shr eax, 0xb
and eax, 7
push eax
mov eax, dword [esi]
shr eax, 0x19
and eax, 0x1f
push eax
push dword [ebp - 0x182]
call fcn.7c34a598
add esp, 0x14
mov eax, dword [ebp - 0x1a8]
add dword [ebp - 0x178], eax
mov ecx, dword [esi]
and ecx, 0x1c00000
cmp ecx, 0x400000
jne 0x7c376b78
add dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
movzx eax, byte [eax]
mov dword [ebp - 0x144], eax
inc dword [ebp - 0x178]
jmp 0x7c376b78
mov byte [ebp - 0x171], 1
mov esi, dword [ebp - 0x194]
or dword [ebp - 4], 0xffffffff
xor eax, eax
cmp byte [ebp - 0x171], al
jne 0x7c376fe4
mov edx, dword [ebp - 0x190]
mov ax, word [edx + 0xcc]
mov ecx, 0x300
and eax, ecx
je 0x7c376bc0
cmp eax, 0x200
je 0x7c376bb4
cmp eax, ecx
jne 0x7c376bca
and dword [ebp - 0x1b8], 0
jmp 0x7c376bca
mov dword [ebp - 0x1b8], 1
jmp 0x7c376bca
mov dword [ebp - 0x1b8], 2
mov eax, dword [edx + 0xe4]
mov ecx, eax
shr ecx, 0xd
push 3
pop edi
and ecx, edi
sub ecx, 0
je 0x7c376c08
dec ecx
je 0x7c376bfc
dec ecx
je 0x7c376bf0
dec ecx
jne 0x7c376c0f
mov dword [ebp - 0x1bc], edi
jmp 0x7c376c0f
mov dword [ebp - 0x1bc], 2
jmp 0x7c376c0f
mov dword [ebp - 0x1bc], 1
jmp 0x7c376c0f
and dword [ebp - 0x1bc], 0
mov ecx, eax
shr ecx, 7
and ecx, 0x3f
mov dword [ebp - 0x1cc], ecx
mov ecx, eax
shr ecx, 0xf
and ecx, 1
mov dword [ebp - 0x1c4], ecx
mov ecx, eax
shr ecx, 6
and ecx, 1
mov dword [ebp - 0x1c0], ecx
mov ecx, dword [edx + 0xc0]
mov dword [ebp - 0x1b0], ecx
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x1b4], ecx
and eax, 0x3f
mov dword [ebp - 0x170], eax
xor edi, edi
mov dword [ebp - 0x16c], edi
mov esi, dword [esi]
shr esi, 0x1e
inc esi
mov dword [ebp - 0x1a4], esi
cmp byte [ebp - 0x182], 0
je 0x7c376c80
xor esi, esi
inc esi
mov dword [ebp - 0x1a4], esi
cmp esi, edi
jbe 0x7c376f89
mov eax, dword [ebp - 0x1b8]
and dword [ebp - 0x1c8], 0
and dword [ebp - 0x9c], 0xffffffe0
and dword [ebp - 0x98], 0xffffffe0
and dword [ebp - 0x94], 0xffffffe0
mov edx, dword [ebp - 0x148]
mov ecx, edx
and ecx, 0xfff
shl ecx, 3
and eax, 7
or ecx, eax
shl ecx, 2
mov eax, dword [ebp - 0xa0]
and eax, 0xfffe0000
or ecx, eax
mov eax, dword [ebp - 0x1bc]
and eax, 3
or ecx, eax
mov dword [ebp - 0xa0], ecx
mov eax, dword [ebp - 0x80]
xor eax, dword [ebp - 0x110]
and eax, 1
xor dword [ebp - 0x80], eax
mov esi, dword [ebp - 0x188]
cmp esi, 1
jne 0x7c376d17
mov eax, dword [ebp + edi*8 - 0x120]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + edi*8 - 0x11c]
mov dword [ebp - 0x8c], eax
jmp 0x7c376d4a
test esi, esi
je 0x7c376d3d
cmp edx, 0x59
jb 0x7c376d4a
cmp edx, 0x5a
jbe 0x7c376d36
cmp edx, 0x5c
jbe 0x7c376d4a
cmp edx, 0x5f
jbe 0x7c376d3d
cmp edx, 0x61
ja 0x7c376d4a
jmp 0x7c376cfb
and dword [ebp - 0x8c], 0
mov eax, dword [ebp + edi*4 - 0x120]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x80]
xor eax, dword [ebp - 0x110]
and eax, 0x1e
xor dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0xe0]
and ecx, 1
je 0x7c376dcc
mov eax, dword [ebp - 0x60]
and eax, 0xfffffffe
or eax, ecx
cmp esi, 1
jne 0x7c376d87
mov ecx, dword [ebp + edi*8 - 0xf0]
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp + edi*8 - 0xec]
mov dword [ebp - 0x6c], ecx
jmp 0x7c376db4
test esi, esi
je 0x7c376daa
cmp edx, 0x59
jb 0x7c376db4
cmp edx, 0x5a
jbe 0x7c376da6
cmp edx, 0x5c
jbe 0x7c376db4
cmp edx, 0x5f
jbe 0x7c376daa
cmp edx, 0x61
ja 0x7c376db4
jmp 0x7c376d71
and dword [ebp - 0x6c], 0
mov ecx, dword [ebp + edi*4 - 0xf0]
mov dword [ebp - 0x70], ecx
mov ecx, eax
xor ecx, dword [ebp - 0xe0]
and ecx, 0x1e
xor eax, ecx
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x148]
jmp 0x7c376dd0
and dword [ebp - 0x60], 0xfffffffe
mov eax, dword [ebp - 0xb0]
and dword [ebp - 0x40], 0xfffffffe
cmp esi, 1
jne 0x7c376df5
mov ecx, dword [ebp + edi*8 - 0xc0]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp + edi*8 - 0xbc]
mov dword [ebp - 0x4c], ecx
jmp 0x7c376e22
test esi, esi
je 0x7c376e18
cmp edx, 0x59
jb 0x7c376e22
cmp edx, 0x5a
jbe 0x7c376e14
cmp edx, 0x5c
jbe 0x7c376e22
cmp edx, 0x5f
jbe 0x7c376e18
cmp edx, 0x61
ja 0x7c376e22
jmp 0x7c376ddf
and dword [ebp - 0x4c], 0
mov ecx, dword [ebp + edi*4 - 0xc0]
mov dword [ebp - 0x50], ecx
xor eax, dword [ebp - 0x40]
and eax, 0x1e
xor dword [ebp - 0x40], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x1ac], eax
cmp esi, 1
je 0x7c376e56
cmp esi, 2
je 0x7c376e56
lea esi, [ebp + edi*4 - 0x168]
lea eax, [ebp - 0x1cc]
push eax
call fcn.7c34a598
jmp 0x7c376e69
lea esi, [ebp + edi*4 - 0x168]
lea eax, [ebp - 0x1cc]
push eax
call fcn.7c3776eb
pop ecx
mov dword [esi], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp + edi*4 - 0x158], eax
cmp dword [esi], 1
jne 0x7c376eee
test al, 0x20
je 0x7c376e89
or dword [ebp - 0x16c], 0x20
test al, 0x10
je 0x7c376e94
or dword [ebp - 0x16c], 0x10
test al, 8
je 0x7c376e9f
or dword [ebp - 0x16c], 8
test al, 4
je 0x7c376eaa
or dword [ebp - 0x16c], 4
test al, 2
je 0x7c376eb5
or dword [ebp - 0x16c], 2
test al, 1
je 0x7c376ec0
or dword [ebp - 0x16c], 1
lea eax, [ebp - 0xa0]
push eax
call dword [ebx + 0x10]
pop ecx
mov dword [ebp - 0x1a0], eax
cmp eax, 0xffffffff
jne 0x7c376fe4
lea eax, [ebp - 0x1cc]
push eax
push dword [ebp - 0x148]
call fcn.7c375eea
pop ecx
pop ecx
mov eax, dword [ebp - 0xb0]
xor eax, dword [ebp - 0x40]
and eax, 1
xor dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x140], eax
test byte [ebp - 0xb0], 1
je 0x7c376f7c
cmp dword [ebp - 0x188], 1
jne 0x7c376f34
mov eax, dword [ebp - 0x50]
mov dword [ebp + edi*8 - 0xc0], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp + edi*8 - 0xbc], eax
jmp 0x7c376f7c
cmp dword [ebp - 0x188], 0
jne 0x7c376f49
mov eax, dword [ebp - 0x50]
mov dword [ebp + edi*4 - 0xc0], eax
jmp 0x7c376f7c
mov eax, dword [ebp - 0x148]
cmp eax, 0x59
jb 0x7c376f7c
cmp eax, 0x5a
jbe 0x7c376f6a
cmp eax, 0x5c
jbe 0x7c376f7c
cmp eax, 0x5f
jbe 0x7c376f3d
cmp eax, 0x61
ja 0x7c376f7c
jmp 0x7c376f1e
mov eax, dword [ebp - 0x50]
mov dword [ebp + edi*8 - 0xc0], eax
and dword [ebp + edi*8 - 0xbc], 0
inc edi
cmp edi, dword [ebp - 0x1a4]
jb 0x7c376c88
push dword [ebp - 0x140]
mov esi, dword [ebp - 0x190]
push esi
lea eax, [ebp - 0xd0]
push eax
call fcn.7c3760b0
add esp, 0xc
mov eax, dword [ebp - 0x178]
add dword [esi + 0xb8], eax
mov eax, dword [ebp - 0x1d0]
mov dword [esi + 0xdc], eax
mov eax, dword [ebp - 0x1a0]
jmp 0x7c376fe4
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x24]
call fcn.7c341aed
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret