Function at 0x10076830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100acb45
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
push edi
mov eax, dword [0x100c90c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x104]
xor cl, cl
mov edx, eax
mov esi, 6
cmp dword [edx - 4], 0
je 0x10076873
cmp dword [edx], 0
jne 0x10076875
inc cl
add edx, 0x18
sub esi, 1
jne 0x10076868
cmp cl, 6
jne 0x100769cc
movaps xmm0, xmmword [str._oPHZM]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x10076893
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1f]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100768c0
sub ecx, edx
lea eax, [ebp - 0x1f]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.10002620
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x100bf010]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x47101d19
mov word [ebp - 0x10], 0x48
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x14
jb 0x100768f7
xorps xmm0, xmm0
mov byte [ebp - 0xf], 0
lea ecx, [ebp - 0x23]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10076923
sub ecx, edx
lea eax, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.10002620
push 0
push 0
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.1002e260
mov ecx, dword [ebp - 0x28]
add esp, 8
cmp ecx, 0xf
jbe 0x10076983
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10076979
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10076b48
push ecx
push edx
call fcn.100859f6
add esp, 8
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x10076b37
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100769b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10076b48
push ecx
push edx
call fcn.100859f6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor esi, esi
lea ecx, [esi + 6]
cmp dword [eax - 4], 0
jbe 0x100769df
cmp dword [eax], 0
jbe 0x100769df
add esi, dword [eax + 4]
add eax, 0x18
sub ecx, 1
jne 0x100769d1
mov ecx, edi
call fcn.10074d00
mov ecx, edi
call fcn.10075150
push ecx
mov edx, esi
lea ecx, [ebp - 0x70]
call fcn.1001a190
add esp, 4
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0xf
jbe 0x10076a12
mov eax, dword [eax]
movaps xmm0, xmmword [0x100bffe0]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x247277
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x12
jb 0x10076a27
sub esp, 0x18
mov byte [ebp - 0x11], 0
mov edx, esp
lea ecx, [ebp - 0x23]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10076a57
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x3c]
push eax
call fcn.10005dd0
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [edi + 0x7c]
call fcn.1001c9d0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x10076abe
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10076ab4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10076b4d
push ecx
push edx
call fcn.100859f6
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp ecx, 0xf
jbe 0x10076b07
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10076afd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10076b4d
push ecx
push edx
call fcn.100859f6
add esp, 8
mov esi, dword [edi + 0x20]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
test esi, esi
je 0x10076b37
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10076b37
push 1
mov ecx, esi
call dword [0x100bd600]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1008ac0f
call fcn.1008ac0f
int3