Function at 0x1003bdd0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063c35
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x10077604]
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 edi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [edi]
mov dword [0x10078518], eax
test ebx, ebx
je 0x1003c845
cmp dword [ebp + 0xc], 1
jne 0x1003c845
cmp dword [0x10077f2c], 0
je 0x1003c845
mov eax, dword [edi + 4]
test eax, eax
je 0x1003be40
cmp ebx, eax
jne 0x1003be40
call fcn.100393a0
mov al, 1
jmp 0x1003c847
mov eax, dword [edi + 0x138]
test eax, eax
je 0x1003be60
cmp ebx, eax
jne 0x1003be60
mov eax, dword [edi + 0x148]
cmp eax, 1
jbe 0x1003c841
dec eax
jmp 0x1003be81
mov eax, dword [edi + 0x13c]
test eax, eax
je 0x1003be97
cmp ebx, eax
jne 0x1003be97
mov eax, dword [edi + 0x148]
cmp eax, dword [edi + 0x14c]
jae 0x1003c841
inc eax
mov dword [edi + 0x148], eax
movzx eax, al
push eax
call fcn.1003cd80
mov al, 1
jmp 0x1003c847
mov ecx, dword [edi + 0x160]
mov eax, 0x4ec4ec4f
sub ecx, dword [edi + 0x15c]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1003c841
lea eax, [edi + 0x30]
mov esi, 4
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc8], esi
nop
mov eax, dword [eax]
test eax, eax
je 0x1003c823
cmp ebx, eax
jne 0x1003c823
mov eax, dword [ebp - 0xc4]
xor ebx, ebx
mov ecx, dword [edi + 0x160]
sub ecx, dword [edi + 0x15c]
mov eax, dword [eax - 0x14]
mov dword [ebp - 0x64], eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x1003c820
xor esi, esi
nop word [eax + eax]
mov eax, dword [edi + 0x15c]
mov ecx, dword [ebp - 0x64]
cmp dword [esi + eax + 0x18], ecx
je 0x1003bf55
mov ecx, dword [edi + 0x160]
inc ebx
sub ecx, eax
add esi, 0x68
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jl 0x1003bf20
jmp 0x1003c81a
imul ebx, ebx, 0x68
mov dword [edi + 0x144], ecx
mov dword [ebp - 0xa8], 0xffffffff
mov dword [ebp - 0x64], ebx
cmp byte [eax + ebx + 0x64], 2
jne 0x1003c00a
movaps xmm0, xmmword [0x10069e80]
xor ecx, ecx
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd0], 0x71776a7f
mov word [ebp - 0xcc], 0x4370
mov byte [ebp - 0xca], 0
mov al, byte [ebp - 0xe0]
xor byte [ebp + ecx - 0xdf], al
inc ecx
cmp ecx, 0x15
jb 0x1003bfa0
lea eax, [ebp - 0xdf]
mov byte [ebp - 0xca], 0
push eax
lea ecx, [ebp - 0x40]
call fcn.100017e0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
push dword [edi + 0x7c]
call fcn.100136d0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10001840
push 0xff5cb9fe
push dword [edi + 0x7c]
call fcn.100136a0
mov dword [ebp - 0xa8], 0xff808080
jmp 0x1003c090
mov cl, 4
mov dword [ebp - 0x9c], 0x6a515f04
mov dword [ebp - 0x98], 0x24766160
xor eax, eax
mov dword [ebp - 0x94], 0x597d6573
mov byte [ebp - 0x90], 0
xor byte [ebp + eax - 0x9b], cl
inc eax
cmp eax, 0xb
jae 0x1003c048
mov cl, byte [ebp - 0x9c]
jmp 0x1003c033
lea eax, [ebp - 0x9b]
mov byte [ebp - 0x90], 0
push eax
lea ecx, [ebp - 0x40]
call fcn.100017e0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
push dword [edi + 0x7c]
call fcn.100136d0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10001840
push 0xffc4fc03
push dword [edi + 0x7c]
call fcn.100136a0
lea edx, [edi + 0x84]
mov dword [ebp - 0x60], 0x48
lea ecx, [ebx + 0x58]
mov dword [ebp - 0x7c], edx
lea esi, [edi + 0xa8]
mov dword [ebp - 0x5c], ecx
add esp, 8
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x80], 4
nop dword [eax]
mov eax, dword [edi + 0x15c]
cmp word [ecx + eax - 0x10], 0
je 0x1003c4cc
mov bh, 0x6a
mov byte [ebp - 0xac], 0
mov cl, 4
mov byte [ebp - 0xb4], bh
mov bl, cl
mov byte [ebp - 0xac], 0
mov al, 0x3f
mov ah, 5
xor al, bh
xor ah, bh
mov ch, 0x1d
mov byte [ebp - 0xb3], al
mov dh, bl
mov byte [ebp - 0xaf], ah
xor cl, bh
lea eax, [ebp - 0xb3]
xor ch, bh
mov byte [ebp - 0xb2], cl
mov dl, 1
mov byte [ebp - 0xae], ch
xor dl, bh
lea ecx, [ebp - 0x58]
xor dh, bh
mov byte [ebp - 0xb1], dl
xor bl, bh
mov byte [ebp - 0xad], dh
push eax
mov byte [ebp - 0xb0], bl
call fcn.100017e0
lea eax, [ebp - 0x67]
mov word [ebp - 0x68], 0x1b
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 2
mov byte [ebp - 0x67], 0
call fcn.100017e0
mov eax, dword [edi + 0x15c]
add eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 3
movzx eax, word [eax + ecx]
push eax
call fcn.10007ff0
add esp, 4
test eax, eax
je 0x1003c1a2
add eax, 4
lea ecx, [ebp - 0x58]
cmp ecx, eax
je 0x1003c18f
push 0xffffffffffffffff
push 0
push eax
call fcn.100026e0
push 1
push dword [esi]
call fcn.10012be0
push 0
push dword [esi + 4]
jmp 0x1003c2a9
mov eax, dword [edi + 0x15c]
mov ebx, dword [ebp - 0x5c]
cmp word [ebx + eax - 0x10], 1
jne 0x1003c2b4
mov esi, dword [0x10077f2c]
mov ecx, esi
call fcn.1001a560
cmp byte [esi + 0x34], 1
jne 0x1003c241
mov al, 0x1c
mov byte [ebp - 0x8c], 0x59
xor al, byte [ebp - 0x8c]
mov ah, 0x36
mov byte [ebp - 0x8b], al
mov cl, 0x35
mov al, byte [ebp - 0x8c]
mov dl, 0x79
mov bl, 0x14
mov byte [ebp - 0x83], 0
mov ch, 0x2b
mov byte [ebp - 0x83], 0
mov dh, 0x38
xor cl, al
xor dl, al
mov byte [ebp - 0x8a], cl
xor bl, al
mov byte [ebp - 0x89], dl
xor ah, al
mov byte [ebp - 0x88], bl
xor ch, al
mov byte [ebp - 0x87], ah
xor dh, al
mov byte [ebp - 0x86], ch
mov bh, 0x3d
mov byte [ebp - 0x85], dh
xor bh, al
lea eax, [ebp - 0x8b]
mov byte [ebp - 0x84], bh
jmp 0x1003c28f
mov ch, 0x3d
mov byte [ebp - 0x9e], 0
mov al, 0x76
mov byte [ebp - 0xa4], ch
mov cl, 0x5c
mov byte [ebp - 0x9e], 0
mov dl, 0x4f
mov bl, 0x48
mov ah, 0x4e
xor al, ch
xor cl, ch
mov byte [ebp - 0xa3], al
xor dl, ch
mov byte [ebp - 0xa2], cl
xor bl, ch
mov byte [ebp - 0xa1], dl
xor ah, ch
mov byte [ebp - 0xa0], bl
mov byte [ebp - 0x9f], ah
lea eax, [ebp - 0xa3]
push eax
lea ecx, [ebp - 0x58]
call fcn.10007e90
mov esi, dword [ebp - 0x78]
push 1
push dword [esi + 4]
call fcn.10012be0
push 0
push dword [esi]
call fcn.10012be0
mov ebx, dword [ebp - 0x5c]
add esp, 0x10
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0xe0]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.100017e0
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 4
push eax
push dword [esi + 8]
call fcn.100136d0
mov eax, dword [ebp - 0xcc]
add esp, 8
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x1003c302
inc eax
push 1
push eax
push dword [ebp - 0xe0]
call fcn.10002610
add esp, 0xc
push dword [ebp - 0xa8]
push dword [esi + 8]
call fcn.100136a0
mov eax, dword [edi + 0x15c]
add esp, 8
mov dl, 0x6c
mov cl, 0x28
mov dh, cl
movzx eax, word [eax + ebx]
push eax
mov eax, dword [edi + 0x15c]
movzx eax, word [ebx + eax - 8]
mov bh, 0x4c
push eax
mov al, 0x69
mov byte [ebp - 0xb8], 0
mov ah, dl
mov byte [ebp - 0xc0], bh
mov ch, al
mov byte [ebp - 0xb8], 0
xor al, bh
xor ah, bh
sub esp, 0x18
mov byte [ebp - 0xbf], al
xor cl, bh
mov byte [ebp - 0xbb], ah
xor ch, bh
mov byte [ebp - 0xbe], cl
mov bl, 0x63
mov byte [ebp - 0xba], ch
lea eax, [ebp - 0xbf]
xor dl, bh
xor dh, bh
mov byte [ebp - 0xbd], dl
mov ecx, esp
mov byte [ebp - 0xb9], dh
xor bl, bh
push eax
mov byte [ebp - 0xbc], bl
call fcn.100017e0
lea eax, [ebp - 0xf8]
push eax
call fcn.100322e0
add esp, 0x24
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 5
jb 0x1003c3b2
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xe0]
call fcn.100017e0
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 6
push eax
push dword [esi + 0xc]
call fcn.100136d0
mov eax, dword [ebp - 0xcc]
add esp, 8
cmp eax, 0x10
jb 0x1003c3f1
inc eax
push 1
push eax
push dword [ebp - 0xe0]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xcc], 0xf
mov dword [ebp - 0xd0], 0
mov byte [ebp - 0xe0], 0
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x1003c42d
inc eax
push 1
push eax
push dword [ebp - 0xf8]
call fcn.10002610
add esp, 0xc
mov eax, dword [edi + 0x15c]
mov ebx, dword [ebp - 0x5c]
movzx eax, word [eax + ebx]
push eax
push 0
push dword [esi + 0x10]
call fcn.100133c0
mov eax, dword [edi + 0x15c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
movzx eax, word [ebx + eax - 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push dword [esi + 0x10]
call fcn.10013370
mov eax, dword [ebp - 0x7c]
push 1
push dword [eax]
call fcn.10012be0
mov eax, dword [ebp - 0x2c]
add esp, 0x18
cmp eax, 0x10
jb 0x1003c49a
inc eax
push 1
push eax
push dword [ebp - 0x40]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1003c4d8
inc eax
push 1
push eax
push dword [ebp - 0x58]
call fcn.10002610
add esp, 0xc
jmp 0x1003c4d8
push 0
push dword [edx]
call fcn.10012be0
add esp, 8
mov ecx, dword [ebp - 0x5c]
add esi, 0x14
mov edx, dword [ebp - 0x7c]
add ecx, 2
add dword [ebp - 0x60], 2
add edx, 4
sub dword [ebp - 0x80], 1
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], esi
jne 0x1003c0c0
mov ecx, dword [ebp - 0x64]
lea eax, [edi + 0x94]
add ecx, 0x34
mov dword [ebp - 0x60], eax
lea esi, [edi + 0xf8]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x78], 5
nop dword [eax]
mov eax, dword [edi + 0x15c]
mov ebx, dword [ecx + eax - 0x14]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x64], eax
lea eax, [ebx - 1]
cmp eax, 0x5f5e0fe
mov eax, 0x35a4f8a0
cmovbe ebx, eax
push ebx
call fcn.10007f40
add esp, 4
mov dword [ebp - 0x5c], eax
push 0
test eax, eax
je 0x1003c71b
lea eax, [ebp - 0x6b]
mov word [ebp - 0x6c], 0x6b
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x6b], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10002800
mov eax, dword [ebp - 0x5c]
push ebx
mov dword [ebp - 4], 7
movzx eax, byte [eax + 4]
push eax
call fcn.10007f80
add esp, 8
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x1003c62d
cmp dword [eax + 0x48], 0
je 0x1003c62d
push ebx
push eax
lea eax, [ebp - 0xf8]
push 0
push eax
call fcn.100095f0
add esp, 0x10
lea ecx, [ebp - 0x28]
push eax
call fcn.10007e10
mov eax, dword [ebp - 0xe4]
cmp eax, 0x10
jb 0x1003c5e4
inc eax
push 1
push eax
push dword [ebp - 0xf8]
call fcn.10002610
add esp, 0xc
mov ebx, dword [ebp - 0x5c]
mov eax, dword [esi]
test eax, eax
je 0x1003c6da
lea ecx, [ebp - 0x28]
add eax, 4
push ecx
push eax
call fcn.1000d880
mov eax, dword [esi]
add esp, 8
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x64]
mov dword [eax + 0x50], ebx
mov eax, dword [esi]
mov dword [eax + 0x54], ecx
mov eax, dword [esi]
mov dword [eax + 0x58], edx
test ecx, ecx
je 0x1003c6b1
movsx ecx, word [ecx + 0x56]
movsx eax, word [ebx + 0x66]
add ecx, eax
jmp 0x1003c6b5
push ebx
mov ebx, dword [ebp - 0x5c]
lea eax, [ebp - 0xf8]
push 0
push ebx
push eax
call fcn.100095f0
add esp, 0x10
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x1003c687
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1003c667
inc eax
push 1
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10003770
mov eax, dword [ebp - 0xe4]
mov byte [ebp - 4], 7
cmp eax, 0x10
jb 0x1003c5e7
inc eax
push 1
push eax
push dword [ebp - 0xf8]
call fcn.10002610
add esp, 0xc
jmp 0x1003c5e7
movsx ecx, word [ebx + 0x66]
mov eax, dword [esi]
mov dword [eax + 0x5c], ecx
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x1003c6da
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.10013250
mov eax, dword [esi]
push 1
push dword [eax]
call fcn.10012be0
add esp, 0x10
push dword [ebp - 0x64]
push dword [esi + 4]
call fcn.10013770
mov eax, dword [ebp - 0x60]
push 1
push dword [eax]
call fcn.10012be0
mov eax, dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1003c800
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
jmp 0x1003c800
mov eax, dword [ebp - 0x60]
push dword [eax]
call fcn.10012be0
push 0
push dword [esi + 4]
call fcn.10013770
add esp, 0x10
cmp dword [esi], 0
je 0x1003c800
lea eax, [ebp - 0x6f]
mov word [ebp - 0x70], 0x76
push eax
lea ecx, [ebp - 0xf8]
mov byte [ebp - 0x6f], 0
call fcn.100017e0
lea eax, [ebp - 0xf8]
mov dword [ebp - 4], 9
push eax
mov eax, dword [esi]
add eax, 4
push eax
call fcn.1000d880
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.10001840
mov eax, dword [esi]
mov dword [eax + 0x50], 0
mov eax, dword [esi]
mov dword [eax + 0x54], 0
mov eax, dword [esi]
mov dword [eax + 0x58], 0
mov eax, dword [esi]
mov dword [eax + 0x5c], 0
mov eax, dword [esi]
cmp dword [eax], 0
je 0x1003c800
lea eax, [ebp - 0x73]
mov word [ebp - 0x74], 0x5e
push eax
lea ecx, [ebp - 0x110]
mov byte [ebp - 0x73], 0
call fcn.100017e0
lea eax, [ebp - 0x110]
mov dword [ebp - 4], 0xa
push eax
mov eax, dword [esi]
push dword [eax]
call fcn.10013250
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.10001840
mov eax, dword [esi]
push 0
push dword [eax]
call fcn.10012be0
add esp, 8
mov ecx, dword [ebp - 0x80]
add esi, 0xc
add dword [ebp - 0x60], 4
add ecx, 4
sub dword [ebp - 0x78], 1
mov dword [ebp - 0x80], ecx
jne 0x1003c520
mov esi, dword [ebp - 0xc8]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0xc4]
add eax, 0x18
sub esi, 1
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc8], esi
jne 0x1003bed0
mov al, 1
jmp 0x1003c847
xor al, al
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.1005f6be
mov esp, ebp
pop ebp
ret 8