Function at 0x10061bf0
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 0x1009f890
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, 0x100b7b3c
mov dword [ebp - 0x50], edi
call fcn.100095a0
mov eax, dword [ebp - 0x40]
mov ecx, dword [0x100b7b3c]
cmp byte [eax + 0xd], 0
jne 0x10061c67
cmp edi, dword [eax + 0x10]
jae 0x10061c69
mov eax, ecx
cmp eax, ecx
jne 0x10061c71
xor edx, edx
jmp 0x10061c74
lea edx, [eax + 0x14]
test edx, edx
je 0x10061cf2
add edx, 4
cmp dword [edx + 0x14], 0xf
jbe 0x10061c83
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 0x10061ca0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10002540
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x24]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x10061e1c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10061e1c
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 0x10061ce6
jmp 0x10061dbc
mov byte [ebp - 0x48], 0xf
mov cl, 0x7a
xor cl, byte [ebp - 0x48]
mov al, 0x33
xor al, byte [ebp - 0x48]
mov dl, 0x61
mov byte [ebp - 0x47], al
mov ch, dl
mov byte [ebp - 0x46], cl
mov dh, 0x60
mov cl, byte [ebp - 0x48]
mov ah, 0x64
mov byte [ebp - 0x2d], 0x78
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], 0x31
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 0x10061d70
sub ecx, edx
lea eax, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002540
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x24]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x10061e1c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10061e1c
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 0x10061db5
sub ecx, edx
mov dword [ebp - 0x34], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fa59
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10081b50
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.100815d0
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 [0x100ae5a8]
push edi
call fcn.1007fa54
mov esi, dword [ebp - 0x2c]
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x10061e53
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10061e49
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100625aa
push ecx
push esi
call fcn.1007fa46
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 0x10062582
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 0x10062571
test ax, ax
je 0x10062571
mov esi, dword [0x100ae504]
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.100184a0
mov ecx, eax
call esi
mov esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x10062183
xorps xmm0, xmm0
mov word [ebp - 0x38], 0x3e
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 0x10061ef0
sub ecx, edx
lea eax, [ebp - 0x37]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002540
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 0x10061fc4
cmp cl, 0x2d
jae 0x10061fc4
push 4
push 0xd78af0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10061fc4
sub esi, dword [ebp - 0x54]
movzx ecx, byte [ebp - 0x2e]
mov edx, dword [0x100ae508]
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 0x10061fc8
cmp dword [edi + 0x48], 0
je 0x10061fc8
push dword [ebp - 0x3c]
xor edx, edx
lea ecx, [ebp - 0x70]
push edi
call fcn.1000c7d0
add esp, 8
lea ecx, [ebp - 0x2c]
push eax
call fcn.10005c60
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10061fc0
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10061fb6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100625aa
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov esi, edi
jmp 0x10062019
xor esi, esi
jmp 0x10061fcb
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x70]
push edi
push 0
call fcn.1000c7d0
add esp, 8
lea ecx, [ebp - 0x2c]
push eax
call fcn.10005c60
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10062019
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006200f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100625aa
push ecx
push edx
call fcn.1007fa46
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 0x10062140
add ecx, 4
lea edx, [ebp - 0x2c]
call fcn.10012d00
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 0x1006206f
mov eax, dword [ebp - 0x34]
movsx ecx, word [esi + 0x56]
movsx eax, word [eax + 0x66]
add ecx, eax
jmp 0x10062073
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 0x10062140
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 0x1006211a
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 0x100620b0
sub ecx, edx
mov dword [ebp - 0x34], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fa59
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10081b50
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.100815d0
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 [0x100ae580]
push edi
call fcn.1007fa54
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 0x10062143
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10062143
push 1
mov ecx, edi
call dword [0x100ae54c]
jmp 0x10062143
mov esi, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x100623f9
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10062174
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100625aa
push ecx
push esi
call fcn.1007fa46
add esp, 8
jmp 0x100623f9
lea eax, [edi - 1]
cmp eax, 0x5f5e0fe
ja 0x100623f9
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 0x100623d7
movaps xmm0, xmmword [0x100af190]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x6b312037
mov dword [ebp - 0x18], 0x313d21
nop word [eax + eax]
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x16
jb 0x100621d0
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 0x10062200
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.10002540
mov byte [ebp - 4], 4
lea edx, [ebp - 0x70]
mov ecx, dword [edi + esi*8 + 0x3c]
add ecx, 4
call fcn.10012d00
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10062261
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10062257
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100625aa
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov eax, dword [edi + esi*8 + 0x3c]
cmp dword [eax], 0
je 0x100623d7
movaps xmm0, xmmword [0x100af9c0]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x104a5b4c
mov dword [ebp - 0x18], 0x4a465a
nop dword [eax]
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x16
jb 0x10062290
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 0x100622c0
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.10002540
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 0x1006237a
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006237a
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 0x10062310
sub ecx, edx
mov dword [ebp - 0x34], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fa59
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10081b50
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.100815d0
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 [0x100ae580]
push edi
call fcn.1007fa54
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 0x100623b1
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100623a7
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100625aa
push ecx
push esi
call fcn.1007fa46
add esp, 8
mov eax, dword [ebp - 0x3c]
mov eax, dword [edi + eax*8 + 0x3c]
mov esi, dword [eax]
test esi, esi
je 0x100623d4
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100623d4
push eax
mov ecx, esi
call dword [0x100ae54c]
mov esi, dword [ebp - 0x3c]
mov esi, dword [edi + esi*8 + 0x38]
test esi, esi
je 0x100623f9
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100623f9
lea ecx, [esi + 0xd0]
mov dl, 2
call fcn.100183d0
mov eax, dword [ebp - 0x74]
mov dl, 0x29
movss xmm1, dword [0x100ae938]
sub esp, 0x20
movzx eax, ax
mov cl, 0x35
mov byte [ebp - 0x48], 0x1b
mov ch, 0x7d
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x40], 0
movd xmm0, eax
mov al, 0x3e
cvtdq2ps xmm0, xmm0
mov dh, al
mov ah, 0x77
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 0x10062490
sub ecx, esi
lea eax, [ebp - 0x47]
push ecx
push eax
mov ecx, edx
call fcn.10002540
lea eax, [ebp - 0x70]
push eax
call fcn.1000ae50
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.100182e0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10062502
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100624f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100625aa
push ecx
push edx
call fcn.1007fa46
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 0x10062549
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10062549
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 [0x100ae594]
mov eax, dword [ebp - 0x4c]
mov esi, dword [eax + edi*4 + 0xc]
test esi, esi
je 0x1006256b
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006256b
push 1
mov ecx, esi
call dword [0x100ae54c]
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 0x10061e70
lea ecx, [ebx + 0xc]
call fcn.10054ae0
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.1007f9e5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.10084bdf
int3