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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x1020a0c0]
xor eax, esp
mov dword [esp + 0xd4], eax
mov dword [esp + 0x10], 0
mov ecx, dword [ebp + 0x18]
push esi
push edi
test ecx, ecx
je 0x100b4707
mov edx, dword [ebp + 0x1c]
lea eax, [ebp + 8]
mov esi, dword [ebp + 8]
cmp edx, 0x10
cmovae eax, esi
cmp byte [eax], 0x20
je 0x100b4707
cmp edx, 0x10
lea eax, [ebp + 8]
cmovae eax, esi
cmp byte [ecx + eax - 1], 0x20
je 0x100b4707
cmp edx, 0x10
mov dword [esp + 0x18], str..mdl
lea eax, [ebp + 8]
mov edx, 4
cmovae eax, esi
cmp ecx, edx
jb 0x100b4707
sub ecx, edx
mov esi, str..mdl
add ecx, eax
sub edx, edx
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x100b3f0a
add ecx, 4
add esi, 4
sub edx, 4
jae 0x100b3ef4
cmp edx, 0xfffffffc
je 0x100b3f3b
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x100b3f37
cmp edx, 0xfffffffd
je 0x100b3f3b
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x100b3f37
cmp edx, 0xfffffffe
je 0x100b3f3b
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x100b3f37
cmp edx, 0xffffffff
je 0x100b3f3b
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x100b3f3b
xor al, al
jmp 0x100b3f3d
mov al, 1
test al, al
je 0x100b4707
mov eax, dword [str._XVH_]
xor edx, edx
mov dword [esp + 0x18], eax
mov ax, word [0x101f2a64]
mov word [esp + 0x1c], ax
mov al, byte [0x101f2a66]
mov byte [esp + 0x1e], al
mov dword [esp + 0x14], edx
nop dword [eax + eax]
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 0x14]
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x18], cl
inc edx
mov dword [esp + 0x14], edx
cmp edx, 7
jl 0x100b3f70
xorps xmm0, xmm0
mov dword [esp + 0x90], 0
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x80], xmm0
mov dword [esp + 0x94], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b3fc1
sub ecx, edx
lea eax, [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x88]
call fcn.10027bd0
cmp dword [esp + 0x94], 0x10
lea edx, [esp + 0x80]
lea esi, [ebp + 8]
cmovae edx, dword [esp + 0x80]
cmp dword [ebp + 0x1c], 0x10
mov ecx, edx
mov dword [esp + 0x18], edx
cmovae esi, dword [ebp + 8]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b4007
sub ecx, edi
cmp dword [ebp + 0x18], ecx
jb 0x100b407f
sub ecx, 4
jb 0x100b4031
nop word [eax + eax]
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x100b4036
add esi, 4
add edx, 4
sub ecx, 4
jae 0x100b4020
cmp ecx, 0xfffffffc
je 0x100b4067
mov al, byte [esi]
cmp al, byte [edx]
jne 0x100b4063
cmp ecx, 0xfffffffd
je 0x100b4067
mov al, byte [esi + 1]
cmp al, byte [edx + 1]
jne 0x100b4063
cmp ecx, 0xfffffffe
je 0x100b4067
mov al, byte [esi + 2]
cmp al, byte [edx + 2]
jne 0x100b4063
cmp ecx, 0xffffffff
je 0x100b4067
mov al, byte [esi + 3]
cmp al, byte [edx + 3]
je 0x100b4067
xor cl, cl
jmp 0x100b4069
mov cl, 1
mov eax, 1
mov dword [esp + 0x14], eax
test cl, cl
je 0x100b407f
mov edi, dword [esp + 0x54]
jmp 0x100b44de
cmp byte [0x101f2b73], 0
mov esi, 4
mov eax, dword [0x101f2b6c]
mov ecx, dword [0x101f2b70]
mov edi, dword [0x102296a0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
je 0x100b41e0
xor edx, edx
mov dword [esp + 0x14], edx
cmp edi, 2
jl 0x100b41b0
movaps xmm2, xmmword [0x101ff6c0]
mov edx, 0x1f
movaps xmm3, xmmword [0x101ffba0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, esi
psrad xmm1, xmm4
movd xmm5, edx
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ff720]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ff700]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x101ff830]
movd xmm0, eax
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x18], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ff720]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x101ff830]
movd xmm0, ecx
pxor xmm1, xmm0
movd dword [esp + 0x1c], xmm1
jmp 0x100b41e0
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x14]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x18], cl
inc edx
mov dword [esp + 0x14], edx
cmp edx, 8
jl 0x100b41b0
xorps xmm0, xmm0
mov dword [esp + 0x70], 0
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x74], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b4200
sub ecx, edx
lea eax, [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.10027bd0
cmp dword [esp + 0x74], 0x10
lea edx, [esp + 0x60]
lea esi, [ebp + 8]
cmovae edx, dword [esp + 0x60]
cmp dword [ebp + 0x1c], 0x10
mov ecx, edx
mov dword [esp + 0x18], edx
cmovae esi, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b4240
sub ecx, dword [esp + 0x14]
cmp dword [ebp + 0x18], ecx
jb 0x100b42b4
sub ecx, 4
jb 0x100b4266
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x100b426b
add esi, 4
add edx, 4
sub ecx, 4
jae 0x100b4255
cmp ecx, 0xfffffffc
je 0x100b429c
mov al, byte [esi]
cmp al, byte [edx]
jne 0x100b4298
cmp ecx, 0xfffffffd
je 0x100b429c
mov al, byte [esi + 1]
cmp al, byte [edx + 1]
jne 0x100b4298
cmp ecx, 0xfffffffe
je 0x100b429c
mov al, byte [esi + 2]
cmp al, byte [edx + 2]
jne 0x100b4298
cmp ecx, 0xffffffff
je 0x100b429c
mov al, byte [esi + 3]
cmp al, byte [edx + 3]
je 0x100b429c
xor cl, cl
jmp 0x100b429e
mov cl, 1
mov eax, 3
mov dword [esp + 0x14], eax
test cl, cl
je 0x100b42b4
mov edi, dword [esp + 0x54]
jmp 0x100b44de
cmp byte [0x101f2963], 0
mov ecx, dword [str.jZW__WORZ_fR_QJW_]
mov esi, dword [0x101f2960]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
je 0x100b4414
xor edx, edx
mov dword [esp + 0x14], edx
cmp edi, 2
jl 0x100b43e4
movaps xmm2, xmmword [0x101ff6c0]
mov eax, 4
movaps xmm4, xmmword [0x101ffba0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [0x101ff830]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ff720]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ff700]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, ecx
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x18], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ff720]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, esi
pxor xmm1, xmm0
movd dword [esp + 0x1c], xmm1
jmp 0x100b4414
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x14]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x18], cl
inc edx
mov dword [esp + 0x14], edx
cmp edx, 8
jl 0x100b43e4
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x54], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b4433
sub ecx, edx
lea eax, [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.10027bd0
mov edi, dword [esp + 0x54]
lea edx, [esp + 0x40]
cmp edi, 0x10
lea esi, [ebp + 8]
cmovae edx, dword [esp + 0x40]
cmp dword [ebp + 0x1c], 0x10
mov ecx, edx
mov dword [esp + 0x18], edx
cmovae esi, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b4473
sub ecx, dword [esp + 0x14]
cmp dword [ebp + 0x18], ecx
jb 0x100b44ed
sub ecx, 4
jb 0x100b4499
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x100b449e
add esi, 4
add edx, 4
sub ecx, 4
jae 0x100b4488
cmp ecx, 0xfffffffc
je 0x100b44cf
mov al, byte [esi]
cmp al, byte [edx]
jne 0x100b44cb
cmp ecx, 0xfffffffd
je 0x100b44cf
mov al, byte [esi + 1]
cmp al, byte [edx + 1]
jne 0x100b44cb
cmp ecx, 0xfffffffe
je 0x100b44cf
mov al, byte [esi + 2]
cmp al, byte [edx + 2]
jne 0x100b44cb
cmp ecx, 0xffffffff
je 0x100b44cf
mov al, byte [esi + 3]
cmp al, byte [edx + 3]
je 0x100b44cf
xor cl, cl
jmp 0x100b44d1
mov cl, 1
mov eax, 7
mov dword [esp + 0x14], eax
test cl, cl
je 0x100b44ed
mov byte [esp + 0x13], 0
mov dword [esp + 0x18], eax
test al, 4
je 0x100b4545
jmp 0x100b44fa
mov byte [esp + 0x13], 1
mov dword [esp + 0x14], 7
cmp edi, 0x10
jb 0x100b452c
mov ecx, dword [esp + 0x40]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x100b4522
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b4757
push edi
push ecx
call fcn.1019d45c
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0xf
mov byte [esp + 0x40], 0
test al, 2
je 0x100b4594
mov ecx, dword [esp + 0x74]
cmp ecx, 0x10
jb 0x100b457f
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b4575
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b4757
push ecx
push edx
call fcn.1019d45c
add esp, 8
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0xf
mov byte [esp + 0x60], 0
mov ecx, dword [esp + 0x94]
cmp ecx, 0x10
jb 0x100b45d0
mov edx, dword [esp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b45c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b4757
push ecx
push edx
call fcn.1019d45c
add esp, 8
cmp byte [esp + 0x13], 0
jne 0x100b4707
mov eax, dword [0x10227c48]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x90]
call eax
mov edx, eax
mov dword [esp + 0x30], 0
mov ecx, edx
mov dword [esp + 0x34], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b4610
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.10027bd0
mov eax, dword [0x10227c40]
mov al, byte [eax + 0x1650]
cmp al, 0x5c
je 0x100b4679
cmp al, 0x2f
je 0x100b4679
mov edx, dword [esp + 0x34]
mov eax, edx
mov ecx, dword [esp + 0x30]
sub eax, ecx
cmp eax, 1
jb 0x100b4663
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [esp + 0x30], eax
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
mov word [eax + ecx], 0x2f
jmp 0x100b4679
push 1
push 0x101f0c18
push dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push 1
call fcn.10028320
mov eax, dword [0x10227c40]
lea ecx, [esp + 0x20]
add eax, 0x1650
push eax
call fcn.10020690
cmp dword [esp + 0x34], 0x10
lea ecx, [esp + 0xa8]
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push ecx
push eax
call fcn.101ab6b8
mov ecx, dword [esp + 0x3c]
add esp, 8
cmp eax, 0xffffffff
setne al
mov byte [esp + 0x13], al
cmp ecx, 0x10
jb 0x100b46f0
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b46e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b475c
push ecx
push edx
call fcn.1019d45c
mov al, byte [esp + 0x1b]
add esp, 8
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xf
mov byte [esp + 0x20], 0
jmp 0x100b470d
xor al, al
mov byte [esp + 0x13], al
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x100b4741
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b4733
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b475c
push edx
push ecx
call fcn.1019d45c
mov al, byte [esp + 0x1b]
add esp, 8
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret 0x18
call fcn.101a26e6
call fcn.101a26e6
int3