Function at 0x7c0358a3
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 0x7c046638
push sym.MSVCR70.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 [0x7c04a9a8]
xor eax, dword [ebx + 4]
mov dword [ebp - 0x24], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
or dword [ebp - 0x28], 0xffffffff
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
cmp eax, edx
je 0x7c03590e
push eax
call dword [ebx + 0x10]
pop ecx
jmp 0x7c036033
mov eax, dword [ecx + 4]
mov dword [ebp - 0x34], eax
mov esi, dword [eax]
mov ecx, 0x10020
and esi, ecx
cmp esi, ecx
jne 0x7c036031
mov ecx, dword [eax + 0xdc]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edx
and byte [ebp - 0x3d], 0
mov dword [ebp - 4], edx
xor esi, esi
inc esi
mov byte [ebp - 0x3e], 1
and byte [ebp - 0x42], 0
mov eax, dword [eax + 0xb8]
mov dword [ebp - 0x48], eax
cmp byte [ebp - 0x3e], 0
je 0x7c0359b5
mov cl, byte [eax]
mov byte [ebp - 0x49], cl
inc eax
mov dword [ebp - 0x48], eax
movzx ecx, cl
cmp ecx, 0x66
jg 0x7c035989
je 0x7c0359b0
cmp ecx, 0x26
je 0x7c035983
cmp ecx, 0x2e
je 0x7c035983
cmp ecx, 0x36
je 0x7c035983
cmp ecx, 0x3e
je 0x7c035983
cmp ecx, 0x63
jle 0x7c03599d
cmp ecx, 0x65
jg 0x7c03599d
mov byte [ebp - 0x3d], 1
jmp 0x7c03594c
sub ecx, 0x67
je 0x7c035983
sub ecx, 0x89
je 0x7c035983
dec ecx
dec ecx
je 0x7c0359ac
dec ecx
je 0x7c0359a3
and byte [ebp - 0x3e], 0
jmp 0x7c03594c
mov byte [ebp - 0x42], 1
inc dword [ebp - 0x2c]
jmp 0x7c03594c
mov byte [ebp - 0x42], 1
mov dword [ebp - 0x3c], esi
jmp 0x7c0359a7
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x3d], 0
jne 0x7c036031
mov dword [ebp - 4], esi
mov dword [ebp - 0x50], eax
cmp byte [ebp - 0x49], 0xf
jne 0x7c035bc0
mov ecx, dword [eax]
mov eax, ecx
shr eax, 4
and eax, 0xf
cmp eax, 5
jne 0x7c0359eb
mov dword [ebp - 0x58], 0x7c04ebe0
jmp 0x7c035a17
cmp eax, 0xc
jne 0x7c0359f9
mov dword [ebp - 0x58], 0x7c04ece0
jmp 0x7c035a17
cmp eax, 2
jne 0x7c035a07
mov dword [ebp - 0x58], 0x7c04ede0
jmp 0x7c035a17
cmp eax, 0xe
jne 0x7c035bc0
mov dword [ebp - 0x58], 0x7c04eee0
mov edx, ecx
mov esi, 0xc000
and edx, esi
xor eax, eax
cmp edx, esi
setne al
mov byte [ebp - 0x59], al
movzx eax, al
shl eax, 4
and ecx, 0xf
or eax, ecx
mov dword [ebp - 0x60], eax
cmp eax, 0x20
ja 0x7c035bc0
mov ecx, dword [ebp - 0x3c]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x58]
lea esi, [ecx + eax*4]
mov dword [ebp - 0x54], esi
mov eax, dword [esi]
mov ecx, 0xfff
test ecx, eax
jne 0x7c035a64
mov byte [ebp - 0x3d], 1
jmp 0x7c035bc7
mov edx, eax
mov edi, 0x1f000
and edx, edi
cmp edx, 0x1e000
jne 0x7c035a9d
shr eax, 0x11
and eax, 0x1f
cmp byte [ebp - 0x42], 0
lea esi, [eax*4 + 0x7c04efe4]
jne 0x7c035a8f
lea esi, [eax*4 + 0x7c04efe0]
mov dword [ebp - 0x54], esi
and byte [ebp - 0x42], 0
mov dword [ebp - 0x3c], 2
mov eax, dword [esi]
and eax, ecx
movzx ecx, byte [ebp - 0x42]
add eax, ecx
mov dword [ebp - 0x108], eax
add dword [ebp - 0x2c], 3
cmp byte [ebp - 0x59], 0
je 0x7c035ae8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], eax
inc dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov al, byte [eax]
mov byte [ebp - 0x49], al
inc dword [ebp - 0x48]
movzx ecx, al
push dword [ebp - 0x48]
mov eax, dword [ebp - 0x34]
push eax
add eax, 0xdc
push eax
call dword [ecx*4 + 0x7c04b3a8]
add esp, 0xc
mov dword [ebp - 0x30], eax
push dword [ebp - 0x34]
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0x50]
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 - 0x42]
call fcn.7c02072f
add esp, 0x14
mov eax, dword [esi]
mov ecx, eax
and ecx, edi
shr eax, 0x11
push dword [ebp - 0x34]
and eax, 0x1f
cmp ecx, edi
jne 0x7c035b4d
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
shr ecx, 8
and ecx, 7
push ecx
push eax
push dword [ebp - 0x42]
call fcn.7c02072f
add esp, 0x14
and dword [ebp - 0xa0], 0xfffffffe
jmp 0x7c035b6c
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
shr ecx, 8
and ecx, 7
push ecx
push eax
push dword [ebp - 0x42]
call fcn.7c02072f
add esp, 0x14
push dword [ebp - 0x34]
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x50]
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 - 0x42]
call fcn.7c02072f
add esp, 0x14
mov eax, dword [ebp - 0x30]
add dword [ebp - 0x2c], eax
mov ecx, dword [esi]
and ecx, 0x1c00000
cmp ecx, 0x400000
jne 0x7c035bc7
add dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
mov dword [ebp - 0x104], eax
inc dword [ebp - 0x2c]
jmp 0x7c035bc7
mov byte [ebp - 0x3d], 1
mov esi, dword [ebp - 0x54]
or dword [ebp - 4], 0xffffffff
xor eax, eax
cmp byte [ebp - 0x3d], al
jne 0x7c036033
mov edx, dword [ebp - 0x34]
mov ax, word [edx + 0xcc]
mov ecx, 0x300
and eax, ecx
je 0x7c035c09
cmp eax, 0x200
je 0x7c035bfd
cmp eax, ecx
jne 0x7c035c13
and dword [ebp - 0x140], 0
jmp 0x7c035c13
mov dword [ebp - 0x140], 1
jmp 0x7c035c13
mov dword [ebp - 0x140], 2
mov eax, dword [edx + 0xe4]
mov ecx, eax
shr ecx, 0xd
push 3
pop edi
and ecx, edi
sub ecx, 0
je 0x7c035c51
dec ecx
je 0x7c035c45
dec ecx
je 0x7c035c39
dec ecx
jne 0x7c035c58
mov dword [ebp - 0x144], edi
jmp 0x7c035c58
mov dword [ebp - 0x144], 2
jmp 0x7c035c58
mov dword [ebp - 0x144], 1
jmp 0x7c035c58
and dword [ebp - 0x144], 0
mov ecx, eax
shr ecx, 7
and ecx, 0x3f
mov dword [ebp - 0x154], ecx
mov ecx, eax
shr ecx, 0xf
and ecx, 1
mov dword [ebp - 0x14c], ecx
mov ecx, eax
shr ecx, 6
and ecx, 1
mov dword [ebp - 0x148], ecx
mov ecx, dword [edx + 0xc0]
mov dword [ebp - 0x138], ecx
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x13c], ecx
and eax, 0x3f
mov dword [ebp - 0x130], eax
xor edi, edi
mov dword [ebp - 0x12c], edi
mov esi, dword [esi]
shr esi, 0x1e
inc esi
mov dword [ebp - 0x158], esi
cmp byte [ebp - 0x42], 0
je 0x7c035cc6
xor esi, esi
inc esi
mov dword [ebp - 0x158], esi
cmp esi, edi
jbe 0x7c035fe4
mov eax, dword [ebp - 0x140]
and dword [ebp - 0x150], 0
and dword [ebp - 0x1cc], 0xffffffe0
and dword [ebp - 0x1c8], 0xffffffe0
and dword [ebp - 0x1c4], 0xffffffe0
mov edx, dword [ebp - 0x108]
mov ecx, edx
and ecx, 0xfff
shl ecx, 3
and eax, 7
or ecx, eax
shl ecx, 2
mov eax, dword [ebp - 0x1d0]
and eax, 0xfffe0000
or ecx, eax
mov eax, dword [ebp - 0x144]
and eax, 3
or ecx, eax
mov dword [ebp - 0x1d0], ecx
mov eax, dword [ebp - 0x1b0]
xor eax, dword [ebp - 0xd0]
and eax, 1
xor dword [ebp - 0x1b0], eax
mov esi, dword [ebp - 0x3c]
cmp esi, 1
jne 0x7c035d60
mov eax, dword [ebp + edi*8 - 0xe0]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp + edi*8 - 0xdc]
mov dword [ebp - 0x1bc], eax
jmp 0x7c035d93
test esi, esi
je 0x7c035d86
cmp edx, 0x59
jb 0x7c035d93
cmp edx, 0x5a
jbe 0x7c035d7f
cmp edx, 0x5c
jbe 0x7c035d93
cmp edx, 0x5f
jbe 0x7c035d86
cmp edx, 0x61
ja 0x7c035d93
jmp 0x7c035d44
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp + edi*4 - 0xe0]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1b0]
xor eax, dword [ebp - 0xd0]
and eax, 0x1e
xor dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0xa0]
and ecx, 1
je 0x7c035e2d
mov eax, dword [ebp - 0x190]
and eax, 0xfffffffe
or eax, ecx
cmp esi, 1
jne 0x7c035ddf
mov ecx, dword [ebp + edi*8 - 0xb0]
mov dword [ebp - 0x1a0], ecx
mov ecx, dword [ebp + edi*8 - 0xac]
mov dword [ebp - 0x19c], ecx
jmp 0x7c035e12
test esi, esi
je 0x7c035e05
cmp edx, 0x59
jb 0x7c035e12
cmp edx, 0x5a
jbe 0x7c035dfe
cmp edx, 0x5c
jbe 0x7c035e12
cmp edx, 0x5f
jbe 0x7c035e05
cmp edx, 0x61
ja 0x7c035e12
jmp 0x7c035dc3
and dword [ebp - 0x19c], 0
mov ecx, dword [ebp + edi*4 - 0xb0]
mov dword [ebp - 0x1a0], ecx
mov ecx, eax
xor ecx, dword [ebp - 0xa0]
and ecx, 0x1e
xor eax, ecx
mov dword [ebp - 0x190], eax
mov edx, dword [ebp - 0x108]
jmp 0x7c035e34
and dword [ebp - 0x190], 0xfffffffe
mov eax, dword [ebp - 0x70]
and dword [ebp - 0x170], 0xfffffffe
cmp esi, 1
jne 0x7c035e59
mov ecx, dword [ebp + edi*8 - 0x80]
mov dword [ebp - 0x180], ecx
mov ecx, dword [ebp + edi*8 - 0x7c]
mov dword [ebp - 0x17c], ecx
jmp 0x7c035e89
test esi, esi
je 0x7c035e7f
cmp edx, 0x59
jb 0x7c035e89
cmp edx, 0x5a
jbe 0x7c035e78
cmp edx, 0x5c
jbe 0x7c035e89
cmp edx, 0x5f
jbe 0x7c035e7f
cmp edx, 0x61
ja 0x7c035e89
jmp 0x7c035e43
and dword [ebp - 0x17c], 0
mov ecx, dword [ebp + edi*4 - 0x80]
mov dword [ebp - 0x180], ecx
xor eax, dword [ebp - 0x170]
and eax, 0x1e
xor dword [ebp - 0x170], eax
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x134], eax
cmp esi, 1
je 0x7c035ec3
cmp esi, 2
je 0x7c035ec3
lea esi, [ebp + edi*4 - 0x128]
lea eax, [ebp - 0x154]
push eax
call fcn.7c02072f
jmp 0x7c035ed6
lea esi, [ebp + edi*4 - 0x128]
lea eax, [ebp - 0x154]
push eax
call fcn.7c036804
pop ecx
mov dword [esi], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp + edi*4 - 0x118], eax
cmp dword [esi], 1
jne 0x7c035f58
test al, 0x20
je 0x7c035ef6
or dword [ebp - 0x12c], 0x20
test al, 0x10
je 0x7c035f01
or dword [ebp - 0x12c], 0x10
test al, 8
je 0x7c035f0c
or dword [ebp - 0x12c], 8
test al, 4
je 0x7c035f17
or dword [ebp - 0x12c], 4
test al, 2
je 0x7c035f22
or dword [ebp - 0x12c], 2
test al, 1
je 0x7c035f2d
or dword [ebp - 0x12c], 1
lea eax, [ebp - 0x1d0]
push eax
call dword [ebx + 0x10]
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
jne 0x7c036033
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 0x108]
call fcn.7c034ffc
pop ecx
pop ecx
mov eax, dword [ebp - 0x70]
xor eax, dword [ebp - 0x170]
and eax, 1
xor dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x100], eax
test byte [ebp - 0x70], 1
je 0x7c035fd7
cmp dword [ebp - 0x3c], 1
jne 0x7c035f95
mov eax, dword [ebp - 0x180]
mov dword [ebp + edi*8 - 0x80], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp + edi*8 - 0x7c], eax
jmp 0x7c035fd7
cmp dword [ebp - 0x3c], 0
jne 0x7c035fa7
mov eax, dword [ebp - 0x180]
mov dword [ebp + edi*4 - 0x80], eax
jmp 0x7c035fd7
mov eax, dword [ebp - 0x108]
cmp eax, 0x59
jb 0x7c035fd7
cmp eax, 0x5a
jbe 0x7c035fc8
cmp eax, 0x5c
jbe 0x7c035fd7
cmp eax, 0x5f
jbe 0x7c035f9b
cmp eax, 0x61
ja 0x7c035fd7
jmp 0x7c035f7f
mov eax, dword [ebp - 0x180]
mov dword [ebp + edi*8 - 0x80], eax
and dword [ebp + edi*8 - 0x7c], 0
inc edi
cmp edi, dword [ebp - 0x158]
jb 0x7c035cce
push dword [ebp - 0x100]
mov esi, dword [ebp - 0x34]
push esi
lea eax, [ebp - 0x90]
push eax
call fcn.7c0351c2
add esp, 0xc
mov eax, dword [ebp - 0x2c]
add dword [esi + 0xb8], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0xdc], eax
mov eax, dword [ebp - 0x28]
jmp 0x7c036033
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x24]
xor ecx, dword [ebx + 4]
call fcn.7c0013ab
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret