Function at 0x10028fc0
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 0x1008b0c3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x100a9040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
movzx ecx, word [ebx + 0xc]
movzx eax, word [ebx + 8]
movzx edx, word [ebx + 0x14]
mov dword [ebp - 0x84], ecx
movzx ecx, word [ebx + 0x10]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 1
test ax, ax
je 0x10029725
test cx, cx
je 0x10029725
cmp dword [edi + 0x2c], 0
ja 0x10029725
cmp dword [ebx + 0x2c], 0xf
lea edx, [ebx + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
cmova edx, dword [ebx + 0x18]
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10029071
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.100048a0
mov byte [ebp - 4], 2
mov esi, dword [edi + 4]
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x68], eax
test esi, esi
je 0x100290ac
push 4
push esi
call eax
test eax, eax
jne 0x100290ac
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call dword [0x1009f658]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x100290e4
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100290da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100297bb
push ecx
push edx
call fcn.10067ef6
add esp, 8
cmp dword [ebx + 0x44], 0xf
lea edx, [ebx + 0x30]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
cmova edx, dword [ebx + 0x30]
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10029110
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.100048a0
mov byte [ebp - 4], 3
mov esi, dword [edi + 8]
test esi, esi
je 0x10029144
push 4
push esi
call dword [ebp - 0x68]
test eax, eax
jne 0x10029144
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call dword [0x1009f658]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1002917c
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10029172
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100297c0
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov esi, dword [edi + 0xc]
test esi, esi
je 0x10029196
push 4
push esi
call dword [ebp - 0x68]
test eax, eax
jne 0x10029196
push eax
mov ecx, esi
call dword [0x1009f65c]
mov esi, dword [edi + 0x10]
test esi, esi
je 0x100291b0
push 4
push esi
call dword [ebp - 0x68]
test eax, eax
jne 0x100291b0
push eax
mov ecx, esi
call dword [0x1009f65c]
cmp word [ebp - 0x48], 0xffff
je 0x1002970a
cmp word [ebp - 0x80], 0xffff
je 0x1002970a
mov byte [ebp - 0x74], 0x11
mov al, 0x62
xor al, byte [ebp - 0x74]
mov cl, 0x68
mov byte [ebp - 0x73], al
mov dl, 0x7c
mov al, byte [ebp - 0x74]
mov ch, 0x7e
mov dh, 0x7d
mov byte [ebp - 0x49], 0x4d
xor cl, al
mov byte [ebp - 0x6c], 0
xor dl, al
mov byte [ebp - 0x72], cl
xor ch, al
mov byte [ebp - 0x71], dl
xor dh, al
mov byte [ebp - 0x6f], ch
mov ah, 0x73
mov byte [ebp - 0x6e], dh
mov edx, dword [0x100aaf00]
lea ecx, [ebp - 0x73]
xor ah, al
mov byte [ebp - 0x6c], 0
mov al, byte [ebp - 0x49]
lea esi, [ecx + 1]
xor al, byte [ebp - 0x74]
mov byte [ebp - 0x70], ah
mov byte [ebp - 0x6d], al
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10029220
mov eax, 0x7fffffff
sub ecx, esi
sub eax, edx
cmp eax, ecx
jb 0x100297c5
cmp dword [0x100aaf04], 0xf
mov eax, 0x100aaef0
push ecx
cmova eax, dword [0x100aaef0]
lea ecx, [ebp - 0x73]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x2c]
call fcn.10010420
mov dword [ebp - 0x78], 0x10
mov eax, dword [ebp - 0x84]
mov byte [ebp - 4], 4
test ax, ax
jne 0x100292ef
movaps xmm0, xmmword [0x100a1640]
xor ecx, ecx
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0x7832776e
mov word [ebp - 0x50], 0x6864
mov byte [ebp - 0x4e], al
mov al, byte [ebp - 0x64]
xor byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0x15
jb 0x10029291
xorps xmm0, xmm0
mov byte [ebp - 0x4e], 0
lea ecx, [ebp - 0x63]
mov dword [ebp - 0x8c], 0
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x88], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100292c6
sub ecx, edx
lea eax, [ebp - 0x63]
push ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.100048a0
lea ecx, [ebp - 0x9c]
mov eax, 0x11
jmp 0x10029372
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
movaps xmm0, xmmword [0x100a1360]
cmova ecx, dword [ebp - 0x2c]
cwde
push eax
mov eax, dword [ebp - 0x48]
cwde
push eax
push 1
push ecx
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x50], 0x68
xor ecx, ecx
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x10
jb 0x10029317
sub esp, 0x18
mov byte [ebp - 0x4f], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
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 0x10029347
sub ecx, esi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.100048a0
lea eax, [ebp - 0xb4]
push eax
call fcn.10004440
mov ecx, eax
add esp, 0x2c
mov eax, 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x48], eax
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 4], 6
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
test al, 2
je 0x1002941b
mov ecx, dword [ebp - 0xa0]
and eax, 0xfffffffd
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x78], eax
cmp ecx, 0xf
jbe 0x10029400
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100293f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100297ca
push ecx
push edx
call fcn.10067ef6
mov eax, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
mov byte [ebp - 4], 7
test al, 1
je 0x10029466
mov ecx, dword [ebp - 0x88]
and eax, 0xfffffffe
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x78], eax
cmp ecx, 0xf
jbe 0x10029466
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002945c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100297ca
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov esi, dword [edi + 0x14]
test esi, esi
je 0x10029483
push 4
push esi
call dword [ebp - 0x68]
test eax, eax
jne 0x10029483
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call dword [0x1009f628]
mov ecx, dword [edi + 0x14]
sub esp, 0x1c
call fcn.10015b50
mov eax, dword [ebp - 0x7c]
add esp, 0x1c
test ax, ax
jne 0x10029521
movaps xmm0, xmmword [0x100a1120]
xor ecx, ecx
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0x4c06435a
mov word [ebp - 0x50], 0x5c50
mov byte [ebp - 0x4e], al
nop word [eax + eax]
mov al, byte [ebp - 0x64]
xor byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0x15
jb 0x100294c0
xorps xmm0, xmm0
mov byte [ebp - 0x4e], 0
lea ecx, [ebp - 0x63]
mov dword [ebp - 0x8c], 0
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x88], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100294f5
sub ecx, edx
lea eax, [ebp - 0x63]
push ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.100048a0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
or dword [ebp - 0x48], 4
jmp 0x100295aa
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
movaps xmm0, xmmword [0x100a12c0]
cmova ecx, dword [ebp - 0x2c]
cwde
push eax
mov eax, dword [ebp - 0x80]
cwde
push eax
push 1
push ecx
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x50], 0x56
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x10
jb 0x10029550
sub esp, 0x18
mov byte [ebp - 0x4f], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
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 0x10029580
sub ecx, esi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.100048a0
lea eax, [ebp - 0xcc]
push eax
call fcn.10004440
add esp, 0x2c
mov ecx, eax
or dword [ebp - 0x48], 8
push ecx
lea ecx, [ebp - 0x44]
call fcn.10009c00
mov eax, dword [ebp - 0x48]
test al, 8
je 0x10029618
mov ecx, dword [ebp - 0xb8]
and eax, 0xfffffff7
mov dword [ebp - 0x48], eax
cmp ecx, 0xf
jbe 0x100295fd
mov edx, dword [ebp - 0xcc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100295f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100297cf
push ecx
push edx
call fcn.10067ef6
mov eax, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
mov dword [ebp - 4], 7
test al, 4
je 0x1002965d
mov ecx, dword [ebp - 0x88]
cmp ecx, 0xf
jbe 0x1002965d
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10029653
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100297cf
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov esi, dword [edi + 0x18]
test esi, esi
je 0x1002967a
push 4
push esi
call dword [ebp - 0x68]
test eax, eax
jne 0x1002967a
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call dword [0x1009f628]
mov ecx, dword [edi + 0x18]
sub esp, 0x1c
call fcn.10015b50
mov byte [ebp - 4], 4
add esp, 0x1c
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x100296c0
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100296b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100297d4
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x1002970a
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10029700
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100297d4
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov esi, dword [edi + 0x34]
test esi, esi
je 0x10029725
push 4
push esi
call dword [ebp - 0x68]
test eax, eax
jne 0x10029725
push 1
mov ecx, esi
call dword [0x1009f5f4]
mov ecx, dword [ebx + 0x2c]
cmp ecx, 0xf
jbe 0x10029759
mov edx, dword [ebx + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002974f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100297d9
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov ecx, dword [ebx + 0x44]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0xf
mov byte [ebx + 0x18], 0
cmp ecx, 0xf
jbe 0x1002979b
mov edx, dword [ebx + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10029791
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100297d9
push ecx
push edx
call fcn.10067ef6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10067e95
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x40
call fcn.1006d1c4
call fcn.1006d1c4
call fcn.10004740
call fcn.1006d1c4
call fcn.1006d1c4
call fcn.1006d1c4
call fcn.1006d1c4
int3