Function at 0x10023f30
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 0x1005e8ca
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x1007a040]
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
mov ecx, dword [edi + 0x15c]
mov esi, dword [edi + 0x158]
cmp esi, ecx
je 0x10024991
sub ecx, esi
mov dword [ebp - 0x30], 0
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
test ecx, ecx
jle 0x10023fc3
mov edx, dword [ebx + 8]
lea eax, [esi + 0x18]
nop dword [eax + eax]
cmp dword [eax], edx
je 0x10024099
inc dword [ebp - 0x30]
add eax, 0x68
cmp dword [ebp - 0x30], ecx
jl 0x10023fb0
mov ecx, dword [edi + 0x144]
shl ecx, 2
mov dword [ebp - 0x6c], ecx
lea eax, [ecx - 4]
mov dword [ebp - 0x4c], eax
cmp eax, ecx
jge 0x10024991
imul eax, eax, 0x68
mov dword [ebp - 0x30], eax
lea eax, [edi + 0xc]
nop word [eax + eax]
mov ecx, dword [edi + 0x15c]
add eax, 0x18
mov esi, dword [edi + 0x158]
sub ecx, esi
mov dword [ebp - 0x48], eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
cmp dword [ebp - 0x4c], eax
jg 0x10024991
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
add eax, esi
mov dword [ebp - 0x80], 0xffc4fc03
push eax
call fcn.10004300
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 4], 4
mov eax, dword [edi + 0x158]
cmp byte [eax + ecx + 0x65], 2
jne 0x10024594
movaps xmm0, xmmword [0x10073a40]
xor ecx, ecx
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0x332e3b29
mov dword [ebp - 0x54], 0x73435
nop word [eax + eax]
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x16
jb 0x10024070
lea eax, [ebp - 0x67]
mov byte [ebp - 0x51], 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.10008060
mov dword [ebp - 0x80], 0xff5cb9fe
jmp 0x100245d2
imul ecx, dword [ebp - 0x30], 0x68
mov al, byte [ebx + 0xc]
mov edx, dword [ebx + 0x14]
mov dword [ebp - 0x4c], 4
mov dword [ebp - 0x80], ecx
mov byte [ecx + esi + 0x65], al
lea esi, [ecx + 0x58]
mov eax, dword [ebx + 0x10]
sub eax, edx
mov dword [ebx + 0x10], eax
nop dword [eax]
sub dword [ebp - 0x4c], 1
lea edx, [edx + 2]
movzx ecx, word [eax + edx - 2]
lea esi, [esi + 2]
mov eax, dword [edi + 0x158]
mov word [esi + eax - 0xa], cx
mov eax, dword [edi + 0x158]
movzx ecx, word [edx - 2]
mov word [esi + eax - 2], cx
mov eax, dword [ebx + 0x10]
jne 0x100240c0
mov eax, dword [ebx + 8]
cmp eax, dword [edi + 0x140]
jne 0x10023fc3
xor al, al
mov dword [ebp - 0x4c], 0xffffffff
mov byte [ebp - 0x31], al
nop dword [eax]
movzx eax, al
push 4
mov dword [ebp - 0x48], eax
mov esi, dword [edi + eax*4 + 0x84]
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002457f
push 4
add esi, 0xe5
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002457f
cmp byte [esi], al
je 0x1002457f
mov eax, dword [edi + 0x158]
mov ecx, dword [ebp - 0x80]
cmp byte [eax + ecx + 0x65], 2
jne 0x10024266
movaps xmm0, xmmword [0x10073d40]
xor ecx, ecx
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0x7a7c6174
mov word [ebp - 0x54], 0x487b
mov byte [ebp - 0x52], 0
nop
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x15
jb 0x10024180
xorps xmm0, xmm0
mov byte [ebp - 0x52], 0
lea ecx, [ebp - 0x67]
mov dword [ebp - 0x88], 0
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x84], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100241b5
sub ecx, edx
lea eax, [ebp - 0x67]
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.10004850
mov dword [ebp - 4], 0
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x100241f8
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100241f8
lea eax, [ebp - 0x98]
mov ecx, esi
push eax
call dword [0x100725a4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x10024239
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002422f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100249b1
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x1002425a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002425a
push 0xff5cb9fe
mov ecx, esi
call dword [0x100725ac]
mov dword [ebp - 0x4c], 0xff808080
jmp 0x10024365
mov cl, 0x2e
mov dword [ebp - 0x44], 0x407b752e
mov dword [ebp - 0x40], 0xe5c4b4a
xor eax, eax
mov dword [ebp - 0x3c], 0x73574f59
mov byte [ebp - 0x38], 0
xor byte [ebp + eax - 0x43], cl
inc eax
cmp eax, 0xb
jae 0x10024292
mov cl, byte [ebp - 0x44]
jmp 0x10024283
xorps xmm0, xmm0
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x43]
mov dword [ebp - 0x88], 0
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x84], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100242c0
sub ecx, edx
lea eax, [ebp - 0x43]
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.10004850
mov dword [ebp - 4], 1
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x10024303
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10024303
lea eax, [ebp - 0x98]
mov ecx, esi
push eax
call dword [0x100725a4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x10024344
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002433a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100249b1
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x10024365
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10024365
push 0xffc4fc03
mov ecx, esi
call dword [0x100725ac]
mov eax, dword [ebp - 0x48]
lea eax, [eax + eax*4]
mov esi, dword [edi + eax*4 + 0xb0]
mov dword [ebp - 0x6c], eax
test esi, esi
je 0x10024391
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10024391
push dword [ebp - 0x4c]
mov ecx, esi
call dword [0x100725ac]
imul edx, dword [ebp - 0x30], 0x34
xorps xmm0, xmm0
mov eax, dword [edi + 0x158]
mov byte [ebp - 0x78], 0x34
mov byte [ebp - 0x70], 0
mov byte [ebp - 0x70], 0
add edx, dword [ebp - 0x48]
mov dword [ebp - 0x9c], edx
movzx ecx, word [eax + edx*2 + 0x58]
movzx eax, word [eax + edx*2 + 0x50]
mov dl, 0x14
push ecx
push eax
mov al, 0x11
mov cl, 0x50
mov dh, al
mov byte [ebp - 0x4d], cl
xor al, byte [ebp - 0x78]
mov ch, dl
mov byte [ebp - 0x77], al
mov ah, 0x1b
mov al, byte [ebp - 0x78]
xor cl, al
xor dl, al
xor ch, al
mov byte [ebp - 0x75], dl
xor dh, al
mov byte [ebp - 0x76], cl
xor ah, al
mov byte [ebp - 0x72], dh
mov al, byte [ebp - 0x4d]
xor al, byte [ebp - 0x78]
sub esp, 0x18
mov edx, esp
mov byte [ebp - 0x73], ch
lea ecx, [ebp - 0x77]
mov byte [ebp - 0x74], ah
mov byte [ebp - 0x71], al
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 0x10024415
sub ecx, esi
lea eax, [ebp - 0x77]
push ecx
push eax
mov ecx, edx
call fcn.10004850
lea eax, [ebp - 0x98]
push eax
call fcn.100043f0
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 0xf
jbe 0x1002444a
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x58], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024464
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.10004850
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 3
lea eax, [eax + eax*4]
mov esi, dword [edi + eax*4 + 0xb4]
test esi, esi
je 0x100244a5
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100244a5
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call dword [0x100725a4]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x100244dd
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100244d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100249b1
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp ecx, 0xf
jbe 0x10024530
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10024526
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100249b1
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov eax, dword [edi + 0x158]
mov ecx, dword [ebp - 0x9c]
movzx esi, word [eax + ecx*2 + 0x50]
mov eax, dword [ebp - 0x6c]
mov eax, dword [edi + eax*4 + 0xb8]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x1002457f
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002457f
mov ecx, dword [ebp - 0x6c]
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 [0x1007259c]
mov al, byte [ebp - 0x31]
inc al
mov byte [ebp - 0x31], al
cmp al, 4
jb 0x10024110
jmp 0x10023fc3
mov cl, 0x32
mov dword [ebp - 0x44], 0x67691232
mov dword [ebp - 0x40], 0x4057565c
xor eax, eax
mov dword [ebp - 0x3c], 0x4b534512
mov word [ebp - 0x38], 0x6f
xor byte [ebp + eax - 0x43], cl
inc eax
cmp eax, 0xc
jae 0x100245c2
mov cl, byte [ebp - 0x44]
jmp 0x100245b3
lea eax, [ebp - 0x43]
mov byte [ebp - 0x37], 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.10008060
cmp dword [ebp - 0x18], 0xf
lea edx, [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0
cmova edx, dword [ebp - 0x2c]
mov ecx, edx
mov dword [ebp - 0x84], 0
movups xmmword [ebp - 0x98], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024600
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x98]
call fcn.10004850
mov esi, dword [ebp - 0x48]
mov byte [ebp - 4], 5
mov esi, dword [esi]
test esi, esi
je 0x1002463f
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002463f
lea eax, [ebp - 0x98]
mov ecx, esi
push eax
call dword [0x100725a4]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x1002467d
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10024673
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100249b1
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov eax, dword [ebp - 0x48]
mov esi, dword [eax]
test esi, esi
je 0x1002469e
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002469e
push dword [ebp - 0x80]
mov ecx, esi
call dword [0x100725ac]
mov eax, dword [edi + 0x158]
mov edx, dword [ebp - 0x30]
movaps xmm0, xmmword [0x10073670]
movups xmmword [ebp - 0x7c], xmm0
movzx ecx, byte [eax + edx + 0x64]
movzx eax, byte [eax + edx + 0x63]
push ecx
push eax
xor ecx, ecx
mov al, byte [ebp - 0x7c]
xor byte [ebp + ecx - 0x7b], al
inc ecx
cmp ecx, 0xe
jb 0x100246c0
sub esp, 0x18
mov byte [ebp - 0x6d], 0
mov edx, esp
lea ecx, [ebp - 0x7b]
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 0x100246f0
sub ecx, esi
lea eax, [ebp - 0x7b]
push ecx
push eax
mov ecx, edx
call fcn.10004850
lea eax, [ebp - 0xd0]
push eax
call fcn.100043f0
add esp, 0x24
mov edx, eax
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 0xf
jbe 0x10024722
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x58], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024740
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.10004850
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 7
mov esi, dword [eax - 4]
test esi, esi
je 0x1002477a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002477a
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call dword [0x100725a4]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x100247b2
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100247a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100249b1
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp ecx, 0xf
jbe 0x10024802
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100247f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100249b1
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov edx, dword [edi + 0x158]
lea ecx, [ebp - 0xd0]
add edx, dword [ebp - 0x30]
mov dx, word [edx + 0x60]
call fcn.10020500
mov edx, eax
mov byte [ebp - 4], 8
cmp dword [edx + 0x14], 0xf
jbe 0x10024828
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0xa8], 0
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0
movups xmmword [ebp - 0xb8], xmm0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024850
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xb8]
call fcn.10004850
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 9
mov esi, dword [eax + 8]
test esi, esi
je 0x10024890
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10024890
lea eax, [ebp - 0xb8]
mov ecx, esi
push eax
call dword [0x100725a4]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0xf
jbe 0x100248ce
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100248c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100249b1
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
cmp ecx, 0xf
jbe 0x10024927
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002491d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100249b1
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
cmp ecx, 0xf
jbe 0x10024979
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002496f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100249b1
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov eax, dword [ebp - 0x4c]
add dword [ebp - 0x30], 0x68
inc eax
mov dword [ebp - 0x4c], eax
cmp eax, dword [ebp - 0x6c]
jge 0x10024991
mov eax, dword [ebp - 0x48]
jmp 0x10023ff0
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.1003bf25
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.10041254
int3