Function at 0x1002b760
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100675a1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
push esi
push edi
mov eax, dword [0x1007c040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
xor cl, cl
mov byte [ebp - 0x15], cl
nop dword [eax + eax]
movzx edi, cl
lea eax, [edi + edi*2]
shl eax, 3
mov dword [ebp - 0x34], eax
mov ecx, dword [eax + esi + 0x44]
test ecx, ecx
je 0x1002b9c2
mov eax, dword [0x10073590]
push ecx
call eax
test eax, eax
je 0x1002b9bf
movaps xmm0, xmmword [0x10074950]
lea eax, [edi + edi*2]
movzx ecx, word [esi + eax*8 + 0x48]
movzx eax, word [esi + edi*2 + 0x130]
push ecx
push eax
movups xmmword [ebp - 0x44], xmm0
xor ecx, ecx
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0xe
jb 0x1002b7f7
sub esp, 0x18
mov byte [ebp - 0x35], 0
mov edx, esp
lea ecx, [ebp - 0x43]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b830
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0xa4]
push eax
call fcn.10004d30
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0xf
jbe 0x1002b866
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b883
sub ecx, dword [ebp - 0x14]
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.100051a0
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 1
mov eax, dword [eax + esi + 0x50]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002b8c3
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002b8c3
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x5c]
push eax
call dword [0x10073638]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1002b8fb
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b8f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002bdba
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x1002b94e
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b944
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002bdba
push ecx
push edx
call fcn.100641c5
add esp, 8
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
movzx esi, word [esi + edi*2 + 0x130]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov eax, dword [eax + ecx + 0x54]
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002bd5c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002bbd5
mov ecx, dword [ebp - 0x14]
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x10073628]
mov esi, dword [ebp - 0x20]
jmp 0x1002bd5e
mov eax, dword [ebp - 0x34]
cmp dword [eax + esi + 0x44], 1
jne 0x1002bbdd
cmp byte [eax + esi + 0x4a], 0
je 0x1002bbdd
lea eax, [edi + edi*2]
mov byte [ebp - 0x30], 0x4b
movzx ecx, word [esi + eax*8 + 0x48]
mov dl, 0x6b
movzx eax, word [esi + edi*2 + 0x130]
xorps xmm0, xmm0
push ecx
push eax
mov al, 0x6e
mov byte [ebp - 0x28], 0
mov dh, al
mov byte [ebp - 0x28], 0
xor al, byte [ebp - 0x30]
mov cl, 0x2f
mov byte [ebp - 0x2f], al
mov ch, dl
mov al, byte [ebp - 0x30]
mov ah, 0x64
xor dl, al
mov byte [ebp - 0x21], cl
xor cl, al
mov byte [ebp - 0x2d], dl
xor ch, al
mov byte [ebp - 0x2e], cl
xor dh, al
mov byte [ebp - 0x2b], ch
xor ah, al
mov byte [ebp - 0x2a], dh
mov al, byte [ebp - 0x21]
lea ecx, [ebp - 0x2f]
xor al, byte [ebp - 0x30]
sub esp, 0x18
mov edx, esp
mov byte [ebp - 0x2c], ah
mov byte [ebp - 0x29], al
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ba52
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x2f]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0xbc]
push eax
call fcn.10004d30
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 0xf
jbe 0x1002ba88
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x64], 0
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x74], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002baa5
sub ecx, dword [ebp - 0x14]
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.100051a0
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 3
mov eax, dword [esi + eax + 0x50]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002bae5
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002bae5
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x74]
push eax
call dword [0x10073638]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x1002bb1d
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002bb13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002bdba
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0xf
jbe 0x1002bb70
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002bb66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002bdba
push ecx
push edx
call fcn.100641c5
add esp, 8
mov ecx, dword [ebp - 0x20]
lea eax, [edi + edi*2]
movzx esi, word [esi + edi*2 + 0x130]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov eax, dword [ecx + eax*8 + 0x54]
mov byte [ebp - 0xbc], 0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002bd5c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002bbd5
mov ecx, dword [ebp - 0x14]
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x10073628]
mov esi, dword [ebp - 0x20]
jmp 0x1002bd5e
lea eax, [edi + edi*2]
mov word [ebp - 0x1c], 2
movzx eax, word [esi + eax*8 + 0x48]
lea ecx, [ebp - 0x1b]
push eax
sub esp, 0x18
mov byte [ebp - 0x1b], 0
mov edx, esp
lea eax, [ecx + 1]
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bc12
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1b]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0xd4]
push eax
call fcn.10004d30
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 4
cmp dword [edx + 0x14], 0xf
jbe 0x1002bc48
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x7c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x8c], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bc68
sub ecx, dword [ebp - 0x14]
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.100051a0
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 5
mov eax, dword [esi + eax + 0x50]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002bcae
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002bcae
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x8c]
push eax
call dword [0x10073638]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1002bce9
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002bcdf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002bdba
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0xf
jbe 0x1002bd3f
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002bd35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002bdba
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
jmp 0x1002bd5e
mov esi, ecx
mov ax, word [esi + edi*2 + 0x130]
lea ecx, [edi + edi*2]
cmp ax, word [esi + ecx*8 + 0x48]
jb 0x1002bd95
lea eax, [edi + edi*2]
mov edi, dword [esi + eax*8 + 0x50]
test edi, edi
je 0x1002bd95
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002bd95
push 0xff80ff00
mov ecx, edi
call dword [0x10073640]
mov cl, byte [ebp - 0x15]
inc cl
mov byte [ebp - 0x15], cl
cmp cl, 3
jb 0x1002b7b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3