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

Disassembly:
push ebp
mov ebp, esp
mov eax, pe_nt_image_headers32
call fcn.0065cc50
mov eax, dword [0x745694]
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 0x4e2c99
cmp edi, eax
je 0x4e2c95
test edx, edx
je 0x4e2f45
test esi, esi
js 0x4e2f45
mov dword [ebx], edi
jmp 0x4e2ca3
test eax, eax
je 0x4e2f45
mov edi, eax
test byte [edi + 0xc], 2
jne 0x4e2f45
test edx, edx
je 0x4e2ee9
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x134], 1
cmp eax, 0x90
jg 0x4e2f45
cmp eax, esi
jge 0x4e2d2e
push ecx
push edi
push dword [ebx + 4]
call fcn.00471d90
add esp, 0xc
test eax, eax
je 0x4e2f45
test esi, esi
je 0x4e2d05
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 0x4e2f45
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x9c]
push eax
push dword [ebx + 4]
call fcn.00472090
add esp, 0xc
test eax, eax
je 0x4e2f45
mov esi, dword [ebp - 0x130]
jmp 0x4e2d4b
cmp esi, 0x90
ja 0x4e2f45
push esi
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.0065fd30
add esp, 0xc
cmp esi, 0x90
je 0x4e2d6e
mov eax, 0x90
sub eax, esi
push eax
lea eax, [ebp - 0x9c]
add eax, esi
push 0
push eax
call fcn.006602b0
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 0x4e2d80
cmp ecx, 0x90
jge 0x4e2df9
nop dword [eax]
mov al, byte [ebp + ecx - 0x9c]
xor al, 0x36
mov byte [ebp + ecx - 0x12c], al
inc ecx
cmp ecx, 0x90
jl 0x4e2de0
mov esi, dword [ebp - 0x138]
push esi
push edi
push dword [ebx + 8]
call fcn.00471d90
add esp, 0xc
test eax, eax
je 0x4e2f0b
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4e2e37
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 0x4e2f0b
movaps xmm1, xmmword [0x7350c0]
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 0x4e2e40
cmp ecx, 0x90
jge 0x4e2eb9
nop dword [eax]
mov al, byte [ebp + ecx - 0x9c]
xor al, 0x5c
mov byte [ebp + ecx - 0x12c], al
inc ecx
cmp ecx, 0x90
jl 0x4e2ea0
push esi
push edi
push dword [ebx + 0xc]
call fcn.00471d90
add esp, 0xc
test eax, eax
je 0x4e2f0b
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4e2ee9
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 0x4e2f0b
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
call fcn.00472190
xor ebx, ebx
mov ecx, 1
test eax, eax
cmovne ebx, ecx
cmp dword [ebp - 0x134], 0
je 0x4e2f32
jmp 0x4e2f0d
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.0065cc3a
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.0065cc3a
mov esp, ebp
pop ebp
ret