Function at 0x1002e670
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 0x1008b2d1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
push esi
push edi
mov eax, dword [0x100a9040]
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 0x1002e8d2
mov eax, dword [0x1009f5b0]
push ecx
call eax
test eax, eax
je 0x1002e8cf
movaps xmm0, xmmword [str._tIRH]
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 0x1002e707
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 0x1002e740
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.100048a0
lea eax, [ebp - 0xa4]
push eax
call fcn.10004440
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0xf
jbe 0x1002e776
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 0x1002e793
sub ecx, dword [ebp - 0x14]
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.100048a0
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 0x1002e7d3
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002e7d3
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x5c]
push eax
call dword [0x1009f658]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1002e80b
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e801
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ecca
push ecx
push edx
call fcn.10067ef6
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 0x1002e85e
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e854
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ecca
push ecx
push edx
call fcn.10067ef6
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 0x1002ec6c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002eae5
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 [0x1009f648]
mov esi, dword [ebp - 0x20]
jmp 0x1002ec6e
mov eax, dword [ebp - 0x34]
cmp dword [eax + esi + 0x44], 1
jne 0x1002eaed
cmp byte [eax + esi + 0x4a], 0
je 0x1002eaed
lea eax, [edi + edi*2]
mov byte [ebp - 0x30], 9
movzx ecx, word [esi + eax*8 + 0x48]
mov dl, 0x29
movzx eax, word [esi + edi*2 + 0x130]
xorps xmm0, xmm0
push ecx
push eax
mov al, 0x2c
mov byte [ebp - 0x28], 0
mov dh, al
mov byte [ebp - 0x28], 0
xor al, byte [ebp - 0x30]
mov cl, 0x6d
mov byte [ebp - 0x2f], al
mov ch, dl
mov al, byte [ebp - 0x30]
mov ah, 0x26
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 0x1002e962
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x2f]
push ecx
push eax
mov ecx, edx
call fcn.100048a0
lea eax, [ebp - 0xbc]
push eax
call fcn.10004440
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 0xf
jbe 0x1002e998
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 0x1002e9b5
sub ecx, dword [ebp - 0x14]
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.100048a0
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 0x1002e9f5
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002e9f5
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x74]
push eax
call dword [0x1009f658]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x1002ea2d
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ea23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ecca
push ecx
push edx
call fcn.10067ef6
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 0x1002ea80
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ea76
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ecca
push ecx
push edx
call fcn.10067ef6
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 0x1002ec6c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002eae5
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 [0x1009f648]
mov esi, dword [ebp - 0x20]
jmp 0x1002ec6e
lea eax, [edi + edi*2]
mov word [ebp - 0x1c], 0x34
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 0x1002eb22
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1b]
push ecx
push eax
mov ecx, edx
call fcn.100048a0
lea eax, [ebp - 0xd4]
push eax
call fcn.10004440
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 4
cmp dword [edx + 0x14], 0xf
jbe 0x1002eb58
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 0x1002eb78
sub ecx, dword [ebp - 0x14]
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.100048a0
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 0x1002ebbe
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002ebbe
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x8c]
push eax
call dword [0x1009f658]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1002ebf9
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ebef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ecca
push ecx
push edx
call fcn.10067ef6
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 0x1002ec4f
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ec45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ecca
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
jmp 0x1002ec6e
mov esi, ecx
mov ax, word [esi + edi*2 + 0x130]
lea ecx, [edi + edi*2]
cmp ax, word [esi + ecx*8 + 0x48]
jb 0x1002eca5
lea eax, [edi + edi*2]
mov edi, dword [esi + eax*8 + 0x50]
test edi, edi
je 0x1002eca5
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002eca5
push 0xff80ff00
mov ecx, edi
call dword [0x1009f660]
mov cl, byte [ebp - 0x15]
inc cl
mov byte [ebp - 0x15], cl
cmp cl, 3
jb 0x1002e6c0
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 fcn.1006d1c4
int3