Function at 0x10063190
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 0x1009eae0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x100b7040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4c], esi
movzx edi, word [ebx + 8]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x100b7b14
mov dword [ebp - 0x50], edi
call fcn.10008a60
mov eax, dword [ebp - 0x40]
mov ecx, dword [0x100b7b14]
cmp byte [eax + 0xd], 0
jne 0x10063207
cmp edi, dword [eax + 0x10]
jae 0x10063209
mov eax, ecx
cmp eax, ecx
jne 0x10063211
xor edx, edx
jmp 0x10063214
lea edx, [eax + 0x14]
test edx, edx
je 0x10063292
add edx, 4
cmp dword [edx + 0x14], 0xf
jbe 0x10063223
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10063240
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10002580
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x24]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x100633bc
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100633bc
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10063286
jmp 0x1006335c
mov byte [ebp - 0x48], 0x65
mov cl, 0x10
xor cl, byte [ebp - 0x48]
mov al, 0x59
xor al, byte [ebp - 0x48]
mov dl, 0xb
mov byte [ebp - 0x47], al
mov ch, dl
mov byte [ebp - 0x46], cl
mov dh, 0xa
mov cl, byte [ebp - 0x48]
mov ah, 0xe
mov byte [ebp - 0x2d], 0x12
xor dl, cl
mov al, byte [ebp - 0x2d]
xor dh, cl
xor al, cl
mov byte [ebp - 0x37], ch
mov byte [ebp - 0x41], al
xor ch, cl
mov al, byte [ebp - 0x37]
xor ah, cl
xor al, cl
mov byte [ebp - 0x2e], 0x5b
mov byte [ebp - 0x40], al
xorps xmm0, xmm0
mov al, byte [ebp - 0x2e]
xor al, cl
mov byte [ebp - 0x43], ch
lea ecx, [ebp - 0x47]
mov byte [ebp - 0x3e], 0
mov byte [ebp - 0x45], dl
mov byte [ebp - 0x42], dh
lea edx, [ecx + 1]
mov byte [ebp - 0x44], ah
mov byte [ebp - 0x3f], al
mov byte [ebp - 0x3e], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10063310
sub ecx, edx
lea eax, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002580
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x24]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x100633bc
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100633bc
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10063355
sub ecx, edx
mov dword [ebp - 0x34], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100810e9
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100831e0
add esp, 0xc
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x2c]
push dword [ebp - 0x34]
push edx
push esi
call fcn.10082c60
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebp - 0x50]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ae570]
push edi
call fcn.100810e4
mov esi, dword [ebp - 0x2c]
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x100633f3
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100633e9
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10063b4a
push ecx
push esi
call fcn.100810d6
add esp, 8
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov byte [ebp - 0x2d], 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x78], ecx
cmp eax, ecx
je 0x10063b22
nop dword [eax + eax]
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x3c], edi
movzx eax, ax
test edi, edi
je 0x10063b11
test ax, ax
je 0x10063b11
mov esi, dword [0x100ae4c0]
mov eax, 0x10624dd3
mul edi
mov ecx, 0xd78ae8
mov eax, edx
shr eax, 6
mov dword [ebp - 0x54], eax
imul eax, eax, 0x3e8
push eax
call fcn.10018420
mov ecx, eax
call esi
mov esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x10063723
xorps xmm0, xmm0
mov word [ebp - 0x38], 0x2d
lea ecx, [ebp - 0x37]
mov byte [ebp - 0x37], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10063490
sub ecx, edx
lea eax, [ebp - 0x37]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002580
mov eax, 0x12e0be83
mov byte [ebp - 4], 3
mov cl, byte [esi + 4]
mov esi, edi
mul edi
mov byte [ebp - 0x2e], cl
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 0x1d
cmp esi, 4
jae 0x10063564
cmp cl, 0x2d
jae 0x10063564
push 4
push 0xd78af0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10063564
sub esi, dword [ebp - 0x54]
movzx ecx, byte [ebp - 0x2e]
mov edx, dword [0x100ae4c4]
imul eax, esi, 0x3e8
mov ecx, dword [ecx*4 + 0xd78af0]
add eax, edi
push eax
call edx
mov edi, eax
mov esi, edi
test edi, edi
je 0x10063568
cmp dword [edi + 0x48], 0
je 0x10063568
push dword [ebp - 0x3c]
xor edx, edx
lea ecx, [ebp - 0x70]
push edi
call fcn.1000bc90
add esp, 8
lea ecx, [ebp - 0x2c]
push eax
call fcn.10005130
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10063560
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10063556
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10063b4a
push ecx
push edx
call fcn.100810d6
add esp, 8
mov esi, edi
jmp 0x100635b9
xor esi, esi
jmp 0x1006356b
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x70]
push edi
push 0
call fcn.1000bc90
add esp, 8
lea ecx, [ebp - 0x2c]
push eax
call fcn.10005130
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x100635b9
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100635af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10063b4a
push ecx
push edx
call fcn.100810d6
add esp, 8
movzx eax, byte [ebp - 0x2d]
lea edi, [eax + eax*2]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], edi
mov ecx, dword [eax + edi*8 + 0x3c]
test ecx, ecx
je 0x100636e0
add ecx, 4
lea edx, [ebp - 0x2c]
call fcn.100126c0
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + edi*8 + 0x3c]
mov dword [eax + 0x50], ecx
mov eax, dword [edx + edi*8 + 0x3c]
mov dword [eax + 0x54], esi
mov eax, dword [edx + edi*8 + 0x3c]
mov dword [eax + 0x58], 0
test esi, esi
je 0x1006360f
mov eax, dword [ebp - 0x34]
movsx ecx, word [esi + 0x56]
movsx eax, word [eax + 0x66]
add ecx, eax
jmp 0x10063613
movsx ecx, word [ecx + 0x66]
mov eax, dword [edx + edi*8 + 0x3c]
mov dword [eax + 0x5c], ecx
mov eax, dword [edx + edi*8 + 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x100636e0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], esi
test eax, eax
jne 0x100636ba
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10063650
sub ecx, edx
mov dword [ebp - 0x34], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100810e9
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100831e0
add esp, 0xc
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x3c]
push dword [ebp - 0x34]
push edx
push esi
call fcn.10082c60
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ae548]
push edi
call fcn.100810e4
mov esi, dword [ebp - 0x3c]
add esp, 4
mov edi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + edi*8 + 0x3c]
mov edi, dword [eax]
test edi, edi
je 0x100636e3
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100636e3
push 1
mov ecx, edi
call dword [0x100ae514]
jmp 0x100636e3
mov esi, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x10063999
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10063714
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10063b4a
push ecx
push esi
call fcn.100810d6
add esp, 8
jmp 0x10063999
lea eax, [edi - 1]
cmp eax, 0x5f5e0fe
ja 0x10063999
movzx eax, byte [ebp - 0x2d]
lea esi, [eax + eax*2]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], esi
mov dword [eax + esi*8 + 0x28], edi
mov edi, eax
cmp dword [edi + esi*8 + 0x3c], 0
je 0x10063977
movaps xmm0, xmmword [0x100af630]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x18425344
mov dword [ebp - 0x18], 0x424e52
nop word [eax + eax]
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x16
jb 0x10063770
xorps xmm0, xmm0
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x2b]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100637a0
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.10002580
mov byte [ebp - 4], 4
lea edx, [ebp - 0x70]
mov ecx, dword [edi + esi*8 + 0x3c]
add ecx, 4
call fcn.100126c0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10063801
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100637f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10063b4a
push ecx
push edx
call fcn.100810d6
add esp, 8
mov eax, dword [edi + esi*8 + 0x3c]
cmp dword [eax], 0
je 0x10063977
movaps xmm0, xmmword [0x100af1a0]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x7f253423
mov dword [ebp - 0x18], 0x252935
nop dword [eax]
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x16
jb 0x10063830
xorps xmm0, xmm0
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x2b]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10063860
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.10002580
mov byte [ebp - 4], 5
mov eax, dword [edi + esi*8 + 0x3c]
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x54], esi
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
test eax, eax
je 0x1006391a
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006391a
cmp dword [ebp - 0x5c], 0xf
lea ecx, [ebp - 0x70]
cmova ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100638b0
sub ecx, edx
mov dword [ebp - 0x34], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100810e9
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100831e0
add esp, 0xc
lea edx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x54]
push dword [ebp - 0x34]
push edx
push esi
call fcn.10082c60
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebp - 0x58]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ae548]
push edi
call fcn.100810e4
mov esi, dword [ebp - 0x54]
add esp, 4
mov edi, dword [ebp - 0x4c]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
cmp eax, 0xf
jbe 0x10063951
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10063947
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10063b4a
push ecx
push esi
call fcn.100810d6
add esp, 8
mov eax, dword [ebp - 0x3c]
mov eax, dword [edi + eax*8 + 0x3c]
mov esi, dword [eax]
test esi, esi
je 0x10063974
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10063974
push eax
mov ecx, esi
call dword [0x100ae514]
mov esi, dword [ebp - 0x3c]
mov esi, dword [edi + esi*8 + 0x38]
test esi, esi
je 0x10063999
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10063999
lea ecx, [esi + 0xd0]
mov dl, 2
call fcn.10018350
mov eax, dword [ebp - 0x74]
mov dl, 0xf
movss xmm1, dword [0x100ae940]
sub esp, 0x20
movzx eax, ax
mov cl, 0x13
mov byte [ebp - 0x48], 0x3d
mov ch, 0x5b
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x40], 0
movd xmm0, eax
mov al, 0x18
cvtdq2ps xmm0, xmm0
mov dh, al
mov ah, 0x51
xor al, byte [ebp - 0x48]
mov byte [ebp - 0x47], al
mov al, byte [ebp - 0x48]
mov byte [ebp - 0x2e], dh
xor dl, al
divss xmm0, xmm1
xor dh, al
mov byte [ebp - 0x45], dl
xor cl, al
mov byte [ebp - 0x42], dh
xor ch, al
mov byte [ebp - 0x46], cl
mov edx, esp
mov byte [ebp - 0x43], ch
xor ah, al
lea ecx, [ebp - 0x47]
mov al, byte [ebp - 0x2e]
lea esi, [ecx + 1]
xor al, byte [ebp - 0x48]
mov byte [ebp - 0x44], ah
mov byte [ebp - 0x41], al
minss xmm1, xmm0
cvtps2pd xmm0, xmm1
movss dword [ebp - 0x74], xmm1
movsd qword [esp + 0x18], xmm0
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10063a30
sub ecx, esi
lea eax, [ebp - 0x47]
push ecx
push eax
mov ecx, edx
call fcn.10002580
lea eax, [ebp - 0x70]
push eax
call fcn.1000a310
add esp, 0x24
mov esi, dword [ebp - 0x4c]
mov edx, eax
mov byte [ebp - 4], 6
movzx edi, byte [ebp - 0x2d]
lea ecx, [edi + edi*2]
mov ecx, dword [esi + ecx*8 + 0x30]
call fcn.10018260
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10063aa2
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10063a98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10063b4a
push ecx
push edx
call fcn.100810d6
add esp, 8
lea eax, [edi + edi*2]
mov dword [ebp - 0x60], 0
mov esi, dword [esi + eax*8 + 0x34]
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
test esi, esi
je 0x10063ae9
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10063ae9
movss xmm0, dword [ebp - 0x74]
sub esp, 0xc
mov ecx, esi
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x100ae55c]
mov eax, dword [ebp - 0x4c]
mov esi, dword [eax + edi*4 + 0xc]
test esi, esi
je 0x10063b0b
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10063b0b
push 1
mov ecx, esi
call dword [0x100ae514]
inc byte [ebp - 0x2d]
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x50]
add eax, 8
mov dword [ebp - 0x50], eax
cmp eax, ecx
jne 0x10063410
lea ecx, [ebx + 0xc]
call fcn.10056090
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.10081075
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.1008626f
int3