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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x138
call fcn.00626ba0
mov eax, dword [0x70a514]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx]
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], 0
test edi, edi
je 0x4e2a89
cmp edi, eax
je 0x4e2a85
test edx, edx
je 0x4e2d35
test esi, esi
js 0x4e2d35
mov dword [ebx], edi
jmp 0x4e2a93
test eax, eax
je 0x4e2d35
mov edi, eax
test byte [edi + 0xc], 2
jne 0x4e2d35
test edx, edx
je 0x4e2cd9
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x134], 1
cmp eax, 0x90
jg 0x4e2d35
cmp eax, esi
jge 0x4e2b1e
push ecx
push edi
push dword [ebx + 4]
call fcn.00471ba0
add esp, 0xc
test eax, eax
je 0x4e2d35
test esi, esi
je 0x4e2af5
mov eax, dword [ebx + 4]
push esi
push dword [ebp - 0x130]
push eax
mov eax, dword [eax + 0x14]
call eax
add esp, 0xc
test eax, eax
je 0x4e2d35
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x9c]
push eax
push dword [ebx + 4]
call fcn.00471ea0
add esp, 0xc
test eax, eax
je 0x4e2d35
mov esi, dword [ebp - 0x130]
jmp 0x4e2b3b
cmp esi, 0x90
ja 0x4e2d35
push esi
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.00629750
add esp, 0xc
cmp esi, 0x90
je 0x4e2b5e
mov eax, 0x90
sub eax, esi
push eax
lea eax, [ebp - 0x9c]
add eax, esi
push 0
push eax
call fcn.00629cd0
add esp, 0xc
movaps xmm1, xmmword [str.6666666666666666]
xor ecx, ecx
nop word [eax + eax]
movups xmm0, xmmword [ebp + ecx - 0x9c]
pxor xmm0, xmm1
movups xmmword [ebp + ecx - 0x12c], xmm0
movups xmm0, xmmword [ebp + ecx - 0x8c]
pxor xmm0, xmm1
movups xmmword [ebp + ecx - 0x11c], xmm0
movups xmm0, xmmword [ebp + ecx - 0x7c]
pxor xmm0, xmm1
movups xmmword [ebp + ecx - 0x10c], xmm0
movups xmm0, xmmword [ebp + ecx - 0x6c]
pxor xmm0, xmm1
movups xmmword [ebp + ecx - 0xfc], xmm0
add ecx, 0x40
cmp ecx, 0x80
jl 0x4e2b70
cmp ecx, 0x90
jge 0x4e2be9
nop dword [eax]
mov al, byte [ebp + ecx - 0x9c]
xor al, 0x36
mov byte [ebp + ecx - 0x12c], al
inc ecx
cmp ecx, 0x90
jl 0x4e2bd0
mov esi, dword [ebp - 0x138]
push esi
push edi
push dword [ebx + 8]
call fcn.00471ba0
add esp, 0xc
test eax, eax
je 0x4e2cfb
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4e2c27
mov eax, dword [ebx + 8]
push ecx
lea ecx, [ebp - 0x12c]
push ecx
push eax
mov eax, dword [eax + 0x14]
call eax
add esp, 0xc
test eax, eax
je 0x4e2cfb
movaps xmm1, xmmword [0x6fbd40]
xor ecx, ecx
movups xmm0, xmmword [ebp + ecx - 0x9c]
pxor xmm0, xmm1
movups xmmword [ebp + ecx - 0x12c], xmm0
movups xmm0, xmmword [ebp + ecx - 0x8c]
pxor xmm0, xmm1
movups xmmword [ebp + ecx - 0x11c], xmm0
movups xmm0, xmmword [ebp + ecx - 0x7c]
pxor xmm0, xmm1
movups xmmword [ebp + ecx - 0x10c], xmm0
movups xmm0, xmmword [ebp + ecx - 0x6c]
pxor xmm0, xmm1
movups xmmword [ebp + ecx - 0xfc], xmm0
add ecx, 0x40
cmp ecx, 0x80
jl 0x4e2c30
cmp ecx, 0x90
jge 0x4e2ca9
nop dword [eax]
mov al, byte [ebp + ecx - 0x9c]
xor al, 0x5c
mov byte [ebp + ecx - 0x12c], al
inc ecx
cmp ecx, 0x90
jl 0x4e2c90
push esi
push edi
push dword [ebx + 0xc]
call fcn.00471ba0
add esp, 0xc
test eax, eax
je 0x4e2cfb
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4e2cd9
mov eax, dword [ebx + 0xc]
push ecx
lea ecx, [ebp - 0x12c]
push ecx
push eax
mov eax, dword [eax + 0x14]
call eax
add esp, 0xc
test eax, eax
je 0x4e2cfb
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
call fcn.00471fa0
xor ebx, ebx
mov ecx, 1
test eax, eax
cmovne ebx, ecx
cmp dword [ebp - 0x134], 0
je 0x4e2d22
jmp 0x4e2cfd
xor ebx, ebx
lea eax, [ebp - 0x9c]
push 0x90
push eax
call fcn.00401320
lea eax, [ebp - 0x12c]
push 0x90
push eax
call fcn.00401320
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00626a7a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00626a7a
mov esp, ebp
pop ebp
ret